mirror of https://github.com/AxioDL/metaforce.git
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:
parent
b32bc296ad
commit
27861d5c78
|
@ -25,7 +25,7 @@ public:
|
||||||
virtual bool HasConstantUV() const = 0;
|
virtual bool HasConstantUV() const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CUVEConstant : public CUVElement {
|
class CUVEConstant : public CUVElement {
|
||||||
TLockedToken<CTexture> x4_tex;
|
TLockedToken<CTexture> x4_tex;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -38,7 +38,7 @@ public:
|
||||||
bool HasConstantUV() const override { return true; }
|
bool HasConstantUV() const override { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CUVEAnimTexture : public CUVElement {
|
class CUVEAnimTexture : public CUVElement {
|
||||||
TLockedToken<CTexture> x4_tex;
|
TLockedToken<CTexture> x4_tex;
|
||||||
int x10_tileW, x14_tileH, x18_strideW, x1c_strideH;
|
int x10_tileW, x14_tileH, x18_strideW, x1c_strideH;
|
||||||
int x20_tiles;
|
int x20_tiles;
|
||||||
|
|
Loading…
Reference in New Issue