Scoreboard

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1409 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-11-04 14:18:01 +00:00
parent 580b1cf5b0
commit fe528cd1da
9 changed files with 228 additions and 130 deletions
+1
View File
@@ -309,6 +309,7 @@ struct playerent : dynent, playerstate
int clientnum, lastupdate, plag, ping;
int lifesequence; // sequence id for each respawn, used in damage test
int frags, flagscore;
int deaths() { return lifesequence + (state==CS_DEAD ? 1 : 0); }
int lastaction, lastattackgun, lastmove, lastpain, lastteamkill;
int clientrole;
bool attacking;