struct ProgramInfo program;
struct NetworkInfo network;
+struct RuntimeInfo runtime;
struct OptionInfo options;
struct VideoSystemInfo video;
struct AudioSystemInfo audio;
network.server_port = server_port;
}
+void InitRuntimeInfo()
+{
+ runtime.uses_touch_device = FALSE;
+}
+
void InitScoresInfo(void)
{
char *global_scores_dir = getPath2(getCommonDataDir(), SCORES_DIRECTORY);
void InitGfxOtherSettings(void)
{
gfx.cursor_mode = CURSOR_DEFAULT;
+ gfx.mouse_x = 0;
+ gfx.mouse_y = 0;
}
void InitTileCursorInfo(void)
#endif
}
-boolean CheckCloseWindowEvent(ClientMessageEvent *event)
-{
- if (event->type != EVENT_CLIENTMESSAGE)
- return FALSE;
-
- return TRUE; // the only possible message here is SDL_QUIT
-}
-
// ============================================================================
// joystick functions