projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed screen specific global animations to stop when fading screens
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 638b1023e6679aae7f0e88f1f3ce344f6af81355..36500844c80d92a882380af57f588436cfd49f67 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-1801,8
+1801,13
@@
#define GFX_SPECIAL_ARG_PANEL 14
#define GFX_SPECIAL_ARG_PREVIEW 15
#define GFX_SPECIAL_ARG_CRUMBLED 16
#define GFX_SPECIAL_ARG_PANEL 14
#define GFX_SPECIAL_ARG_PREVIEW 15
#define GFX_SPECIAL_ARG_CRUMBLED 16
+#define GFX_SPECIAL_ARG_TYPENAME 17
+#define GFX_SPECIAL_ARG_MENU 18
+#define GFX_SPECIAL_ARG_TOONS 19
+#define GFX_SPECIAL_ARG_FADING 20
+#define GFX_SPECIAL_ARG_QUIT 21
-#define NUM_SPECIAL_GFX_ARGS
17
+#define NUM_SPECIAL_GFX_ARGS
22
/* these additional definitions are currently only used for draw offsets */
#define GFX_SPECIAL_ARG_INFO_MAIN 0
/* these additional definitions are currently only used for draw offsets */
#define GFX_SPECIAL_ARG_INFO_MAIN 0
@@
-1999,10
+2004,13
@@
#define GAME_MODE_PSEUDO_PANEL 14
#define GAME_MODE_PSEUDO_PREVIEW 15
#define GAME_MODE_PSEUDO_CRUMBLED 16
#define GAME_MODE_PSEUDO_PANEL 14
#define GAME_MODE_PSEUDO_PREVIEW 15
#define GAME_MODE_PSEUDO_CRUMBLED 16
-
-/* there are no special config file suffixes for these modes */
#define GAME_MODE_PSEUDO_TYPENAME 17
#define GAME_MODE_PSEUDO_TYPENAME 17
-#define GAME_MODE_QUIT 18
+#define GAME_MODE_PSEUDO_MENU 18
+#define GAME_MODE_PSEUDO_TOONS 19
+#define GAME_MODE_PSEUDO_FADING 20
+#define GAME_MODE_QUIT 21
+
+#define NUM_GAME_MODES 22
/* special definitions currently only used for custom artwork configuration */
#define MUSIC_PREFIX_BACKGROUND 0
/* special definitions currently only used for custom artwork configuration */
#define MUSIC_PREFIX_BACKGROUND 0
@@
-2578,6
+2586,10
@@
struct GlobalInfo
/* global values for fading screens and masking borders */
int border_status;
/* global values for fading screens and masking borders */
int border_status;
+ /* values for global animations */
+ int anim_status;
+ int anim_status_next;
+
boolean use_envelope_request;
};
boolean use_envelope_request;
};