Game cleanup.

This commit is contained in:
svdijk 2012-11-06 20:35:02 +01:00 committed by Yamagi Burmeister
parent eb8a2d792f
commit 1c0934f462
4 changed files with 8 additions and 4 deletions

View file

@ -286,7 +286,7 @@ char *Sys_FindFirst(char *path, unsigned musthave, unsigned canthave);
char *Sys_FindNext(unsigned musthave, unsigned canthave); char *Sys_FindNext(unsigned musthave, unsigned canthave);
void Sys_FindClose(void); void Sys_FindClose(void);
/* this is only here so the functions in q_shared.c and q_shwin.c can link */ /* this is only here so the functions in shared source files can link */
void Sys_Error(char *error, ...); void Sys_Error(char *error, ...);
void Com_Printf(char *msg, ...); void Com_Printf(char *msg, ...);

View file

@ -145,6 +145,10 @@ GetGameAPI(game_import_t *import)
return &globals; return &globals;
} }
/*
* this is only here so the functions
* in shared source files can link
*/
void void
Sys_Error(char *error, ...) Sys_Error(char *error, ...)
{ {

View file

@ -2194,7 +2194,7 @@ PrintPmove(pmove_t *pm)
c1 = CheckBlock(&pm->s, sizeof(pm->s)); c1 = CheckBlock(&pm->s, sizeof(pm->s));
c2 = CheckBlock(&pm->cmd, sizeof(pm->cmd)); c2 = CheckBlock(&pm->cmd, sizeof(pm->cmd));
Com_Printf("sv %3i:%i %i\n", pm->cmd.impulse, c1, c2); gi.dprintf("sv %3i:%i %i\n", pm->cmd.impulse, c1, c2);
} }
/* /*

View file

@ -1615,8 +1615,8 @@ R_GetRefAPI(refimport_t rimp)
} }
/* /*
* this is only here so the functions in * this is only here so the functions
* shared.c, mem.c and hunk.c can link * in shared source files can link
*/ */
void void
Sys_Error(char *error, ...) Sys_Error(char *error, ...)