mirror of
https://github.com/zeldaret/tww.git
synced 2026-10-09 13:36:50 -04:00
Redundant Struct Declarations
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include "JSystem/J3DGraphBase/J3DVertex.h"
|
||||
#include "JSystem/J3DGraphBase/J3DMaterial.h"
|
||||
|
||||
typedef struct _GXColor GXColor;
|
||||
class JUTNameTab;
|
||||
|
||||
enum J3DMaterialCopyFlag {
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "dolphin/mtx/vec.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef struct _GXColor GXColor;
|
||||
class J3DModel;
|
||||
class J3DAnmVtxColor;
|
||||
class J3DVertexBuffer;
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
#include "dolphin/os/OSAlarm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
typedef struct _GXColor GXColor;
|
||||
typedef struct _GXRenderModeObj GXRenderModeObj;
|
||||
class JKRHeap;
|
||||
|
||||
typedef void (*JFWDisplayUnkFunc)(void);
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
#include "JSystem/JStudio/JStudio/jstudio-control.h"
|
||||
#include "limits.h"
|
||||
|
||||
typedef struct _GXColor GXColor;
|
||||
|
||||
namespace JStudio {
|
||||
namespace data {
|
||||
enum TEOperationData {
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
#include "dolphin/os/OSError.h"
|
||||
#include "global.h"
|
||||
|
||||
typedef struct _GXRenderModeObj GXRenderModeObj;
|
||||
typedef struct OSContext OSContext;
|
||||
class JUTDirectPrint;
|
||||
|
||||
class JUTExternalFB {
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "JSystem/JUtility/JUTVideo.h"
|
||||
|
||||
typedef struct _GXRenderModeObj GXRenderModeObj;
|
||||
class JKRHeap;
|
||||
|
||||
class JUTXfb {
|
||||
|
||||
@@ -15,7 +15,6 @@ class cCcD_TriAttr;
|
||||
class cCcD_AabAttr;
|
||||
class cCcD_CylAttr;
|
||||
class cCcD_SphAttr;
|
||||
typedef struct _GXColor GXColor;
|
||||
|
||||
enum cCcD_AtSPrm_e {
|
||||
/* 0x01 */ cCcD_AtSPrm_Set_e = 0x01,
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ public:
|
||||
// void ChkDeleteActorRegist(fopAc_ac_c*) {}
|
||||
// void DebugDrawPoly(dBgW&) {}
|
||||
// void Draw() {}
|
||||
// void DrawPoly(cBgS_PolyInfo&, _GXColor&) {}
|
||||
// void DrawPoly(cBgS_PolyInfo&, GXColor&) {}
|
||||
dBgW* GetBgWPointer(cBgS_PolyInfo& i_poly) { return (dBgW*)cBgS::GetBgWPointer(i_poly); }
|
||||
// void GetPolyCamId(cBgS_PolyInfo&) {}
|
||||
// void GroundCross(cBgS_GndChk*) {}
|
||||
|
||||
+1
-1
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "SSystem/SComponent/c_bg_w.h"
|
||||
#include "SSystem/SComponent/c_sxyz.h"
|
||||
#include "dolphin/gx/GXStruct.h"
|
||||
|
||||
class dBgS_Acch;
|
||||
class cM3dGPla;
|
||||
@@ -14,7 +15,6 @@ class dBgS_CrrPos;
|
||||
class cBgS_PolyInfo;
|
||||
class fopAc_ac_c;
|
||||
class dBgS_CaptPoly;
|
||||
typedef struct _GXColor GXColor;
|
||||
|
||||
class dBgW : public cBgW {
|
||||
public:
|
||||
|
||||
@@ -596,11 +596,11 @@ public:
|
||||
// some calls to these functions define i_color inline which is illegal in C++ for a non-const
|
||||
// reference parameter - we add these overloads to enable standard compiler compatibility
|
||||
#if !__MWERKS__
|
||||
void update(u16 i_segs, f32 i_size, const _GXColor& i_color, u16 i_space, dKy_tevstr_c* i_tevStr) {
|
||||
update(i_segs, i_size, const_cast<_GXColor&>(i_color), i_space, i_tevStr);
|
||||
void update(u16 i_segs, f32 i_size, const GXColor& i_color, u16 i_space, dKy_tevstr_c* i_tevStr) {
|
||||
update(i_segs, i_size, const_cast<GXColor&>(i_color), i_space, i_tevStr);
|
||||
}
|
||||
void update(u16 i_segs, const _GXColor& i_color, dKy_tevstr_c* i_tevStr) {
|
||||
update(i_segs, const_cast<_GXColor&>(i_color), i_tevStr);
|
||||
void update(u16 i_segs, const GXColor& i_color, dKy_tevstr_c* i_tevStr) {
|
||||
update(i_segs, const_cast<GXColor&>(i_color), i_tevStr);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -267,7 +267,7 @@ BOOL daObjMkie::Act_c::chk_light() {
|
||||
|
||||
/* 00000DF4-00000E84 .text eff_break__Q29daObjMkie5Act_cFv */
|
||||
void daObjMkie::Act_c::eff_break() {
|
||||
_GXColor envColor;
|
||||
GXColor envColor;
|
||||
envColor.r = (u8)tevStr.mColorC0.r;
|
||||
envColor.g = (u8)tevStr.mColorC0.g;
|
||||
envColor.b = (u8)tevStr.mColorC0.b;
|
||||
|
||||
Reference in New Issue
Block a user