// Display A Sprite In PAL_MODE // This is a combined file with pad routines from Nelson Santos/ROGUE // and Sprite.c from Ira Rainey // ----------------------------------------------- // Includes // ----------------------------------------------- #include #include "rougepad.h" // Include the rougepad.h header file // ----------------------------------------------- // Defines // ----------------------------------------------- // Total number of sprites plus one #define SPRITE_CNT (1+1) // Screen size detail #define SCREEN_WIDTH 320 #define SCREEN_HEIGHT 240 // Tim address // Load your TIM file here #define spriteAdd 0x80100000 // Set ordering table length #define OT_LENGTH 1 // ----------------------------------------------- // Function Prototypes // ----------------------------------------------- void InitSprite (); // ----------------------------------------------- // Initialise Structures // ----------------------------------------------- // Ordering table variables GsOT WorldOT[2]; GsOT_TAG OTTags[2][1<