X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsystem.c;h=5443e87da6ebd560a3ef446c8f45d4f107b4ed15;hb=67b32ebb347487d2d3a9d926ad8d1c4ed3d9aec6;hp=98ccd70cafb02341a04ba4f367c82bf0d5251621;hpb=bf9e47bb97f16c998644758a383209fa4d4fc87b;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 98ccd70c..5443e87d 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -33,6 +33,7 @@ struct OptionInfo options; struct VideoSystemInfo video; struct AudioSystemInfo audio; struct GfxInfo gfx; +struct OverlayInfo overlay; struct ArtworkInfo artwork; struct JoystickInfo joystick; struct SetupInfo setup; @@ -270,6 +271,21 @@ void InitGfxOtherSettings() gfx.cursor_mode = CURSOR_DEFAULT; } +void InitOverlayInfo() +{ + overlay.active = FALSE; +} + +void SetOverlayActive(boolean active) +{ + overlay.active = active; +} + +boolean GetOverlayActive() +{ + return overlay.active; +} + void SetDrawDeactivationMask(int draw_deactivation_mask) { gfx.draw_deactivation_mask = draw_deactivation_mask;