X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=quakedef.h;h=4ebc22f24e1cafad081fb5bcb61e0d2743101076;hb=17837f58260f8fa29420cba9b95ee10f74612335;hp=0c8090033630293dc5e833723ba8302b490ef601;hpb=43ee5e136a693ac9cfb40cb03fceea7d3149104f;p=xonotic%2Fdarkplaces.git diff --git a/quakedef.h b/quakedef.h index 0c809003..4ebc22f2 100644 --- a/quakedef.h +++ b/quakedef.h @@ -45,19 +45,18 @@ extern char *buildstring; #define ON_EPSILON 0.1 // point on plane side epsilon -// LordHavoc: these were 8000 and 1024 respectively, now 64000 and 8000 -#define MAX_MSGLEN 64000 // max length of a reliable message -#define MAX_DATAGRAM 8000 // max length of unreliable message +// LordHavoc: this was 1024, now 65536 +#define MAX_DATAGRAM 65536 // max length of message // // per-level limits // // LordHavoc: increased entity limit to 2048 from 600 -#define MAX_EDICTS 2048 // FIXME: ouch! ouch! ouch! +#define MAX_EDICTS 32768 // FIXME: ouch! ouch! ouch! #define MAX_LIGHTSTYLES 64 -// LordHavoc: increased model and sound limits from 256 and 256 to 1024 and 1024 (and added protocol extensions accordingly) -#define MAX_MODELS 1024 // these are sent over the net as bytes -#define MAX_SOUNDS 1024 // so they cannot be blindly increased +// LordHavoc: increased model and sound limits from 256 and 256 to 4096 and 4096 (and added protocol extensions accordingly to break the 256 barrier) +#define MAX_MODELS 4096 +#define MAX_SOUNDS 4096 #define SAVEGAME_COMMENT_LENGTH 39 @@ -157,12 +156,12 @@ extern char *buildstring; #define SOUND_CHANNELS 8 #include "zone.h" -#include "quakeio.h" +#include "fs.h" #include "common.h" #include "cvar.h" #include "bspfile.h" -#include "vid.h" #include "sys.h" +#include "vid.h" #include "mathlib.h" #include "r_textures.h" @@ -193,8 +192,6 @@ extern char *buildstring; #include "ui.h" -#include "portals.h" - extern qboolean noclip_anglehack; // @@ -225,8 +222,6 @@ void Host_Quit_f (void); void Host_ClientCommands (const char *fmt, ...); void Host_ShutdownServer (qboolean crash); -// suppresses resolution and cache size console output and fullscreen DIB focus gain/loss -extern qboolean msg_suppress_1; // skill level for currently loaded level (in case the user changes the cvar while the level is running, this reflects the level actually in use) extern int current_skill; @@ -245,7 +240,6 @@ void fractalnoise(unsigned char *noise, int size, int startgrid); void fractalnoisequick(unsigned char *noise, int size, int startgrid); #include "palette.h" -#include "image.h" void Sys_Shared_Init(void);