#define SCORES_DIRECTORY "scores"
#define DOCS_DIRECTORY "docs"
#define CACHE_DIRECTORY "cache"
+#define CONF_DIRECTORY "conf"
#define GFX_CLASSIC_SUBDIR "gfx_classic"
#define SND_CLASSIC_SUBDIR "snd_classic"
char *sounds_directory;
char *music_directory;
char *docs_directory;
+ char *conf_directory;
char *execute_command;
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
void InitGfxCustomArtworkInfo();
void InitGfxOtherSettings();
void InitOverlayInfo();
+void SetOverlayEnabled(boolean);
void SetOverlayActive(boolean);
boolean GetOverlayActive();
void SetDrawDeactivationMask(int);
void InitJoysticks();
boolean ReadJoystick(int, int *, int *, boolean *, boolean *);
boolean CheckJoystickOpened(int);
+void ClearJoystickState();
#endif /* SYSTEM_H */