// Graphics.h - header file for the common graphics routines #ifndef __PETER_GRAPHICS_H #define __PETER_GRAPHICS_H #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif #include ///////////// function defintions void InitGraphics( int nScreenWidth, int nScreenHeight); GsOT * NewFrame( int bClearScreen ); GsOT * CurrentOT(); void EndFrame() ; void SetupSprite( GsSPRITE * Sprite, GsIMAGE * Image, u_long * ImageData ); void SetupBackGroundSprites( GsSPRITE * Background1, GsSPRITE * Background2, GsIMAGE * Image, u_long * ImageData ); #endif