diff options
author | Michael Levin <risujin@fastmail.fm> | 2009-10-03 11:25:01 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:14:58 +0000 |
commit | 5189226d1e8df1e56240d51a32d0db82924320d7 (patch) | |
tree | fccc195f973841dfa5dad503421e01774b2c9f22 /src/game/g_local.h | |
parent | 4b1bd2babe3c5b37648b987d16225d9f111205ce (diff) |
* Spawn queue displays ordinals ("You are 2nd in the spawn queue")
* Server does not communicate the number of eggs and telenodes to all clients anymore -- the correct number of spawns is passed to the client when they are in the spawn queue only (puts PERS_UNUSED to use)
Sticky and dead spectate (holy fuck that was hard for something so simple sounding):
* Big thanks to Lakitu7 for passing along the patch (with contributions from TJW, Undeference, and R1CH)
* UI has a new option to enable/disable sticky spectate
* Spectators get to see the full dying animation
* Dead players can spectate their teammates whether they are in the spawn queue or not
I corrected several nasty bugs and recoded a LOT of the patch. Potentially the "spawn without a weapon" thing may have been fixed but maybe not. There are possibly other new bugs so keep an eye out for them.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index bfda00b4..0305c3c9 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -332,6 +332,7 @@ typedef struct usercmd_t cmd; // we would lose angles if not persistant qboolean localClient; // true if "ip" info key is "localhost" qboolean initialSpawn; // the first spawn should be at a cool location + qboolean stickySpec; // don't stop spectating a player after they get killed qboolean pmoveFixed; // char netname[ MAX_NETNAME ]; int maxHealth; // for handicapping @@ -688,6 +689,7 @@ char *G_NewString( const char *string ); void Cmd_Score_f( gentity_t *ent ); void G_StopFromFollowing( gentity_t *ent ); void G_StopFollowing( gentity_t *ent ); +void G_FollowLockView( gentity_t *ent ); qboolean G_FollowNewClient( gentity_t *ent, int dir ); void G_ToggleFollow( gentity_t *ent ); void G_MatchOnePlayer( int *plist, int num, char *err, int len ); |