projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed global animations (esp. toons) to be controlled by game mode
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 1e97b9c902fe938d221b83177fb2b1ce14072b0f..05c28b8e69d35675e26fa997a6c1490281ff470f 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-1801,8
+1801,12
@@
#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_QUIT 20
-#define NUM_SPECIAL_GFX_ARGS
17
+#define NUM_SPECIAL_GFX_ARGS
21
/* 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
@@
-1977,6
+1981,10
@@
#define GLOBAL_ANIM_ID_PART_LAST 7
#define GLOBAL_ANIM_ID_PART_BASE 8
#define GLOBAL_ANIM_ID_PART_LAST 7
#define GLOBAL_ANIM_ID_PART_BASE 8
+/* values for global border graphics */
+#define IMG_GLOBAL_BORDER_FIRST IMG_GLOBAL_BORDER
+#define IMG_GLOBAL_BORDER_LAST IMG_GLOBAL_BORDER_PLAYING
+
/* values for game_status (must match special image configuration suffixes) */
#define GAME_MODE_DEFAULT 0
#define GAME_MODE_LOADING 1
/* values for game_status (must match special image configuration suffixes) */
#define GAME_MODE_DEFAULT 0
#define GAME_MODE_LOADING 1
@@
-1995,10
+2003,12
@@
#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_QUIT 20
+
+#define NUM_GAME_MODES 21
/* 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