Try to fix some compile issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5815 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
320cf1cee5
commit
6bb6acde94
4 changed files with 10 additions and 8 deletions
|
@ -23,8 +23,8 @@ BUILD_WEB=y
|
|||
PLUGINS_LINUXx86="qi ezhud xmpp irc"
|
||||
PLUGINS_LINUXx64="qi ezhud xmpp irc"
|
||||
PLUGINS_LINUXx32="qi ezhud xmpp irc"
|
||||
PLUGINS_WIN32="avplug ode qi ezhud xmpp irc"
|
||||
PLUGINS_WIN64="avplug ode qi ezhud xmpp irc"
|
||||
PLUGINS_WIN32="ffmpeg ode qi ezhud xmpp irc"
|
||||
PLUGINS_WIN64="ffmpeg ode qi ezhud xmpp irc"
|
||||
THREADS="-j 4"
|
||||
|
||||
TARGETS_LINUX="qcc-rel rel dbg vk-rel plugins-rel plugins-dbg"
|
||||
|
|
|
@ -1305,7 +1305,9 @@ void M_Menu_Preset_f (void)
|
|||
#endif
|
||||
MB_CONSOLECMDRETURN("^7vanilla (softwarey)", "fps_preset vanilla\n", "This is for purists! Party like its 1995! No sanity spared!", presetoption[3]),
|
||||
MB_CHECKBOXCVAR("anim snapping", r_nolerp, 1),
|
||||
#if defined(GLQUAKE)
|
||||
MB_CHECKBOXCVAR("model swimming", gl_affinemodels, 0),
|
||||
#endif
|
||||
MB_CONSOLECMDRETURN("^7normal (faithful)", "fps_preset normal\n", "An updated but still faithful appearance, using content replacements where applicable", presetoption[4]),
|
||||
MB_CONSOLECMDRETURN("^7nice (dynamic)", "fps_preset nice\n", "For people who like nice things, but still want to actually play", presetoption[5]),
|
||||
MB_COMBOCVAR("gen deluxemaps", r_deluxemapping_cvar, deluxeopts, NULL, NULL),
|
||||
|
|
|
@ -549,7 +549,7 @@ static void BIH_TestToTriangle(struct bihtrace_s *fte_restrict tr, const struct
|
|||
tr->trace.contents |= info->contents;
|
||||
}
|
||||
|
||||
#ifdef Q2BSPS
|
||||
#if defined(Q2BSPS) || defined(Q3BSPS)
|
||||
static void BIH_ClipBoxToBrush (struct bihtrace_s *fte_restrict tr, const q2cbrush_t *brush)
|
||||
{
|
||||
int i, j;
|
||||
|
@ -838,7 +838,7 @@ static void BIH_RecursiveTrace (struct bihtrace_s *fte_restrict tr, const struct
|
|||
//if the tree were 1d, we wouldn't need to be so careful with the bounds, but if the trace is long then we want to avoid hitting all surfaces within that entire-map-encompassing move aabb
|
||||
switch(node->type)
|
||||
{ //leaf
|
||||
#ifdef Q2BSPS
|
||||
#if defined(Q2BSPS) || defined(Q3BSPS)
|
||||
case BIH_BRUSH:
|
||||
if (node->data.contents & tr->hitcontents)
|
||||
{
|
||||
|
@ -1108,7 +1108,7 @@ static void BIH_RecursiveTest (struct bihtrace_s *fte_restrict tr, const struct
|
|||
//with BIH, its possible for a large child node to have a box larger than its sibling.
|
||||
switch(node->type)
|
||||
{
|
||||
#ifdef Q2BSPS
|
||||
#if defined(Q2BSPS) || defined(Q3BSPS)
|
||||
case BIH_BRUSH:
|
||||
if (node->data.contents & tr->hitcontents)
|
||||
{
|
||||
|
@ -1384,7 +1384,7 @@ unsigned int BIH_TestContents (const struct bihnode_s *fte_restrict node, const
|
|||
restart:
|
||||
switch(node->type)
|
||||
{ //leaf
|
||||
#ifdef Q2BSPS
|
||||
#if defined(Q2BSPS) || defined(Q3BSPS)
|
||||
case BIH_BRUSH:
|
||||
{
|
||||
q2cbrush_t *b = node->data.brush;
|
||||
|
|
|
@ -63,7 +63,7 @@ enum bihtype_e
|
|||
|
||||
|
||||
//leaf types
|
||||
#ifdef Q2BSPS
|
||||
#if defined(Q2BSPS) || defined(Q3BSPS)
|
||||
BIH_BRUSH,
|
||||
#endif
|
||||
#ifdef Q3BSPS
|
||||
|
@ -76,7 +76,7 @@ struct bihdata_s
|
|||
{
|
||||
unsigned int contents;
|
||||
union {
|
||||
#ifdef Q2BSPS
|
||||
#if defined(Q2BSPS) || defined(Q3BSPS)
|
||||
q2cbrush_t *brush;
|
||||
#endif
|
||||
#ifdef Q3BSPS
|
||||
|
|
Loading…
Reference in a new issue