summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-06-29 22:20:59 +0000
committerTim Angus <tim@ngus.net>2004-06-29 22:20:59 +0000
commit6348ee0e272b0d662ec19462ad46dfc1446e639e (patch)
tree2478cfd2b62200c0fd5606e8f8801937ac444992 /src/game/g_local.h
parentb4227be79cccc641a4dd471ff8fb367b79ac84b1 (diff)
* Added a bunch of map entities: trigger_buildable, trigger_class,
trigger_equipment, trigger_heal, trigger_ammo, triggerable func_trains, target_rumble, trigger_gravity
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 33379dfd..5972c356 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -217,6 +217,13 @@ struct gentity_s
gentity_t *builder; //TA: occupant of this hovel
qboolean nonSegModel; //TA: this entity uses a nonsegmented player model
+
+ buildable_t bTriggers[ BA_NUM_BUILDABLES ]; //TA: which buildables are triggers
+ pClass_t cTriggers[ PCL_NUM_CLASSES ]; //TA: which classes are triggers
+ weapon_t wTriggers[ WP_NUM_WEAPONS ]; //TA: which weapons are triggers
+ upgrade_t uTriggers[ UP_NUM_UPGRADES ]; //TA: which upgrades are triggers
+
+ int triggerGravity; //TA: gravity for this trigger
};
typedef enum