
#ifdef __cplusplus
extern "C" {
#endif
extern int use_scale2x;
extern int recording_video,video_fps,last_video_frame;
extern BITMAP *GameBitmap; 	// *Full* Bitmap for generating the game screen (eg. 0,0 to 320+32,240+32)
extern BITMAP *GameViewBitmap; 	// *Viewable* Bitmap for saving (pcx) the game screen (eg. 16,16 to 320+16,240+16)

extern UINT32 pause_time;

void get_screen_coordinates(int *Xoff2,int *Yoff2, int *Destx, int *Desty, int *Xxx, int *Yyy);

#ifdef TRIPLE_BUFFER

void reset_triple_buffer(void);

#endif

/*

bitmap handling

*/

void SetupScreenBitmap(void);

void DestroyScreenBitmap(void);

void ReClipScreen(void);

void clear_game_screen(int pen);
void DrawNormal(void);
void InitDrawPaused(void);
void InitDrawPaused(void);
void EndDrawPaused(void);
void DrawPaused(void);


#ifdef __cplusplus
}
#endif
