~-_-~-_-~ lift the curtain for... ~-_-~-_-~

True  Room
            over
            Room
    (also known as PROR)
  (or YAX)

 ~-_-~-_-~ ~~~~~~~~~~~~~~~~~~~~~~~ ~-_-~-_-~


git-svn-id: https://svn.eduke32.com/eduke32@1887 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-05-15 23:16:37 +00:00
parent 873375025f
commit 137cb06bd6
3 changed files with 12 additions and 3 deletions

View file

@ -62,6 +62,11 @@ extern "C" {
#define PR_LIGHT_PRIO_LOW 4
#define PR_LIGHT_PRIO_LOW_GAME 5
////////// True Room over Room (YAX == rot -17 of "PRO") //////////
#define YAX_ENABLE
//#define YAX_DEBUG
//#define ENGINE_SCREENSHOT_DEBUG
////////// yax defs //////////
#define SECTORFLD(Sect,Fld, Cf) (*((Cf) ? (&sector[Sect].floor##Fld) : (&sector[Sect].ceiling##Fld)))

View file

@ -1546,7 +1546,8 @@ static int32_t newnumwalls=-1;
static void ovh_whiteoutgrab(void)
{
int32_t i, j, k, startwall, endwall;
#ifdef YAX_ENABLE
#if 0
//def YAX_ENABLE
int16_t cb, fb;
#endif
@ -2047,7 +2048,8 @@ static int32_t trace_loop(int32_t j, uint8_t *visitedwall, int16_t *ignore_ret,
{
int16_t refsect, ignore;
int32_t k, n, refwall;
#ifdef YAX_ENABLE
#if 0
//def YAX_ENABLE
int32_t yaxp = (ignore_ret==NULL); // bleh
#else
UNREFERENCED_PARAMETER(trace_loop_yaxcf);

View file

@ -538,9 +538,11 @@ static inline int32_t yax_walldist(int32_t w)
// calculate distances to bunches and best start-drawing sectors
static void yax_scanbunches(int32_t bbeg, int32_t numhere, const uint8_t *lastgotsector)
{
int32_t bnchcnt, bunchnum, j, k, w, ns;
int32_t bnchcnt, bunchnum, j, k;
int32_t startwall, endwall;
UNREFERENCED_PARAMETER(lastgotsector);
scansector_retfast = 1;
scansector_collectsprites = 0;