54 extern bool _fullscreen;
 
   55 extern byte _support8bpp;
 
   59 extern byte _fast_forward;
 
   75 void HandleTextInput(
const char *str, 
bool marked = 
false, 
const char *caret = NULL, 
const char *insert_location = NULL, 
const char *replacement_end = NULL);
 
   78 void CSleep(
int milliseconds);
 
   81 void DrawMouseCursor();
 
   82 void ScreenSizeChanged();
 
   84 void UndrawMouseCursor();
 
   89 void RedrawScreenRect(
int left, 
int top, 
int right, 
int bottom);
 
   90 void GfxScroll(
int left, 
int top, 
int width, 
int height, 
int xo, 
int yo);
 
  122 void GfxDrawLine(
int left, 
int top, 
int right, 
int bottom, 
int colour, 
int width = 1, 
int dash = 0);
 
  123 void DrawBox(
int x, 
int y, 
int dx1, 
int dy1, 
int dx2, 
int dy2, 
int dx3, 
int dy3);
 
  140 void GfxInitPalettes();
 
  153 bool ChangeResInGame(
int w, 
int h);
 
  154 void SortResolutions(
int count);
 
  155 bool ToggleFullScreen(
bool fs);
 
  165 #define FONT_HEIGHT_SMALL  (GetCharacterHeight(FS_SMALL)) 
  168 #define FONT_HEIGHT_NORMAL (GetCharacterHeight(FS_NORMAL)) 
  171 #define FONT_HEIGHT_LARGE  (GetCharacterHeight(FS_LARGE)) 
  174 #define FONT_HEIGHT_MONO  (GetCharacterHeight(FS_MONO)) 
  193 #define GREY_SCALE(level) (level)