]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
changed Host_Init to execute configs only once
[xonotic/darkplaces.git] / quakedef.h
index 2f8866df39e21252817fe15dc2f2800f4e2318ee..0417274c9002b9d850184820c2ca644c4ad7f55d 100644 (file)
@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 
 #include <sys/types.h>
+#include <ctype.h>
 #include <math.h>
 #include <string.h>
 #include <stdarg.h>
@@ -67,7 +68,7 @@ extern char *buildstring;
 //
 // stats are integers communicated to the client by the server
 //
-#define        MAX_CL_STATS            32
+#define        MAX_CL_STATS            256
 #define        STAT_HEALTH                     0
 #define        STAT_FRAGS                      1
 #define        STAT_WEAPON                     2
@@ -83,6 +84,11 @@ extern char *buildstring;
 #define        STAT_TOTALMONSTERS      12
 #define        STAT_SECRETS            13              // bumped on client side by svc_foundsecret
 #define        STAT_MONSTERS           14              // bumped by svc_killedmonster
+#define STAT_ITEMS                     15 // FTE, DP
+#define STAT_VIEWHEIGHT                16 // FTE, DP
+//#define STAT_TIME                    17 // FTE
+//#define STAT_VIEW2           20 // FTE
+#define STAT_VIEWZOOM          21 // DP
 
 // stock defines
 
@@ -216,8 +222,6 @@ extern qboolean noclip_anglehack;
 
 extern cvar_t developer;
 
-// true if into command execution
-extern qboolean host_initialized;
 extern double host_frametime;
 // the real frametime, before slowmo and clamping are applied (used for console scrolling)
 extern double host_realframetime;
@@ -230,6 +234,7 @@ void Host_ClearMemory(void);
 void Host_InitCommands(void);
 void Host_Init(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);