]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
turn "z value discarded" into VM_Warnings so one can backtrace them
[xonotic/darkplaces.git] / quakedef.h
index e9e314501373b72a0f2b2e8b0f24282b2387138a..f656b26f4eb6521bdc2576161f4d81be66c213ca 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;
 
@@ -503,6 +502,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);