From 5e7b59f2fe2f0a7e39d2b7ba6f9e19f3bbdf3254 Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Tue, 29 Apr 2025 09:49:09 -0700 Subject: 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 --- include/JSystem/J3DGraphBase/J3DShape.h | 2 +- include/JSystem/J3DGraphBase/J3DTevs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/JSystem/J3DGraphBase') 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); -- cgit v1.2.3