diff options
author | Tim Angus <tim@ngus.net> | 2006-12-29 15:07:52 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-12-29 15:07:52 +0000 |
commit | df4de6463251019ecf150d835c3693bf7502ccd1 (patch) | |
tree | 0883015c9176f5a924efdaf73e71744a0cb4f537 /src/game/bg_public.h | |
parent | 210115d7ef5f8be82036458359bdf9f00c2bfb67 (diff) |
* Buildable destruction marking (via g_markDeconstruct)
* It's now impossible to destroy the last spawn
* Start of a new client side buildable status display
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r-- | src/game/bg_public.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h index 69a44072..272603c2 100644 --- a/src/game/bg_public.h +++ b/src/game/bg_public.h @@ -454,12 +454,13 @@ typedef enum BIT_NUM_TEAMS } buildableTeam_t; -#define B_HEALTH_BITS 5 -#define B_HEALTH_SCALE (float)((1<<B_HEALTH_BITS)-1) +#define B_HEALTH_BITS 12 +#define B_HEALTH_MASK ((1<<B_HEALTH_BITS)-1) -#define B_SPAWNED_TOGGLEBIT 0x00000020 -#define B_POWERED_TOGGLEBIT 0x00000040 -#define B_DCCED_TOGGLEBIT 0x00000080 +#define B_MARKED_TOGGLEBIT 0x00001000 +#define B_SPAWNED_TOGGLEBIT 0x00002000 +#define B_POWERED_TOGGLEBIT 0x00004000 +#define B_DCCED_TOGGLEBIT 0x00008000 // reward sounds (stored in ps->persistant[PERS_PLAYEREVENTS]) |