sdk commands

Archives Forums/Blitz3D SDK Programming/sdk commands

Panno(Posted 2007) [#1]
hi,

mark wrote :


The Blitz3D SDK supports most of the commands included in Blitz3D.....

Anybody knows the unsupportet commands ?


Avon(Posted 2007) [#2]
Erm... I only know one off the top of my head.

Although "CreateListener" and "EmitSound" are included, "Load3DSound" is not.


H&K(Posted 2007) [#3]
if


ZJP(Posted 2007) [#4]
What about the BANK commands ?


Avon(Posted 2007) [#5]
BlitzMax already has full BANK support, so it's a simple matter of adapting Blitz3D usage to BlitzMax's. Most of the commands are very similar though:

CreateBank
CopyBank
BankSize

etc.

skidracer provided a one line substitue for FreeBank, which is missing:
Function FreeBank(bank Var);Release(bank);bank=0;Return 0;End Function



ZJP(Posted 2007) [#6]
Blitzmax, Blitzmax,Blitzmax!!! Maybe B3DSDK is (in fact) a BlitzMax 3D Engine. :-(

And Bank with DevC++ ?


Dreamora(Posted 2007) [#7]
Bank is a language feature, not one of the 3D commands.

if you use C / C++ use either arrays or malloc / calloc and free to allocate a continuous block of X bytes and fill it like a bank.

PS there is no peek and poke, you just write into the area or read from it


Avon(Posted 2007) [#8]
Blitzmax, Blitzmax,Blitzmax!!! Maybe B3DSDK is (in fact) a BlitzMax 3D Engine. :-(

And Bank with DevC++ ?

Hey - I was just trying to be helpful. You did not SPECIFY which language you meant. You simply said:
What about the BANK commands ?

There is no need to have that attitude when someone tries to help.


ZJP(Posted 2007) [#9]
Sorry

"if you use C / C++ use either arrays or malloc / calloc and free to allocate a continuous block of X bytes and fill it like a bank" Indee !!


Xzider(Posted 2007) [#10]
I couldnt find PointEntity


H&K(Posted 2007) [#11]
Its under "Rotation" or you could have just typed bbPointEntity and then F1'd it

bbPointEntity entity,target[,roll#]
Arguments entity entity handle
target target entity handle
roll# roll angle of entity

Description Points one entity at another by adjusting its pitch and yaw rotations.

The optional roll parameter allows you to specify a rotation around the z axis to complete the rotation.

Use the bbAlignToVector command for aiming an entity (typically its z axis) using a specified alignment vector and smoothing rate.

Invisible pivot entities make useful targets for pointing an entity towards any arbitrary direction.

Interfaces BBSDK_API void bbPointEntity( BBEntity e,BBEntity t,float roll=0 );
public static int bb.PointEntity(int entity,int target,float roll)
public static int bb.PointEntity(int entity,int target)


See Also bbAlignToVector