|
|
1.1 root 1: // sys_null.h -- null system driver to aid porting efforts
2:
3: #include "../qcommon/qcommon.h"
4: #include "errno.h"
5:
6: int curtime;
7:
8: unsigned sys_frame_time;
9:
10:
11: void Sys_mkdir (char *path)
12: {
13: }
14:
15: void Sys_Error (char *error, ...)
16: {
17: va_list argptr;
18:
19: printf ("Sys_Error: ");
20: va_start (argptr,error);
21: vprintf (error,argptr);
22: va_end (argptr);
23: printf ("\n");
24:
25: exit (1);
26: }
27:
28: void Sys_Quit (void)
29: {
30: exit (0);
31: }
32:
33: void Sys_UnloadGame (void)
34: {
35: }
36:
37: void *Sys_GetGameAPI (void *parms)
38: {
39: return NULL;
40: }
41:
42: char *Sys_ConsoleInput (void)
43: {
44: return NULL;
45: }
46:
47: void Sys_ConsoleOutput (char *string)
48: {
49: }
50:
51: void Sys_SendKeyEvents (void)
52: {
53: }
54:
55: void Sys_AppActivate (void)
56: {
57: }
58:
59: void Sys_CopyProtect (void)
60: {
61: }
62:
63: char *Sys_GetClipboardData( void )
64: {
65: return NULL;
66: }
67:
68: void *Hunk_Begin (int maxsize)
69: {
70: return NULL;
71: }
72:
73: void *Hunk_Alloc (int size)
74: {
75: return NULL;
76: }
77:
78: void Hunk_Free (void *buf)
79: {
80: }
81:
82: int Hunk_End (void)
83: {
84: return 0;
85: }
86:
87: int Sys_Milliseconds (void)
88: {
89: return 0;
90: }
91:
92: void Sys_Mkdir (char *path)
93: {
94: }
95:
96: char *Sys_FindFirst (char *path, unsigned musthave, unsigned canthave)
97: {
98: return NULL;
99: }
100:
101: char *Sys_FindNext (unsigned musthave, unsigned canthave)
102: {
103: return NULL;
104: }
105:
106: void Sys_FindClose (void)
107: {
108: }
109:
110: void Sys_Init (void)
111: {
112: }
113:
114:
115: //=============================================================================
116:
117: void main (int argc, char **argv)
118: {
119: Qcommon_Init (argc, argv);
120:
121: while (1)
122: {
123: Qcommon_Frame (0.1);
124: }
125: }
126:
127:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.