54 extern bool _fullscreen;
55 extern byte _support8bpp;
59 extern byte _fast_forward;
77 void HandleTextInput(
const char *str,
bool marked =
false,
const char *caret = NULL,
const char *insert_location = NULL,
const char *replacement_end = NULL);
80 void CSleep(
int milliseconds);
83 void DrawMouseCursor();
84 void ScreenSizeChanged();
86 void UndrawMouseCursor();
91 void RedrawScreenRect(
int left,
int top,
int right,
int bottom);
92 void GfxScroll(
int left,
int top,
int width,
int height,
int xo,
int yo);
124 void GfxDrawLine(
int left,
int top,
int right,
int bottom,
int colour,
int width = 1,
int dash = 0);
125 void DrawBox(
int x,
int y,
int dx1,
int dy1,
int dx2,
int dy2,
int dx3,
int dy3);
142 void GfxInitPalettes();
154 bool ChangeResInGame(
int w,
int h);
155 void SortResolutions(
int count);
156 bool ToggleFullScreen(
bool fs);
166 #define FONT_HEIGHT_SMALL (GetCharacterHeight(FS_SMALL))
169 #define FONT_HEIGHT_NORMAL (GetCharacterHeight(FS_NORMAL))
172 #define FONT_HEIGHT_LARGE (GetCharacterHeight(FS_LARGE))
175 #define FONT_HEIGHT_MONO (GetCharacterHeight(FS_MONO))
194 #define GREY_SCALE(level) (level)