menu hotkeys, spect fix, recoiltest, voicecom

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1638 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-02-11 14:18:54 +00:00
parent 033a150775
commit 3fc9b1155f
18 changed files with 216 additions and 31 deletions
+2 -2
View File
@@ -328,7 +328,7 @@ struct playerent : dynent, playerstate
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, lastmove, lastpain;
int lastaction, lastmove, lastpain, lastvoicecom;
int clientrole;
bool attacking;
string name, team;
@@ -348,7 +348,7 @@ struct playerent : dynent, playerstate
float deltayaw, deltapitch, newyaw, newpitch;
int smoothmillis;
playerent() : clientnum(-1), plag(0), ping(0), lifesequence(0), frags(0), flagscore(0), lastpain(0), clientrole(CR_DEFAULT),
playerent() : clientnum(-1), plag(0), ping(0), lifesequence(0), frags(0), flagscore(0), lastpain(0), lastvoicecom(0), clientrole(CR_DEFAULT),
skin(0), nextskin(0), spectating(SM_NONE), followplayercn(0),
weaponsel(NULL), nextweaponsel(NULL), primweap(NULL), nextprimweap(NULL), lastattackweapon(NULL),
smoothmillis(-1)