projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added setting engine snapshot mode to setup screen and file
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index bb78fbe9453b442d666aa8b603b060f6ca327932..eff5452583bbe16db554dbe8c49e7ab8707930de 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-136,6
+136,10
@@
(b) <= MB_WHEEL_DOWN)
#define DEFAULT_WHEEL_STEPS 3
(b) <= MB_WHEEL_DOWN)
#define DEFAULT_WHEEL_STEPS 3
+#define BUTTON_STEPSIZE(b) ((b) == MB_LEFTBUTTON ? 1 : \
+ (b) == MB_MIDDLEBUTTON ? 5 : \
+ (b) == MB_RIGHTBUTTON ? 10 : 1)
+
/* values for move directions */
#define MV_BIT_LEFT 0
#define MV_BIT_RIGHT 1
/* values for move directions */
#define MV_BIT_LEFT 0
#define MV_BIT_RIGHT 1
@@
-439,6
+443,9
@@
#define ERROR_BASENAME "stderr.txt"
#define ERROR_BASENAME "stderr.txt"
+#define STRING_PARENT_DIRECTORY ".."
+#define STRING_TOP_DIRECTORY "/"
+
#define CHAR_PATH_SEPARATOR_UNIX '/'
#define CHAR_PATH_SEPARATOR_DOS '\\'
#define CHAR_PATH_SEPARATOR_UNIX '/'
#define CHAR_PATH_SEPARATOR_DOS '\\'
@@
-729,6
+736,8
@@
struct VideoSystemInfo
boolean window_scaling_available;
int window_scaling_percent;
char *window_scaling_quality;
boolean window_scaling_available;
int window_scaling_percent;
char *window_scaling_quality;
+
+ boolean initialized;
};
struct AudioSystemInfo
};
struct AudioSystemInfo
@@
-939,6
+948,7
@@
struct SetupInfo
boolean toons;
boolean scroll_delay;
boolean scroll_delay_value;
boolean toons;
boolean scroll_delay;
boolean scroll_delay_value;
+ char *engine_snapshot_mode;
boolean soft_scrolling;
boolean fade_screens;
boolean autorecord;
boolean soft_scrolling;
boolean fade_screens;
boolean autorecord;