summaryrefslogtreecommitdiff
path: root/src/game/bg_public.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-04-27 14:45:29 +0000
committerTim Angus <tim@ngus.net>2001-04-27 14:45:29 +0000
commitcad03b9d84bb4c4a4bf4783beeb5d1dd2e435b43 (patch)
treef429e8c69cf62cfa81b57a705d3789448907ca39 /src/game/bg_public.h
parenta7627e5694752c629bc5beeb39a7fa74bba8a8e5 (diff)
Abstracted the buildable renderer a bit and added preliminary animation routines
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r--src/game/bg_public.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h
index 4d6fc8a6..73e0699c 100644
--- a/src/game/bg_public.h
+++ b/src/game/bg_public.h
@@ -584,7 +584,7 @@ typedef enum {
TORSO_NEGATIVE,
#endif
- MAX_ANIMATIONS,
+ MAX_PLAYER_ANIMATIONS,
LEGS_BACKCR,
LEGS_BACKWALK,
@@ -592,9 +592,16 @@ typedef enum {
FLAG_STAND,
FLAG_STAND2RUN,
- MAX_TOTALANIMATIONS
-} animNumber_t;
+ MAX_PLAYER_TOTALANIMATIONS
+} playerAnimNumber_t;
+//TA: for buildable animations
+typedef enum
+{
+ BUILD_CONSTRUCT,
+ BUILD_DESTROY,
+ MAX_BUILDABLE_ANIMATIONS
+} buildableAnimNumber_t;
typedef struct animation_s {
int firstFrame;