X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=f45e87e8b91885bcc78e371a288891a35a357408;hb=7b3e068e43bcfeb38ce390d5d1c3b1a13c81cb55;hp=eec5d192960ac9e784d5232ad8e47ef5ccb90dc1;hpb=e994e84be9f30f8d6ae6dc8951d53340dab2466f;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index eec5d192..f45e87e8 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -247,6 +247,11 @@ void InitGfxCustomArtworkInfo() gfx.draw_init_text = TRUE; } +void InitGfxOtherSettings() +{ + gfx.cursor_mode = CURSOR_DEFAULT; +} + void SetDrawDeactivationMask(int draw_deactivation_mask) { gfx.draw_deactivation_mask = draw_deactivation_mask; @@ -1262,6 +1267,8 @@ void SetMouseCursor(int mode) mode == CURSOR_PLAYFIELD ? cursor_playfield : NULL); SDLSetMouseCursor(cursor_new); + + gfx.cursor_mode = mode; }