fixes/MAXCL reduced to 16/protocol bump
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6813 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ const changeteam [ if (< (curteam) 4) [ team (at "RVSF CLA RVSF-SPECT CLA-SPECT"
|
||||
const WEAPONS "KNIFE PISTOL CARBINE SHOTGUN SMG SNIPER AR CPISTOL GRENADES AKIMBO"
|
||||
const NUM_WEAPONS (listlen $WEAPONS)
|
||||
const MODES "tdm coop dm surv ts ctf pf btdm bdm lss osok tosok bosok htf tktf ktf tpf tlss bpf blss bts btosok"
|
||||
const NUM_MODES (listlen $NUM_MODES)
|
||||
const NUM_MODES (listlen $MODES)
|
||||
// ktf ac_mines - calls a vote for keep the flag ac_mines
|
||||
// echo (ktf -1) = returns 15
|
||||
|
||||
|
||||
@@ -1263,6 +1263,9 @@ void testchar(char *s, char *type)
|
||||
case 7:
|
||||
if(isspace(s[0]) != 0) { intret(1); return; }
|
||||
break;
|
||||
case 8: // Without this it is impossible to determine if a character === " in cubescript
|
||||
if(!strcmp(s, "\"")) { intret(1); return; }
|
||||
break;
|
||||
default:
|
||||
if(isdigit(s[0]) != 0) { intret(1); return; }
|
||||
break;
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ extern int verbose;
|
||||
#define AC_VERSION 1111
|
||||
#define AC_MASTER_URI "assault.cubers.net"
|
||||
#define AC_MASTER_PORT 28760
|
||||
#define MAXCL 20
|
||||
#define MAXCL 16
|
||||
|
||||
#include "protos.h" // external function decls
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#define CUBE_SERVINFO_PORT_LAN 28762
|
||||
#define CUBE_SERVINFO_PORT(serverport) (serverport+1)
|
||||
#define CUBE_SERVINFO_TO_SERV_PORT(servinfoport) (servinfoport-1)
|
||||
#define PROTOCOL_VERSION 1142 // bump when protocol changes (use negative numbers for mods!)
|
||||
#define PROTOCOL_VERSION 1143 // bump when protocol changes (use negative numbers for mods!)
|
||||
#define DEMO_VERSION 2 // bump when demo format changes
|
||||
#define DEMO_MAGIC "ASSAULTCUBE_DEMO"
|
||||
#define DEMO_MINTIME 10000 // don't keep demo recordings with less than 10 seconds
|
||||
|
||||
Reference in New Issue
Block a user