//---------------------------------------------------------------------------------------------------------------- // FILE: main.h // AUTHOR: Shaun Gibson // FILE-GROUP: Fading tutorial //---------------------------------------------------------------------------------------------------------------- #ifndef _MAIN_H #define _MAIN_H //---------------------------------------------------------------------------------------------------------------- // DEFINES //---------------------------------------------------------------------------------------------------------------- #define SCREEN_WIDTH 320 // PAL screen resolution #define SCREEN_HEIGHT 256 #define SPOT_ADDR 0x80090000 // address the spotlight sprite is loaded to in memory #define OT_LENGTH 2 // length of ordering table, define here so it can be easily changed #define NUM_BOXES 8 // number of background objects //---------------------------------------------------------------------------------------------------------------- // GLOBAL VARIABLES //---------------------------------------------------------------------------------------------------------------- extern GsOT WorldOT[2]; extern GsOT_TAG OT_TAGS[2][1<