DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
sys_null.c File Reference
#include "darkplaces.h"
+ Include dependency graph for sys_null.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
void Sys_SDL_Delay (unsigned int milliseconds)
 
void Sys_SDL_Dialog (const char *title, const char *string)
 
char * Sys_SDL_GetClipboardData (void)
 
unsigned int Sys_SDL_GetTicks (void)
 
void Sys_SDL_Init (void)
 
void Sys_SDL_Shutdown (void)
 INFO: This is only called by Host_Shutdown so we dont need testing for recursion.
 

Variables

qbool sys_supportsdlgetticks = false
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 37 of file sys_null.c.

38{
39 return Sys_Main(argc, argv);
40}
string argv(float n)
int Sys_Main(int argc, char *argv[])
main() but renamed so we can wrap it in sys_sdl.c and sys_null.c to avoid needing to include SDL....

References argv(), and Sys_Main().

◆ Sys_SDL_Delay()

void Sys_SDL_Delay ( unsigned int milliseconds)

Definition at line 32 of file sys_null.c.

33{
34 Sys_Error("Called Sys_SDL_Delay on non-SDL target");
35}
void Sys_Error(const char *error,...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN
Causes the entire program to exit ASAP.
Definition sys_shared.c:724

◆ Sys_SDL_Dialog()

void Sys_SDL_Dialog ( const char * title,
const char * string )

Definition at line 13 of file sys_null.c.

14{
15}

◆ Sys_SDL_GetClipboardData()

char * Sys_SDL_GetClipboardData ( void )

Definition at line 17 of file sys_null.c.

18{
19 return NULL;
20}
#define NULL
Definition qtypes.h:12

◆ Sys_SDL_GetTicks()

unsigned int Sys_SDL_GetTicks ( void )

Definition at line 27 of file sys_null.c.

28{
29 Sys_Error("Called Sys_SDL_GetTicks on non-SDL target");
30 return 0;
31}

◆ Sys_SDL_Init()

void Sys_SDL_Init ( void )

Definition at line 22 of file sys_null.c.

23{
24}

◆ Sys_SDL_Shutdown()

void Sys_SDL_Shutdown ( void )

INFO: This is only called by Host_Shutdown so we dont need testing for recursion.

Definition at line 9 of file sys_null.c.

10{
11}

Variable Documentation

◆ sys_supportsdlgetticks

qbool sys_supportsdlgetticks = false

Definition at line 26 of file sys_null.c.