Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 4810 → Rev 4811

/polymer/eduke32/build/src/defs.c
250,7 → 250,7
{ "music", T_MUSIC },
{ "sound", T_SOUND },
{ "animsounds", T_ANIMSOUNDS }, // dummy
{ "nofloorpalrange", T_NOFLOORPALRANGE }, // dummy
{ "nofloorpalrange", T_NOFLOORPALRANGE },
{ "texhitscanrange", T_TEXHITSCANRANGE },
{ "nofullbrightrange", T_NOFULLBRIGHTRANGE },
// other stuff
467,6 → 467,20
makepalookup(p, NULL, r, g, b, 1);
}
break;
case T_NOFLOORPALRANGE:
{
int32_t b,e,i;
 
if (scriptfile_getnumber(script,&b)) break;
if (scriptfile_getnumber(script,&e)) break;
 
b = max(b, 1);
e = min(e, MAXPALOOKUPS-1);
 
for (i=b; i<=e; i++)
g_noFloorPal[i] = 1;
}
break;
case T_LOADGRP:
{
char *bs;
2050,15 → 2064,6
}
break;
 
case T_NOFLOORPALRANGE:
{
int32_t b,e;
 
if (EDUKE32_PREDICT_FALSE(scriptfile_getnumber(script,&b))) break;
if (EDUKE32_PREDICT_FALSE(scriptfile_getnumber(script,&e))) break;
}
break;
 
case T_TEXHITSCANRANGE:
case T_NOFULLBRIGHTRANGE:
{