b8 @ 60@.text 8 .rdata 8 80 X.dataP8P8PX@.sdata99Y.sbssp:p:.bss::@@,ď <`4d@ȯȏ! *'#C,Ïd$ <`4d@ȯȏ! *'#C,Ïd$ <`4d@ȯȏ! *'#C C$ï,Ïb$! @0ŏ Ïb0)@,ÏdD,ď$dD,ď$dDC$ïÏb0@,Ïb$! @0ŏ 0ď,ŏn Ïb0@,ÏdD,ď$dD,ď$d D C$ï,Ïb$0ďb !(@e@Cb0ďŏ !0@! @(ŏ= !0e$+CC `C4bV(CH`Ïb$!@gïC$ïďE 4¯(Ïb4ÏdHDe@@$ Cďŏ  ďŏ eÏb0e@Ïb0<@!@Ï! `ď #include #include "pad.h" // pad controller functions #include "tod.h" // definition for TOD functions #include "IDLists.h" // TMD ID list #include "graphics.h" // anything to do with display objects #include "addrs.h" // memory addresses of TMDS and TODS // DEFINES //------------ // PROTOTYPES //------------ void UpdateWorld(); void RenderWorld(); long ProcessInput(); // GLOBALS //---------- u_long pad; // For controller GsRVIEW2 view; // For viewing LinkObjectStruct theModel; // The instance of the model object ////////////////////////////////////////////////////////////////////////////////// // Updates everything in the world. void UpdateWorld() { } // Renders the graphics in the // world. void RenderWorld() { RenderPrepare(); DrawObjectLink(theModel.objs); RenderFinish(); } // Processes all user input. long ProcessInput() { /* Read the pad data */ pad = PadRead(); if((pad & PADRright) > 0) ResetAnim(&theModel,0); if((pad & PADRleft) > 0) ResetAnim(&theModel,1); if((pad & PADRdown) > 0) NextFrame(&theModel,TRUE); //if ((pad & PADo) >0){ view.vpz -= 100; GsSetRefView2(&view); } if ((pad & PADLleft) >0){MoveModel(&theModel.Object_Coord,10,0,0); } if ((pad & PADLright)>0){MoveModel(&theModel.Object_Coord,-10,0,0);} if ((pad & PADLdown)>0) {MoveModel(&theModel.Object_Coord,0,10,0); } if ((pad & PADLup)>0) {MoveModel(&theModel.Object_Coord,0,-10,0);} if ((pad & PADh)>0) InitialiseView(&view,100,0,-2000,-4000,-5000,0,0,0); if ((pad & PADk)>0) return FALSE; return TRUE; } ////////////////////////////////////////////////////////// // Main routine //-------------- void main() { long running=TRUE; PadInit(); Initialise3DGraphics(); InitialiseView(&view,100,0,0,-2000,-4000,0,0,0); InitialiseLights(); InitialiseModelLink(&theModel,1,0,0,0,@  M!bTC$bÏ! `!bTC$Ï! `! bT$Ïď!( !Td$$! `DÏ! `! bl$Ïď!( !(T$d$eCÏ! `! bt$Ïď!( !Td$$dD ÏC!''! į$ů  Ï$ď!( !Td$\C $Ï! `! bt$ Ï ď$ Ǐ ďP$D\e Ï\b DEF  Ï$ď!( !td$hC $Ï`C! ''! į$ů  Ï\d$ddD dCb$ Ï ď`! (! l$ ď ŏ`!(0! t$c!d*C'@  Ï ď$ Ǐ ďP$dD\e Ï\b DEF  ÏddhD!$$ C  ď`EP !$! ''$b