summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2025-04-29 09:49:09 -0700
committerGitHub <noreply@github.com>2025-04-29 12:49:09 -0400
commit5e7b59f2fe2f0a7e39d2b7ba6f9e19f3bbdf3254 (patch)
tree07cf9ad7a5f7bf7423c0a520b8d64d024990136d /include/JSystem/J3DGraphBase
parenteef20535ac9416dcdc8164ecb2c9d4b7bb50f365 (diff)
Improve compiler compatibility (#743)
* fix returns * use standard C headers * struct/class mismatch * explicit this in template * switch variable scope * C standard compliance * & l-value
Diffstat (limited to 'include/JSystem/J3DGraphBase')
-rw-r--r--include/JSystem/J3DGraphBase/J3DShape.h2
-rw-r--r--include/JSystem/J3DGraphBase/J3DTevs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DShape.h b/include/JSystem/J3DGraphBase/J3DShape.h
index c96709d6..266636a8 100644
--- a/include/JSystem/J3DGraphBase/J3DShape.h
+++ b/include/JSystem/J3DGraphBase/J3DShape.h
@@ -55,7 +55,7 @@ public:
class J3DMaterial;
class J3DVertexData;
-class J3DDrawMtxData;
+struct J3DDrawMtxData;
enum J3DShpFlag {
J3DShpFlag_Hide = 0x0001,
diff --git a/include/JSystem/J3DGraphBase/J3DTevs.h b/include/JSystem/J3DGraphBase/J3DTevs.h
index 10f13e34..d3d75b26 100644
--- a/include/JSystem/J3DGraphBase/J3DTevs.h
+++ b/include/JSystem/J3DGraphBase/J3DTevs.h
@@ -204,7 +204,7 @@ struct J3DNBTScale : public J3DNBTScaleInfo {
Vec* getScale() { return &mScale; }
};
-class J3DTexCoord;
+struct J3DTexCoord;
void loadTexCoordGens(u32, J3DTexCoord*);
void loadNBTScale(J3DNBTScale& param_0);