CodeBase - Media Tool Kit

Return to the CodeBase listing

Category: Functions

Version: 1.0

0
0

Information

Uploaded: 1st Sep 2003 20:04

Modified: 1st Jan 1970 01:00

Author:  Dr OcCuLt

Summary

lets you have open values for media indexs

Full Description

************** 3D tool kit ****************<br /> <br /> NEW_OBJ() as Integer <br /> THIS return the value of the next free OBJECT number in DarkBasic.<br /> <br /> NEW_MESH() as Integer <br /> THIS return the value of the next free MESH number in DarkBasic.<br /> <br /> NEW_LIMB(target as Integer )<br /> THIS return the value of the next free LIMB number on the target OBJECT.<br /> where target as Integer is the OBJECT number of the target.<br /> <br /> NEW_PARTICLE() as Integer <br /> THIS return the value of the next free PARTICLE number in DarkBasic.<br /> <br /> MAKE_LIMB(target as Integer,file AS STRING ) as Integer<br /> this add a LIMB a to target OBJECT from a OBJECT file.<br /> where target as Integer is the OBJECT number of the target.<br /> and file AS STRING is a the name and path of the OBJECT file.<br /> it return the value of the of the limb numberof the new limb.<br /> <br /> MAKE_LIMB_LO(target as Integer,Obj as Integer ) as Integer <br /> this add a LIMB a to target OBJECT from a OBJECT second.<br /> where target as Integer is the OBJECT number of the target.<br /> and Obj as Integer is a the OBJECT number of the second OBJECT.<br /> it return the value of the of the limb numberof the new limb.<br /> <br /> MAKE_LIMBFROMMASH(t as Integer,file AS STRING ) as Integer <br /> this add a LIMB a to target OBJECT from a MASH file.<br /> where target as Integer is the OBJECT number of the target.<br /> and file AS STRING is a the name and path of the MASH file.<br /> it return the value of the of the limb numberof the new limb.<br /> <br /> MAKE_OBJ(file AS STRING,SKIN AS STRING ) as Integer <br /> this makes an OBJECT out of a MASH file and a bitmap file.<br /> where file AS STRING is a the name and path of the MASH file.<br /> where skin AS STRING is a the name and path of the bitmap file.<br /> it return the value of the of the OBJECT numberof the new OBJECT.<br /> <br /> ************** 2D tool kit ***************<br /> NEW_IMG() as Integer <br /> THIS return the value of the next free IMAGE number in DarkBasic.<br /> <br /> NEW_SPRITE() as Integer <br /> THIS return the value of the next free SPRITE number in DarkBasic.<br /> <br /> ************ SOUND TOOL KIT ******************<br /> <br /> FUNCTION NEW_SOUND() as Integer <br /> THIS return the value of the next free SOUND number in DarkBasic,over 100.<br /> <br /> FUNCTION NEW_TEMPSOUND() as Integer <br /> THIS return the value of the next free SOUND number in DarkBasic,under 100.<br /> it will DELETE any sound that are not playing.<br /> <br /> ********************* SYSTEM TOOLKIT ****************<br /> <br /> NEW_FILE() as Integer <br /> THIS return the value of the next free FILE number in DarkBasic.<br /> <br /> NEW_MEMBLOCK() as Integer <br /> THIS return the value of the next free MEMBLOCK number in DarkBasic.

Comments

No comments yet.