cleaned up spectator mess a bit
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6781 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+4
-6
@@ -255,7 +255,6 @@ struct client // server side version of "dynent" type
|
||||
int gameoffset, lastevent, lastvotecall;
|
||||
int demoflags;
|
||||
clientstate state;
|
||||
int spectcn;
|
||||
vector<gameevent> events;
|
||||
vector<uchar> position, messages;
|
||||
string lastsaytext;
|
||||
@@ -344,7 +343,6 @@ struct client // server side version of "dynent" type
|
||||
lastsaytext[0] = '\0';
|
||||
saychars = 0;
|
||||
spawnindex = -1;
|
||||
spectcn = FPCN_VOID;
|
||||
authreq = 0; // for AUTH
|
||||
mapchange();
|
||||
freshgame = false; // don't spawn into running games
|
||||
@@ -434,7 +432,7 @@ const char *messagenames[SV_NUM] =
|
||||
"SV_SETTEAM", "SV_TEAMDENY", "SV_SERVERMODE",
|
||||
"SV_WHOIS", "SV_WHOISINFO",
|
||||
"SV_LISTDEMOS", "SV_SENDDEMOLIST", "SV_GETDEMO", "SV_SENDDEMO", "SV_DEMOPLAYBACK",
|
||||
"SV_CONNECT", "SV_SPECTCN",
|
||||
"SV_CONNECT", "SV_SPECTATE",
|
||||
"SV_SWITCHNAME", "SV_SWITCHSKIN", "SV_SWITCHTEAM",
|
||||
"SV_CLIENT",
|
||||
"SV_EXTENSION",
|
||||
@@ -481,15 +479,15 @@ guninfo guns[NUMGUNS] =
|
||||
//modelname reload attackdelay projspeed spread magsize mKB reB reF isauto
|
||||
// sound reloadtime damage part recoil mKR reI reM pFX
|
||||
{ "knife", S_KNIFE, S_NULL, 0, 500, 50, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, false },
|
||||
{ "pistol", S_PISTOL, S_RPISTOL, 1400, 160, 18, 0, 0, 53, 10, 10, 6, 5, 6, 35, 58, 125, 1, false },
|
||||
{ "pistol", S_PISTOL, S_RPISTOL, 1400, 160, 18, 0, 0, 53, 10, 10, 6, 5, 6, 35, 58, 125, 1, false },
|
||||
{ "carbine", S_CARBINE, S_RCARBINE, 1800, 720, 60, 0, 0, 10, 60, 10, 4, 4, 10, 60, 60, 150, 1, false },
|
||||
{ "shotgun", S_SHOTGUN, S_RSHOTGUN, 2400, 1000, 1, 0, 0, 1, 35, 7, 9, 9, 10, 140, 140, 125, 1, false }, // CAUTION dmg only sane for server!
|
||||
{ "subgun", S_SUBGUN, S_RSUBGUN, 1650, 80, 15, 0, 0, 45, 15, 30, 1, 2, 4, 30, 50, 188, 1, true },
|
||||
{ "subgun", S_SUBGUN, S_RSUBGUN, 1650, 80, 15, 0, 0, 45, 15, 30, 1, 2, 4, 30, 50, 188, 1, true },
|
||||
{ "sniper", S_SNIPER, S_RSNIPER, 1950, 1500, 80, 0, 0, 50, 50, 5, 4, 4, 10, 85, 85, 100, 1, false }, // 2011may22:ft: dmg 82->80, spread 50
|
||||
{ "assault", S_ASSAULT, S_RASSAULT, 2000, 120, 22, 0, 0, 20, 40, 15, 0, 2, 2, 22, 55, 115, 1, true }, // 2011jan17:ft: 24=>22
|
||||
{ "cpistol", S_PISTOL, S_RPISTOL, 1400, 120, 19, 0, 0, 35, 10, 15, 6, 5, 6, 35, 58, 125, 1, false }, // temporary
|
||||
{ "grenade", S_NULL, S_NULL, 1000, 650, 200, 20, 6, 1, 1, 1, 3, 1, 0, 0, 0, 0, 3, false },
|
||||
{ "pistol", S_PISTOL, S_RAKIMBO, 1400, 80, 19, 0, 0, 50, 10, 20, 6, 5, 10, 10, 18, 115, 1, true },
|
||||
{ "pistol", S_PISTOL, S_RAKIMBO, 1400, 80, 19, 0, 0, 50, 10, 20, 6, 5, 10, 10, 18, 115, 1, true },
|
||||
};
|
||||
|
||||
const char *teamnames[TEAM_NUM+1] = {"CLA", "RVSF", "CLA-SPECT", "RVSF-SPECT", "SPECTATOR", "void"};
|
||||
|
||||
Reference in New Issue
Block a user