- added a 'forceworldpanning' map flag.

Since unfortunately this cannot be set as a general default, let's at least make it as easy as possible to disable that panning+scaling madness without having to edit the texture data.
This commit is contained in:
Christoph Oelckers 2018-12-15 16:29:37 +01:00
commit 74ea9143ee
4 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include "textures/textures.h"
#include "v_video.h"
#include "g_levellocals.h"
struct FSoftwareTextureSpan
@ -48,7 +49,7 @@ public:
// The feature from hell... :(
bool useWorldPanning() const
{
return mTexture->bWorldPanning;
return mTexture->bWorldPanning || (level.flags3 & LEVEL3_FORCEWORLDPANNING);
}
bool isMasked()