summaryrefslogtreecommitdiff
path: root/src/game/bg_public.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-10-17 22:08:15 +0000
committerTim Angus <tim@ngus.net>2001-10-17 22:08:15 +0000
commit40aca014bafee22f1e6e9f07673da14a295f8889 (patch)
tree2ded9f15ee2f21a569501a2f7c7ff752c1756d39 /src/game/bg_public.h
parent816950d5a2114c26c69ec874a5a4fe09a495e4e8 (diff)
Starcraft style building inprogress
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r--src/game/bg_public.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h
index c96ef9e2..2aa4e737 100644
--- a/src/game/bg_public.h
+++ b/src/game/bg_public.h
@@ -234,7 +234,8 @@ typedef enum {
STAT_STAMINA, //TA: stamina (human only)
STAT_STATE, //TA: client states e.g. wall climbing
STAT_CREDIT, //TA: human credit
- STAT_MISC //TA: for uh...misc stuff
+ STAT_MISC, //TA: for uh...misc stuff
+ STAT_BUILDABLE //TA: which ghost model to display for building
} statIndex_t;
#define SCA_WALLCLIMBER 1
@@ -253,6 +254,8 @@ typedef enum {
#define SS_BLOBLOCKED 128
#define SS_POISONED 256
+#define SB_VALID_TOGGLEBIT 8192
+#define SB_ACTIVE_TOGGLEBIT 16384
// player_state->persistant[] indexes
// these fields are the only part of player_state that isn't
@@ -856,6 +859,8 @@ typedef struct
char *buildName;
char *entityName;
+
+ char *models[ MAX_ITEM_MODELS ];
vec3_t mins;
vec3_t maxs;
@@ -942,6 +947,7 @@ int BG_FindBuildNumForName( char *name );
int BG_FindBuildNumForEntityName( char *name );
char *BG_FindNameForBuildable( int bclass );
char *BG_FindEntityNameForBuildable( int bclass );
+char *BG_FindModelsForBuildable( int bclass, int modelNum );
void BG_FindBBoxForBuildable( int bclass, vec3_t mins, vec3_t maxs );
int BG_FindHealthForBuildable( int bclass );
trType_t BG_FindTrajectoryForBuildable( int bclass );
@@ -1026,8 +1032,8 @@ typedef enum {
ET_PLAYER,
ET_ITEM,
- ET_BUILDABLE, //TA: buildable type
- ET_CREEP, //TA: creep type
+ ET_BUILDABLE, //TA: buildable type
+ ET_CREEP, //TA: creep type
ET_MISSILE,
ET_MOVER,