oops heres the rest of the code
;thursday,feburary 14,2008 ;R. Manwiller Include "DevilShadowSystem.bb" Include "ShadowVolumes.bb" Include "UserInterface.bb" Graphics3D 1280,1024,128,2 SetBuffer BackBuffer() AppTitle "BATTLE CART" HidePointer frametimer=CreateTimer(60) Type char Field e,x,y,z,fx,fy,fz,i,hp,wins End Type Type item Field e,i_type,x,y,z,prob End Type Type gbox Field e,x,y,z,i,time End Type Include "globals.bb" Const player=1,pickup=2,goodie=3,world=4,bottom=5 Collisions player,world,2,2 Collisions player,pickup,2,2 Collisions player,goodie,2,2 Collisions player,bottom,2,2 loadlevel() loadplayer() While Not KeyHit(1) updateplayer() ;updateitems() updatelevel() updatecam() Render(2,1) UpdateWorld Text 0,0,TrisRendered(),0,0 WaitTimer frametimer Flip Wend End Include "data.bb" Include "functions.bb"