doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
sys_stub.cpp File Reference
#include "../../idlib/precompiled.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdio.h>
#include <dirent.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <pwd.h>

Go to the source code of this file.

Macros

#define MAX_OSPATH   256
 

Functions

int Sys_Milliseconds (void)
 
double Sys_GetClockTicks (void)
 
double Sys_ClockTicksPerSecond (void)
 
void Sys_Sleep (int msec)
 
void Sys_CreateThread (xthread_t function, void *parms, xthreadPriority priority, xthreadInfo &info)
 
void Sys_DestroyThread (xthreadInfo &info)
 
void Sys_FlushCacheMemory (void *base, int bytes)
 
void Sys_Error (const char *error,...)
 
void Sys_Quit (void)
 
char * Sys_GetClipboardData (void)
 
void Sys_GenerateEvents (void)
 
void Sys_Init (void)
 
void Sys_InitNetworking (void)
 
void _glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
void Sys_InitInput (void)
 
void Sys_ShutdownInput (void)
 
sysEvent_t Sys_GetEvent (void)
 
void Sys_Mkdir (const char *path)
 
const char * Sys_DefaultCDPath (void)
 
const char * Sys_DefaultBasePath (void)
 
int Sys_ListFiles (const char *directory, const char *extension, idStrList &list)
 
void Sys_GrabMouseCursor (bool grabIt)
 
bool Sys_StringToNetAdr (const char *s, netadr_t *a)
 
const char * Sys_NetAdrToString (const netadr_t a)
 
void Sys_DoPreferences (void)
 
int main (int argc, char **argv)
 

Variables

idPort clientPort
 
idPort serverPort
 

Macro Definition Documentation

#define MAX_OSPATH   256

Definition at line 41 of file sys_stub.cpp.

Function Documentation

void _glTexImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
)

Definition at line 117 of file sys_stub.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 217 of file sys_stub.cpp.

double Sys_ClockTicksPerSecond ( void  )

Definition at line 53 of file sys_stub.cpp.

void Sys_CreateThread ( xthread_t  function,
void parms,
xthreadPriority  priority,
xthreadInfo info 
)

Definition at line 60 of file sys_stub.cpp.

const char* Sys_DefaultBasePath ( void  )

Definition at line 143 of file sys_stub.cpp.

const char* Sys_DefaultCDPath ( void  )

Definition at line 139 of file sys_stub.cpp.

void Sys_DestroyThread ( xthreadInfo info)

Definition at line 63 of file sys_stub.cpp.

void Sys_DoPreferences ( void  )

Definition at line 214 of file sys_stub.cpp.

void Sys_Error ( const char *  error,
  ... 
)

Definition at line 69 of file sys_stub.cpp.

void Sys_FlushCacheMemory ( void base,
int  bytes 
)

Definition at line 66 of file sys_stub.cpp.

void Sys_GenerateEvents ( void  )

Definition at line 89 of file sys_stub.cpp.

char* Sys_GetClipboardData ( void  )

Definition at line 85 of file sys_stub.cpp.

double Sys_GetClockTicks ( void  )

Definition at line 49 of file sys_stub.cpp.

sysEvent_t Sys_GetEvent ( void  )

Definition at line 127 of file sys_stub.cpp.

void Sys_GrabMouseCursor ( bool  grabIt)

Definition at line 195 of file sys_stub.cpp.

void Sys_Init ( void  )

Definition at line 92 of file sys_stub.cpp.

void Sys_InitInput ( void  )

Definition at line 121 of file sys_stub.cpp.

void Sys_InitNetworking ( void  )

Definition at line 99 of file sys_stub.cpp.

int Sys_ListFiles ( const char *  directory,
const char *  extension,
idStrList list 
)

Definition at line 147 of file sys_stub.cpp.

int Sys_Milliseconds ( void  )

Definition at line 45 of file sys_stub.cpp.

void Sys_Mkdir ( const char *  path)

Definition at line 136 of file sys_stub.cpp.

const char* Sys_NetAdrToString ( const netadr_t  a)

Definition at line 202 of file sys_stub.cpp.

void Sys_Quit ( void  )

Definition at line 81 of file sys_stub.cpp.

void Sys_ShutdownInput ( void  )

Definition at line 124 of file sys_stub.cpp.

void Sys_Sleep ( int  msec)

Definition at line 57 of file sys_stub.cpp.

bool Sys_StringToNetAdr ( const char *  s,
netadr_t a 
)

Definition at line 198 of file sys_stub.cpp.

Variable Documentation

idPort clientPort

Definition at line 97 of file sys_stub.cpp.

idPort serverPort

Definition at line 97 of file sys_stub.cpp.