]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
fix some crashes with server commands (kick, view* commands)
[xonotic/darkplaces.git] / quakedef.h
index 7b8596302ee1a938af0161a7a5c7bfa58f9f82de..041280dbe7642d62d62a887210388ae482f1b0f0 100644 (file)
@@ -205,6 +205,7 @@ extern char *buildstring;
 #include "client.h"
 #include "render.h"
 #include "progs.h"
+#include "progsvm.h"
 #include "server.h"
 
 #include "input.h"
@@ -222,8 +223,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;
@@ -236,6 +235,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);