- decoupled the software renderer entirely from FTexture - it will only look at FSoftwareTexture now, all access to the texture manager has been wrapped.

This commit is contained in:
Christoph Oelckers 2020-04-14 00:42:13 +02:00
commit 9593cb56ae
23 changed files with 170 additions and 162 deletions

View file

@ -60,7 +60,12 @@ public:
{
return InternalGetTexture(i, animate, true, false);
}
FGameTexture* GameByIndex(int i, bool animate = false)
{
return reinterpret_cast<FGameTexture*>(ByIndex(i, animate));
}
FTexture *FindTexture(const char *texname, ETextureType usetype = ETextureType::MiscPatch, BITFIELD flags = TEXMAN_TryAny);
bool OkForLocalization(FTextureID texnum, const char *substitute, int locnum);