/* values for animation action types */
-#define GFX_ACTION_UNKNOWN 0
-#define GFX_ACTION_DEFAULT 1
-#define GFX_ACTION_WAITING 2
-#define GFX_ACTION_FALLING 3
-#define GFX_ACTION_MOVING 4
-#define GFX_ACTION_DIGGING 5
-#define GFX_ACTION_SNAPPING 6
-#define GFX_ACTION_COLLECTING 7
-#define GFX_ACTION_PUSHING 8
-#define GFX_ACTION_PASSING 9
-#define GFX_ACTION_IMPACT 10
-#define GFX_ACTION_CRACKING 11
-#define GFX_ACTION_ACTIVATING 12
-#define GFX_ACTION_EATING 13
-#define GFX_ACTION_ATTACKING 14
-#define GFX_ACTION_GROWING 15
-#define GFX_ACTION_OTHER 16
-
-#define NUM_GFX_ACTIONS 17
+#define GFX_ACTION_DEFAULT 0
+#define GFX_ACTION_WAITING 1
+#define GFX_ACTION_FALLING 2
+#define GFX_ACTION_MOVING 3
+#define GFX_ACTION_DIGGING 4
+#define GFX_ACTION_SNAPPING 5
+#define GFX_ACTION_COLLECTING 6
+#define GFX_ACTION_PUSHING 7
+#define GFX_ACTION_PASSING 8
+#define GFX_ACTION_IMPACT 9
+#define GFX_ACTION_CRACKING 10
+#define GFX_ACTION_ACTIVATING 11
+#define GFX_ACTION_EATING 12
+#define GFX_ACTION_ATTACKING 13
+#define GFX_ACTION_GROWING 14
+#define GFX_ACTION_OTHER 15
+
+#define NUM_GFX_ACTIONS 16
#define NUM_GFX_ACTIONS_MAPPED 8
char *sound_class_name; /* classification for custom sound effects */
char *editor_description; /* short description for level editor */
+ /* default graphics for several actions */
int graphic[NUM_GFX_ACTIONS_MAPPED];
/* special graphics for left/right/up/down */
int direction_graphic[NUM_GFX_ACTIONS_MAPPED][NUM_MV_DIRECTIONS];
- boolean has_direction_graphic[NUM_GFX_ACTIONS_MAPPED];
};
struct GraphicInfo