sdk commands
Archives Forums/Blitz3D SDK Programming/sdk commands
| ||
hi, mark wrote : The Blitz3D SDK supports most of the commands included in Blitz3D..... Anybody knows the unsupportet commands ? |
| ||
Erm... I only know one off the top of my head. Although "CreateListener" and "EmitSound" are included, "Load3DSound" is not. |
| ||
if |
| ||
What about the BANK commands ? |
| ||
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 |
| ||
Blitzmax, Blitzmax,Blitzmax!!! Maybe B3DSDK is (in fact) a BlitzMax 3D Engine. :-( And Bank with DevC++ ? |
| ||
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 |
| ||
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. |
| ||
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 !! |
| ||
I couldnt find PointEntity |
| ||
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 |