29 #include "../idlib/precompiled.h"
69 if ( r !=
sizeof(ev) ) {
85 if ( r !=
sizeof(ev) ) {
107 static bool printedWarning;
114 if ( !printedWarning ) {
115 printedWarning =
true;
124 printedWarning =
false;
179 if ( commandExecution ) {
257 ev = Com_GetRealEvent();
259 Com_PushEvent( &ev );
void ProcessEvent(sysEvent_t ev)
virtual idFile * OpenFileRead(const char *relativePath, bool allowCopyFiles=true, const char *gamedir=NULL)=0
int RunEventLoop(bool commandExecution=true)
const int MAX_PUSHED_EVENTS
int Sys_Milliseconds(void)
idFileSystem * fileSystem
virtual void ExecuteCommandBuffer(void)=0
virtual bool ProcessEvent(const sysEvent_t *event)=0
virtual void BufferCommandText(cmdExecution_t exec, const char *text)=0
void SetInteger(const int value)
int GetInteger(void) const
void PushEvent(sysEvent_t *event)
virtual void virtual void FatalError(const char *fmt,...) id_attribute((format(printf
virtual idFile * OpenFileWrite(const char *relativePath, const char *basePath="fs_savepath")=0
virtual int Read(void *buffer, int len)
virtual void Printf(const char *fmt,...) id_attribute((format(printf
virtual void StartupVariable(const char *match, bool once)=0
idEventLoop eventLoopLocal
sysEvent_t com_pushedEvents[MAX_PUSHED_EVENTS]
static idCVar com_journal
GLdouble GLdouble GLdouble r
sysEvent_t GetEvent(void)
virtual int Write(const void *buffer, int len)
idFile * com_journalDataFile
void * Mem_ClearedAlloc(const int size)
int JournalLevel(void) const
sysEvent_t Sys_GetEvent(void)
virtual void CloseFile(idFile *f)=0
sysEvent_t GetRealEvent(void)