X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=e5c96d316eb7b89aa1394a712d3199ba14a67ddd;hp=72a0754e1b5b5e5ab54904abce54b023eb03d760;hb=b6dd2f35e987ab55a904deff37194ee8507c7d7a;hpb=aa77ac7ad31e0a9ab20bb85b51e429cd45f12455 diff --git a/src/libgame/system.h b/src/libgame/system.h index 72a0754e..e5c96d31 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -941,13 +941,14 @@ struct GfxInfo struct OverlayInfo { - boolean active; + boolean enabled; /* overlay generally enabled or disabled */ + boolean active; /* overlay activated (depending on game mode) */ }; struct JoystickInfo { int status; - int fd[MAX_PLAYERS]; /* file descriptor of player's joystick */ + int nr[MAX_PLAYERS]; /* joystick number for each player */ }; struct SetupJoystickInfo @@ -1469,6 +1470,7 @@ void InitGfxDrawGlobalBorderFunction(void (*draw_global_border_function)(int)); void InitGfxCustomArtworkInfo(); void InitGfxOtherSettings(); void InitOverlayInfo(); +void SetOverlayEnabled(boolean); void SetOverlayActive(boolean); boolean GetOverlayActive(); void SetDrawDeactivationMask(int); @@ -1547,5 +1549,6 @@ boolean CheckCloseWindowEvent(ClientMessageEvent *); void InitJoysticks(); boolean ReadJoystick(int, int *, int *, boolean *, boolean *); boolean CheckJoystickOpened(int); +void ClearJoystickState(); #endif /* SYSTEM_H */