projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added enabling/disabling virtual button overlay depending on input events
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 3fc4eb6cd0eb43cbf1b92f6a94713ab2d53bdb4a..1b1dc2a453b5f64d73ba4b922ee4cb6d73ddecfb 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-531,6
+531,8
@@
#define TAPEFILE_EXTENSION "tape"
#define SCOREFILE_EXTENSION "score"
#define TAPEFILE_EXTENSION "tape"
#define SCOREFILE_EXTENSION "score"
+#define GAMECONTROLLER_BASENAME "gamecontrollerdb.txt"
+
#define LOG_OUT_BASENAME "stdout.txt"
#define LOG_ERR_BASENAME "stderr.txt"
#define LOG_OUT_BASENAME "stdout.txt"
#define LOG_ERR_BASENAME "stderr.txt"
@@
-939,13
+941,14
@@
struct GfxInfo
struct OverlayInfo
{
struct OverlayInfo
{
- boolean active;
+ boolean enabled; /* overlay generally enabled or disabled */
+ boolean active; /* overlay activated (depending on game mode) */
};
struct JoystickInfo
{
int status;
};
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
};
struct SetupJoystickInfo
@@
-1467,6
+1470,7
@@
void InitGfxDrawGlobalBorderFunction(void (*draw_global_border_function)(int));
void InitGfxCustomArtworkInfo();
void InitGfxOtherSettings();
void InitOverlayInfo();
void InitGfxCustomArtworkInfo();
void InitGfxOtherSettings();
void InitOverlayInfo();
+void SetOverlayEnabled(boolean);
void SetOverlayActive(boolean);
boolean GetOverlayActive();
void SetDrawDeactivationMask(int);
void SetOverlayActive(boolean);
boolean GetOverlayActive();
void SetDrawDeactivationMask(int);