summaryrefslogtreecommitdiff
path: root/src/cgame/cg_local.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/cgame/cg_local.h
parent816950d5a2114c26c69ec874a5a4fe09a495e4e8 (diff)
Starcraft style building inprogress
Diffstat (limited to 'src/cgame/cg_local.h')
-rw-r--r--src/cgame/cg_local.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index adec761b..33dfea74 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -436,6 +436,10 @@ typedef struct {
qhandle_t icon;
} itemInfo_t;
+typedef struct
+{
+ qhandle_t models[MAX_ITEM_MODELS];
+} buildableInfo_t;
typedef struct {
int itemNum;
@@ -1098,11 +1102,13 @@ extern centity_t cg_entities[MAX_GENTITIES];
//TA: weapon limit expanded:
//extern weaponInfo_t cg_weapons[MAX_WEAPONS];
-extern weaponInfo_t cg_weapons[32];
+extern weaponInfo_t cg_weapons[32];
//TA: upgrade infos:
-extern upgradeInfo_t cg_upgrades[32];
+extern upgradeInfo_t cg_upgrades[32];
+extern itemInfo_t cg_items[MAX_ITEMS];
+//TA: buildable infos:
+extern buildableInfo_t cg_buildables[ BA_NUM_BUILDABLES ];
-extern itemInfo_t cg_items[MAX_ITEMS];
extern markPoly_t cg_markPolys[MAX_MARK_POLYS];
//TA:
@@ -1352,6 +1358,7 @@ sfxHandle_t CG_CustomSound( int clientNum, const char *soundName );
//
// cg_buildable.c
//
+void CG_GhostBuildable( buildable_t buildable );
void CG_Buildable( centity_t *cent );
void CG_InitBuildables( );