diff --git a/polymer/eduke32/build/include/build.h b/polymer/eduke32/build/include/build.h index 3287b1c0f..7a14e37bd 100644 --- a/polymer/eduke32/build/include/build.h +++ b/polymer/eduke32/build/include/build.h @@ -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) ? (§or[Sect].floor##Fld) : (§or[Sect].ceiling##Fld))) diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index a8bf491be..8df4e6d4f 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -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); diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index bfedb17a2..9a767056e 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -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;