CUVElement: Convert stateful structs into classes

Avoids exposing the internals of the data by default (since they were
previously fully accessible).
This commit is contained in:
Lioncash 2020-04-24 00:59:49 -04:00
parent b32bc296ad
commit 27861d5c78
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ public:
virtual bool HasConstantUV() const = 0;
};
struct CUVEConstant : public CUVElement {
class CUVEConstant : public CUVElement {
TLockedToken<CTexture> x4_tex;
public:
@ -38,7 +38,7 @@ public:
bool HasConstantUV() const override { return true; }
};
struct CUVEAnimTexture : public CUVElement {
class CUVEAnimTexture : public CUVElement {
TLockedToken<CTexture> x4_tex;
int x10_tileW, x14_tileH, x18_strideW, x1c_strideH;
int x20_tiles;