mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
~-_-~-_-~ 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:
parent
873375025f
commit
137cb06bd6
3 changed files with 12 additions and 3 deletions
|
@ -62,6 +62,11 @@ extern "C" {
|
||||||
#define PR_LIGHT_PRIO_LOW 4
|
#define PR_LIGHT_PRIO_LOW 4
|
||||||
#define PR_LIGHT_PRIO_LOW_GAME 5
|
#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 //////////
|
////////// yax defs //////////
|
||||||
#define SECTORFLD(Sect,Fld, Cf) (*((Cf) ? (§or[Sect].floor##Fld) : (§or[Sect].ceiling##Fld)))
|
#define SECTORFLD(Sect,Fld, Cf) (*((Cf) ? (§or[Sect].floor##Fld) : (§or[Sect].ceiling##Fld)))
|
||||||
|
|
||||||
|
|
|
@ -1546,7 +1546,8 @@ static int32_t newnumwalls=-1;
|
||||||
static void ovh_whiteoutgrab(void)
|
static void ovh_whiteoutgrab(void)
|
||||||
{
|
{
|
||||||
int32_t i, j, k, startwall, endwall;
|
int32_t i, j, k, startwall, endwall;
|
||||||
#ifdef YAX_ENABLE
|
#if 0
|
||||||
|
//def YAX_ENABLE
|
||||||
int16_t cb, fb;
|
int16_t cb, fb;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2047,7 +2048,8 @@ static int32_t trace_loop(int32_t j, uint8_t *visitedwall, int16_t *ignore_ret,
|
||||||
{
|
{
|
||||||
int16_t refsect, ignore;
|
int16_t refsect, ignore;
|
||||||
int32_t k, n, refwall;
|
int32_t k, n, refwall;
|
||||||
#ifdef YAX_ENABLE
|
#if 0
|
||||||
|
//def YAX_ENABLE
|
||||||
int32_t yaxp = (ignore_ret==NULL); // bleh
|
int32_t yaxp = (ignore_ret==NULL); // bleh
|
||||||
#else
|
#else
|
||||||
UNREFERENCED_PARAMETER(trace_loop_yaxcf);
|
UNREFERENCED_PARAMETER(trace_loop_yaxcf);
|
||||||
|
|
|
@ -538,9 +538,11 @@ static inline int32_t yax_walldist(int32_t w)
|
||||||
// calculate distances to bunches and best start-drawing sectors
|
// calculate distances to bunches and best start-drawing sectors
|
||||||
static void yax_scanbunches(int32_t bbeg, int32_t numhere, const uint8_t *lastgotsector)
|
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;
|
int32_t startwall, endwall;
|
||||||
|
|
||||||
|
UNREFERENCED_PARAMETER(lastgotsector);
|
||||||
|
|
||||||
scansector_retfast = 1;
|
scansector_retfast = 1;
|
||||||
scansector_collectsprites = 0;
|
scansector_collectsprites = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue