diff options
author | Tim Angus <tim@ngus.net> | 2001-07-10 03:06:36 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-07-10 03:06:36 +0000 |
commit | 38095b5c02e3c9ab5cd45f817837f06b1da67ef2 (patch) | |
tree | bef6d539e5192dd7c2c57f54749ea1b91da87330 /src/game/bg_public.h | |
parent | 1a5201cc01e66f0002f62ca06ddd62dc0d259283 (diff) |
Mechanism for locking players in place (for grab weapon)
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r-- | src/game/bg_public.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index 094c7e12..16c9d29d 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -134,12 +134,13 @@ movement on the server game. */ typedef enum { - PM_NORMAL, // can accelerate and turn - PM_NOCLIP, // noclip movement - PM_SPECTATOR, // still run into walls - PM_DEAD, // no acceleration or turning, but free falling - PM_FREEZE, // stuck in place with no control - PM_INTERMISSION, // no movement or status bar + PM_NORMAL, // can accelerate and turn + PM_NOCLIP, // noclip movement + PM_SPECTATOR, // still run into walls + PM_DEAD, // no acceleration or turning, but free falling + PM_GRABBED, // like dead, but for when the player is still live + PM_FREEZE, // stuck in place with no control + PM_INTERMISSION, // no movement or status bar PM_SPINTERMISSION // no movement or status bar } pmtype_t; @@ -243,7 +244,8 @@ typedef enum { #define SS_WALLTRANSIDING 8 #define SS_SPEEDBOOST 16 #define SS_INFESTING 32 -#define SS_POISONED 64 +#define SS_GRABBED 64 +#define SS_POISONED 128 // player_state->persistant[] indexes @@ -332,8 +334,9 @@ typedef enum { WP_BFG, WP_GRAPPLING_HOOK, WP_VENOM, + WP_GRABANDCSAW, WP_HBUILD, - WP_ABUILD, + WP_DBUILD, WP_SCANNER, WP_GGRENADE, |