]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
fix a buffer overflow bug in InfoString_SetValue (thanks div0!), and increase userinf...
[xonotic/darkplaces.git] / quakedef.h
index 66991037842231389ca26aaa156c56a10d22b24d..675914072423d88d97d5cc75e07e412f745c8004 100644 (file)
@@ -184,8 +184,10 @@ extern char engineversion[128];
 // LordHavoc: increased name limit from 32 to 64 characters
 #define        MAX_SCOREBOARDNAME      64
 // infostring sizes used by QuakeWorld support
-#define MAX_USERINFO_STRING 196
-#define MAX_SERVERINFO_STRING 512
+// was 196
+#define MAX_USERINFO_STRING 1280
+// was 512
+#define MAX_SERVERINFO_STRING 1280
 #define MAX_LOCALINFO_STRING 32768
 
 #include "zone.h"
@@ -228,20 +230,16 @@ extern qboolean noclip_anglehack;
 extern char engineversion[128];
 extern cvar_t developer;
 
-extern double host_frametime;
-// the real frametime, before slowmo and clamping are applied (used for console scrolling)
-extern double host_realframetime;
 // incremented every frame, never reset
 extern int host_framecount;
 // not bounded in any way, changed at start of every frame, never reset
 extern double realtime;
 
 void Host_InitCommands(void);
-void Host_Init(void);
+void Host_Main(void);
 void Host_Shutdown(void);
 void Host_StartVideo(void);
 void Host_Error(const char *error, ...);
-void Host_Frame(float time);
 void Host_Quit_f(void);
 void Host_ClientCommands(const char *fmt, ...);
 void Host_ShutdownServer(void);