Fix bitflags enum ETextureFlags for C++

This commit is contained in:
Eidolon 2026-03-31 19:04:05 -05:00
parent 34697855d4
commit 1bea669e8a

View file

@ -249,15 +249,13 @@ typedef int EPolyFlags;
typedef int ESurfFlags; typedef int ESurfFlags;
#define SF_DYNLIGHT (0x00000001) #define SF_DYNLIGHT (0x00000001)
enum ETextureFlags typedef int ETextureFlags;
{ #define TF_WRAPX (0x00000001) // wrap around X
TF_WRAPX = 0x00000001, // wrap around X #define TF_WRAPY (0x00000002) // wrap around Y
TF_WRAPY = 0x00000002, // wrap around Y #define TF_WRAPXY (TF_WRAPY|TF_WRAPX) // very common so use alias is more easy
TF_WRAPXY = TF_WRAPY|TF_WRAPX, // very common so use alias is more easy #define TF_CHROMAKEYED (0x00000010)
TF_CHROMAKEYED = 0x00000010, #define TF_TRANSPARENT (0x00000040) // texture with some alpha == 0
TF_TRANSPARENT = 0x00000040, // texture with some alpha == 0 #define TF_BRIGHTMAP (0x00000080)
TF_BRIGHTMAP = 0x00000080,
};
struct FTextureInfo struct FTextureInfo
{ {