/*************************************************************** main.c - run bva motion capture files ====== ***************************************************************/ #include #include #include #include "pad.h" #include "addrs.h" #include "step7.h" #include "motion.h" // Create an array of PlayerStruct to hold segments PlayerStruct TheSegments[TOTAL_SEGMENTS]; // We need a viewing system for 3D graphics GsRVIEW2 ViewPoint; u_long PADstatus=0; u_long GameRunning=TRUE; u_long VerticalSync; int xval=-700; int viewRot=4096*180; /************* Function prototypes ***********/ void RenderWorld(); // This function deals with double buffering and drawing of 3D objects void RenderWorld() { int i; RenderPrepare(); for (i=0;i