- put texture ID lists into a namespace.

These conflicted with each other.
This commit is contained in:
Christoph Oelckers 2023-05-01 12:32:00 +02:00
parent d6a7721802
commit 481f139962
2 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,9 @@
#pragma once
#include "ns.h"
#include "textureid.h"
BEGIN_BLD_NS
#define x(a) kTex##a,
enum ETextureIDs
@ -27,4 +30,6 @@ inline void InitTextureIDs()
{
aTexIds[i] = TexMan.CheckForTexture(texlistnames[i], ETextureType::Any);
}
}
}
END_BLD_NS

View file

@ -1,6 +1,9 @@
#pragma once
#include "ns.h"
#include "textureid.h"
BEGIN_PS_NS
#define x(a) kTex##a,
enum ETextureIDs
@ -27,4 +30,6 @@ inline void InitTextureIDs()
{
aTexIds[i] = TexMan.CheckForTexture(texlistnames[i], ETextureType::Any);
}
}
}
END_PS_NS