]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
fix another bug in grounded V_CalcRefDef
[xonotic/darkplaces.git] / quakedef.h
index e9e314501373b72a0f2b2e8b0f24282b2387138a..65f241590335bffd34d37b7bbe89ae4193a9872d 100644 (file)
@@ -95,7 +95,6 @@ extern char engineversion[128];
 #define        MAX_PARTICLEEFFECTINFO  1024
 #define        MAX_PARTICLETEXTURES    256
 #define        MAXCLVIDEOS                             1
-#define        MAX_GECKO_INSTANCES             1
 #define        MAX_DYNAMIC_TEXTURE_COUNT       2
 #define        MAX_MAP_LEAFS                   8192
 
@@ -165,7 +164,6 @@ extern char engineversion[128];
 #define        MAX_PARTICLEEFFECTINFO  4096 ///< maximum number of unique particle effects (each name may associate with several of these)
 #define        MAX_PARTICLETEXTURES    256 ///< maximum number of unique particle textures in the particle font
 #define        MAXCLVIDEOS                             65 ///< maximum number of video streams being played back at once (1 is reserved for the playvideo command)
-#define        MAX_GECKO_INSTANCES             16 ///< maximum number of web browser textures active at once
 #define        MAX_DYNAMIC_TEXTURE_COUNT       64 ///< maximum number of dynamic textures (web browsers, playvideo, etc)
 #define        MAX_MAP_LEAFS                   65536 ///< maximum number of BSP leafs in world (8192 in Quake)
 
@@ -397,6 +395,7 @@ extern char engineversion[128];
 #include "keys.h"
 #include "console.h"
 #include "menu.h"
+#include "csprogs.h"
 
 extern qboolean noclip_anglehack;
 
@@ -406,6 +405,8 @@ extern cvar_t developer_insane;
 extern cvar_t developer_loadfile;
 extern cvar_t developer_loading;
 
+extern cvar_t sessionid;
+
 #define STARTCONFIGFILENAME "quake.rc"
 #define CONFIGFILENAME "config.cfg"
 
@@ -503,6 +504,8 @@ qboolean Sys_HaveSSE2(void);
 extern int host_framecount;
 /// not bounded in any way, changed at start of every frame, never reset
 extern double realtime;
+/// equal to Sys_DirtyTime() at the start of this host frame
+extern double host_dirtytime;
 
 void Host_InitCommands(void);
 void Host_Main(void);
@@ -514,6 +517,8 @@ void Host_ClientCommands(const char *fmt, ...) DP_FUNC_PRINTF(1);
 void Host_ShutdownServer(void);
 void Host_Reconnect_f(void);
 void Host_NoOperation_f(void);
+void Host_LockSession(void);
+void Host_UnlockSession(void);
 
 void Host_AbortCurrentFrame(void);