mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 01:00:53 +00:00
port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
This commit is contained in:
parent
e471c785d8
commit
af032b8d55
121 changed files with 1055 additions and 3086 deletions
|
@ -29,7 +29,21 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#include "qwsvdef.h"
|
||||
#include "pr_comp.h"
|
||||
#include "progs.h"
|
||||
#include "console.h"
|
||||
#include "server.h"
|
||||
#include "world.h"
|
||||
#include "msg.h"
|
||||
#include "cmd.h"
|
||||
#include "commdef.h"
|
||||
#include "info.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
void SV_Error (char *error, ...);
|
||||
|
||||
#define RETURN_EDICT(e) (((int *)pr_globals)[OFS_RETURN] = EDICT_TO_PROG(e))
|
||||
#define RETURN_STRING(s) (((int *)pr_globals)[OFS_RETURN] = PR_SetString(s))
|
||||
|
@ -1562,8 +1576,8 @@ void PF_logfrag (void)
|
|||
|
||||
SZ_Print (&svs.log[svs.logsequence&1], s);
|
||||
if (sv_fraglogfile) {
|
||||
fprintf (sv_fraglogfile, s);
|
||||
fflush (sv_fraglogfile);
|
||||
Qprintf (sv_fraglogfile, s);
|
||||
Qflush (sv_fraglogfile);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue