Build config tweaks.

Changed NOLEGACY to HAVE_LEGACY (the negation was annoying).
Added missing defines to the alternative build configs, and removed some obsolete ones.
Fixed a crash in svc_setportalstate.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5446 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-04-16 22:40:05 +00:00
parent 3ee3230f96
commit 9f46ea14ff
59 changed files with 497 additions and 280 deletions

View file

@ -60,12 +60,12 @@ typedef struct nqglobalvars_s
float *trace_allsolid;
float *trace_startsolid;
float *trace_fraction;
#ifndef NOLEGACY
#ifdef HAVE_LEGACY
float *trace_surfaceflagsf;
#endif
int *trace_surfaceflagsi;
string_t*trace_surfacename;
#ifndef NOLEGACY
#ifdef HAVE_LEGACY
float *trace_endcontentsf;
#endif
int *trace_endcontentsi;
@ -80,7 +80,7 @@ typedef struct nqglobalvars_s
int *trace_ent;
float *trace_inopen;
float *trace_inwater;
#ifndef NOLEGACY
#ifdef HAVE_LEGACY
string_t*trace_dphittexturename;
float *trace_dpstartcontents;
float *trace_dphitcontents;
@ -117,7 +117,7 @@ typedef struct nqglobalvars_s
#define P_VEC(v) (pr_global_struct->v)
#ifdef NOLEGACY
#ifndef HAVE_LEGACY
#define comfieldfloat_legacy(n,desc)
#else
#define comfieldfloat_legacy comfieldfloat