mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-29 02:10:36 +00:00
- added a few missing World Tour bits.
Looks like GDX missed the redefined new types of the old bosses. Also guard the commentary sprites by a CVAR.
This commit is contained in:
parent
a690f44fc8
commit
53cf248269
2 changed files with 5 additions and 2 deletions
|
@ -38,6 +38,8 @@ source as it is released.
|
||||||
#include "prediction.h"
|
#include "prediction.h"
|
||||||
#include "names_d.h"
|
#include "names_d.h"
|
||||||
|
|
||||||
|
CVAR(Bool, dukewt_commentary, false, CVAR_ARCHIVE)
|
||||||
|
|
||||||
BEGIN_DUKE_NS
|
BEGIN_DUKE_NS
|
||||||
|
|
||||||
void animatesprites_d(int x,int y,int a,int smoothratio)
|
void animatesprites_d(int x,int y,int a,int smoothratio)
|
||||||
|
@ -58,7 +60,7 @@ void animatesprites_d(int x,int y,int a,int smoothratio)
|
||||||
{
|
{
|
||||||
case DEVELOPERCOMMENTARY:
|
case DEVELOPERCOMMENTARY:
|
||||||
case DEVELOPERCOMMENTARY + 1:
|
case DEVELOPERCOMMENTARY + 1:
|
||||||
if(!isWorldTour() /* || !cfg.bDevCommentry)*/)
|
if(!isWorldTour() || !dukewt_commentary)
|
||||||
t->xrepeat = t->yrepeat = 0;
|
t->xrepeat = t->yrepeat = 0;
|
||||||
break;
|
break;
|
||||||
case BLOODPOOL:
|
case BLOODPOOL:
|
||||||
|
|
|
@ -86,7 +86,8 @@ void initactorflags_d()
|
||||||
|
|
||||||
if (isWorldTour())
|
if (isWorldTour())
|
||||||
{
|
{
|
||||||
setflag(SFLAG_INTERNAL_BADGUY|SFLAG_NODAMAGEPUSH, { FIREFLY, BOSS5, BOSS5STAYPUT });
|
setflag(SFLAG_INTERNAL_BADGUY, { FIREFLY });
|
||||||
|
setflag(SFLAG_INTERNAL_BADGUY|SFLAG_NODAMAGEPUSH, { BOSS5, BOSS5STAYPUT, BOSS2STAYPUT, BOSS3STAYPUT });
|
||||||
}
|
}
|
||||||
|
|
||||||
settileflag(TFLAG_WALLSWITCH, {
|
settileflag(TFLAG_WALLSWITCH, {
|
||||||
|
|
Loading…
Reference in a new issue