summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:12:12 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:45 +0000
commit32631d7354556ff88ecfe3ff9a9d80075422fbef (patch)
tree083df63c1aada8cc7d0f6849c19b3dcee056c3fe /src/game/g_local.h
parentec254e3bebdc3957a630b23b3b77d5460f2c7674 (diff)
* Add BG_EventName and use it to simplify a series of debugging messages
* Correct crouch check in ClientTimerActions * Ensure animation togglebit on buildables is only used once per frame (bug 3377) * Make G_FloodLimited more robust and with a pointlessly informative return value * Add a brief comment to the G_SayArg* functions to explain their purpose, which wasn't at all clear to me until I experimented with them * Remove more redundant va()s * Remove an unused variable and associated functions that were causing a compiler warning
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 5f9029a9..01b6ef5c 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -204,6 +204,7 @@ struct gentity_s
qboolean spawned; // whether or not this buildable has finished spawning
int shrunkTime; // time when a barricade shrunk or zero
int buildTime; // when this buildable was built
+ int animTime; // last animation change
int time1000; // timer evaluated every second
qboolean deconstruct; // deconstruct if no BP left
int deconstructTime; // time at which structure marked
@@ -681,7 +682,7 @@ void G_SanitiseString( char *in, char *out, int len );
void Cmd_PrivateMessage_f( gentity_t *ent );
void Cmd_Test_f( gentity_t *ent );
void Cmd_AdminMessage_f( gentity_t *ent );
-qboolean G_FloodLimited( gentity_t *ent );
+int G_FloodLimited( gentity_t *ent );
//
// g_physics.c