X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=c7270d93f77540db4e19f1bd2392db493551e3ec;hb=6357574062edeea7adf7b5522687309001100e82;hp=de973c7316d69a9516a58c8bd505d6e5e069fe07;hpb=05f79aac9452f5666ee6dc712637adc1d9ae6b7a;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index de973c73..c7270d93 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -30,6 +30,7 @@ struct ProgramInfo program; struct NetworkInfo network; +struct RuntimeInfo runtime; struct OptionInfo options; struct VideoSystemInfo video; struct AudioSystemInfo audio; @@ -114,6 +115,11 @@ void InitNetworkInfo(boolean enabled, boolean connected, boolean serveronly, network.server_port = server_port; } +void InitRuntimeInfo() +{ + runtime.uses_touch_device = FALSE; +} + void InitScoresInfo(void) { char *global_scores_dir = getPath2(getCommonDataDir(), SCORES_DIRECTORY); @@ -311,6 +317,8 @@ void InitGfxCustomArtworkInfo(void) void InitGfxOtherSettings(void) { gfx.cursor_mode = CURSOR_DEFAULT; + gfx.mouse_x = 0; + gfx.mouse_y = 0; } void InitTileCursorInfo(void)