shithub: qk1

ref: 78fe6348a53f18d6d477366590d07b75d6833dc3
dir: /qw/sys.h/

View raw version
// sys.h -- non-portable functions

enum{
	THin	= 1,
	THsnd	= 2,
	THnet	= 3
};
extern int svonly;

int Sys_mkdir(char *);
vlong flen(int);

void Sys_Error(char *, ...);
void Sys_Printf(char *, ...);
void Sys_Quit(void);
double Sys_DoubleTime(void);
char *Sys_ConsoleInput(void);
void Sys_Sleep(void);
void Sys_SendKeyEvents(void);	// Perform Key_Event () callbacks until the input que is empty
void Sys_LowFPPrecision(void);
void Sys_HighFPPrecision(void);
void Sys_SetFPCW(void);
void Sys_Init(void);
void initparm(quakeparms_t *);
uvlong nanosec(void);

void*	emalloc(ulong);