From cad03b9d84bb4c4a4bf4783beeb5d1dd2e435b43 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 27 Apr 2001 14:45:29 +0000 Subject: Abstracted the buildable renderer a bit and added preliminary animation routines --- src/game/bg_public.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/game/bg_public.h') 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; -- cgit