projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030202-1-src
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 24bcc8469af2aee49f7eb4a4784fe9daa6c992b5..21906949f6bc1bfaa0dd010c9ef92a0a717c0362 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-730,7
+730,7
@@
#define EL_MAGIC_WALL_FILLING (EL_FIRST_RUNTIME_UNREAL + 11)
#define EL_BD_MAGIC_WALL_FILLING (EL_FIRST_RUNTIME_UNREAL + 12)
#define EL_MAGIC_WALL_FILLING (EL_FIRST_RUNTIME_UNREAL + 11)
#define EL_BD_MAGIC_WALL_FILLING (EL_FIRST_RUNTIME_UNREAL + 12)
-/* dummy
(not drawable) runtime elements (internal use only
) */
+/* dummy
elements (never used as game elements, only used as graphics
) */
#define EL_FIRST_DUMMY (EL_FIRST_RUNTIME_UNREAL + 13)
#define EL_STEELWALL_TOPLEFT (EL_FIRST_DUMMY + 0)
#define EL_FIRST_DUMMY (EL_FIRST_RUNTIME_UNREAL + 13)
#define EL_STEELWALL_TOPLEFT (EL_FIRST_DUMMY + 0)
@@
-804,8
+804,9
@@
/* values for special image configuration suffixes */
#define GFX_SPECIAL_ARG_EDITOR 0
/* values for special image configuration suffixes */
#define GFX_SPECIAL_ARG_EDITOR 0
+#define GFX_SPECIAL_ARG_PREVIEW 1
-#define NUM_SPECIAL_GFX_ARGS
1
+#define NUM_SPECIAL_GFX_ARGS
2
/* values for image configuration suffixes */
/* values for image configuration suffixes */
@@
-1060,6
+1061,7
@@
struct ElementInfo
int direction_graphic[NUM_ACTIONS][NUM_DIRECTIONS];
int editor_graphic; /* graphic displayed in level editor */
int direction_graphic[NUM_ACTIONS][NUM_DIRECTIONS];
int editor_graphic; /* graphic displayed in level editor */
+ int preview_graphic; /* graphic displayed in level preview */
int sound[NUM_ACTIONS]; /* default sounds for several actions */
};
int sound[NUM_ACTIONS]; /* default sounds for several actions */
};