#include <sys/types.h>
+#include <ctype.h>
#include <math.h>
#include <string.h>
#include <stdarg.h>
//
// 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
#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
#include "client.h"
#include "render.h"
#include "progs.h"
+#include "progsvm.h"
#include "server.h"
#include "input.h"
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;
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);