2
===========================================================================
3
Copyright (C) 1999-2005 Id Software, Inc.
5
This file is part of Quake III Arena source code.
7
Quake III Arena source code is free software; you can redistribute it
8
and/or modify it under the terms of the GNU General Public License as
9
published by the Free Software Foundation; either version 2 of the License,
10
or (at your option) any later version.
12
Quake III Arena source code is distributed in the hope that it will be
13
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
17
You should have received a copy of the GNU General Public License
18
along with Quake III Arena source code; if not, write to the Free Software
19
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
===========================================================================
22
// sys_null.h -- null system driver to aid porting efforts
26
#include "../qcommon/qcommon.h"
31
//===================================================================
33
void Sys_BeginStreamedFile( FILE *f, int readAhead ) {
36
void Sys_EndStreamedFile( FILE *f ) {
39
int Sys_StreamedRead( void *buffer, int size, int count, FILE *f ) {
40
return fread( buffer, size, count, f );
43
void Sys_StreamSeek( FILE *f, int offset, int origin ) {
44
fseek( f, offset, origin );
48
//===================================================================
51
void Sys_mkdir ( const char *path ) {
54
void Sys_Error (char *error, ...) {
57
printf ("Sys_Error: ");
58
va_start (argptr,error);
59
vprintf (error,argptr);
66
void Sys_Quit (void) {
70
void Sys_UnloadGame (void) {
73
void *Sys_GetGameAPI (void *parms) {
77
char *Sys_GetClipboardData( void ) {
81
int Sys_Milliseconds (void) {
85
void Sys_Mkdir (char *path) {
88
char *Sys_FindFirst (char *path, unsigned musthave, unsigned canthave) {
92
char *Sys_FindNext (unsigned musthave, unsigned canthave) {
96
void Sys_FindClose (void) {
99
void Sys_Init (void) {
103
void Sys_EarlyOutput( char *string ) {
104
printf( "%s", string );
108
void main (int argc, char **argv) {
109
Com_Init (argc, argv);