// 8-bit sprite viewer, this displays a 320*240 tim file using two GsSPRITE structures // Author : Paul Bircham [Doodle] // Date : 20/7/98 // Notice : Please feel free to use this source, or parts in your program // Contact : If you have any questions about this program feel free to e-mail me at doodlek@globalnet.co.uk // with any of your questions and I will try and answer them #include #include "pad.h" #define SCREEN_W (320) // Screen resolution variables. #define SCREEN_H (240) #define VIDMODE (MODE_PAL) #define SpriteAdd (0x80090000) // memory address of sprite #define OT_LENGTH 1 //Ordering Table length // PROTOTYPE FUNCTIONS void InitGraphics(); void InitOTs(); void InitControllers() ; void InitBgImage(); // GLOBALS AND SYSTEM RELATED STUFF GsOT WorldOT[2]; GsOT_TAG OTTags[2][1<