Fix wrong forward declares (struct/class)

Requires removing the now-matching symbols from jsystem_stubs.cpp
This commit is contained in:
PJB3005
2026-02-24 16:56:49 +01:00
parent 79e9fa257f
commit fcf1f4bed1
33 changed files with 45 additions and 54 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ protected:
class J3DMaterial;
class J3DVertexData;
class J3DDrawMtxData;
struct J3DDrawMtxData;
enum J3DShpFlag {
J3DShpFlag_Visible = 0x0001,
+1 -1
View File
@@ -5,7 +5,7 @@
#include "JSystem/JGadget/std-list.h"
class JAWWindow;
class JUTGamePad;
struct JUTGamePad;
namespace JAWExtSystem {
BOOL registWindow(u32, JAWWindow*, int, int);
+1 -1
View File
@@ -7,7 +7,7 @@
#include "JSystem/JGeometry.h"
class JAWGraphContext;
class JUTGamePad;
struct JUTGamePad;
class JUTPoint {
public:
+1 -1
View File
@@ -6,7 +6,7 @@
#include "JSystem/JHostIO/JHICommonMem.h"
#include "JSystem/JAudio2/JAISound.h"
class JAISeqData;
struct JAISeqData;
class JADHioReceiver : JHITag<JHICmnMem> {
public:
+1 -1
View File
@@ -6,7 +6,7 @@
#include "JSystem/JUtility/JUTAssert.h"
class JAIStreamAramMgr;
class JAIStreamDataMgr;
struct JAIStreamDataMgr;
/**
* @ingroup jsystem-jaudio
+1 -1
View File
@@ -8,7 +8,7 @@
class JASChannel;
namespace JASDsp {
class TChannel;
struct TChannel;
}
/**
+1 -1
View File
@@ -8,7 +8,7 @@ class JASInstParam;
class JASWaveBank;
namespace JASDsp {
class TChannel;
struct TChannel;
}
/**
+1 -1
View File
@@ -12,7 +12,7 @@
struct JASSoundParams;
namespace JASDsp {
class TChannel;
struct TChannel;
extern const u32 FILTER_MODE_IIR;
};
+4 -4
View File
@@ -6,10 +6,10 @@
#include "JSystem/JKernel/JKRDisposer.h"
#include <bitset>
class JAISeqData;
class JAISeqDataMgr;
class JAISeqDataUser;
class JAIStreamDataMgr;
struct JAISeqData;
struct JAISeqDataMgr;
struct JAISeqDataUser;
struct JAIStreamDataMgr;
class JASVoiceBank;
class JAUBankTableLink;
class JAUDisposer_;
+2 -2
View File
@@ -3,8 +3,8 @@
#include "JSystem/JAudio2/JAISeqDataMgr.h"
class JAISeqData;
class JAISeqDataRegion;
struct JAISeqData;
struct JAISeqDataRegion;
/**
* @ingroup jsystem-jaudio
+2 -2
View File
@@ -4,8 +4,8 @@
#include "JSystem/JAudio2/JAISeqDataMgr.h"
#include "JSystem/JSupport/JSUList.h"
class JAISeqData;
class JAISeqDataUser;
struct JAISeqData;
struct JAISeqDataUser;
class JKRArchive;
/**
+2 -2
View File
@@ -33,8 +33,8 @@ struct JORNodeEvent : JOREvent {
/* 0x00 */ u32 field_0x0;
};
struct JORMContext;
struct JORServer;
class JORMContext;
class JORServer;
class JOREventListener {
public:
+1 -1
View File
@@ -3,7 +3,7 @@
#include <dolphin/gx.h>
class JPAEmitterWorkData;
struct JPAEmitterWorkData;
class JPABaseParticle;
class JKRHeap;
+1 -1
View File
@@ -3,7 +3,7 @@
#include <dolphin/gx.h>
class JPAEmitterWorkData;
struct JPAEmitterWorkData;
class JPABaseParticle;
/**
+1 -1
View File
@@ -5,7 +5,7 @@
#include <dolphin/types.h>
class JPAEmitterWorkData;
struct JPAEmitterWorkData;
/**
* @ingroup jsystem-jparticle
+1 -1
View File
@@ -3,7 +3,7 @@
#include <dolphin/types.h>
class JPAEmitterWorkData;
struct JPAEmitterWorkData;
/**
* @ingroup jsystem-jparticle
+1 -1
View File
@@ -3,7 +3,7 @@
#include <dolphin/types.h>
class JPAEmitterWorkData;
struct JPAEmitterWorkData;
class JPABaseParticle;
/**
+1 -1
View File
@@ -5,7 +5,7 @@
#include <dolphin/types.h>
class JKRHeap;
class JPAEmitterWorkData;
struct JPAEmitterWorkData;
class JPABaseParticle;
class JPAFieldBlock;
+1 -1
View File
@@ -4,7 +4,7 @@
#include <dolphin/types.h>
class JKRHeap;
class JPAEmitterWorkData;
struct JPAEmitterWorkData;
class JPABaseEmitter;
class JPABaseParticle;
@@ -8,7 +8,7 @@
class J2DOrthoGraph;
class JUTFont;
class JUTGamePad;
struct JUTGamePad;
namespace JStudio {
class TControl;
+1 -1
View File
@@ -12,7 +12,7 @@ class cM3dGPla;
class cM3dGSph;
class cM3dGTri;
class csXyz;
class cXyz;
struct cXyz;
struct cM3d_Range {
/* 0x0 */ f32 mMin;
+1 -1
View File
@@ -61,7 +61,7 @@ public:
static Z2CreatureLink* getLink() { return mLinkPtr; }
friend class Z2LinkSoundStarter;
friend class Z2RideSoundStarter;
friend struct Z2RideSoundStarter;
private:
/* 0x90 Z2LinkSoundStarter */
+1 -1
View File
@@ -4,7 +4,7 @@
#include "Z2AudioLib/Z2SoundHandles.h"
#include "JSystem/JAudio2/JAUSoundAnimator.h"
class Z2SoundStarter;
struct Z2SoundStarter;
class Z2SoundObjBase : public Z2SoundHandles
#if DEBUG
+1 -1
View File
@@ -8,7 +8,7 @@
#include "d/d_bg_s_acch.h"
class dBgW;
class msg_class;
struct msg_class;
/**
* @ingroup actors-enemies
+1 -1
View File
@@ -4,7 +4,7 @@
#include "global.h"
#include "f_pc/f_pc_base.h"
class msg_class;
struct msg_class;
struct event_binary_data_header {
/* 0x00 */ u32 eventTop; // offset to Event chunk
+1 -1
View File
@@ -6,7 +6,7 @@
#include "JSystem/JUtility/JUTResFont.h"
#include "JSystem/JKernel/JKRExpHeap.h"
class JUTGamePad;
struct JUTGamePad;
class dJcame_c {
public:
+1 -1
View File
@@ -10,7 +10,7 @@ namespace JStudio {
class J2DOrthoGraph;
class JKRExpHeap;
class JUTGamePad;
struct JUTGamePad;
class JUTResFont;
class tParse_;
+7 -7
View File
@@ -12,7 +12,7 @@
class JPABaseEmitter;
class cBgS_PolyInfo;
class color_RGB_class;
struct color_RGB_class;
struct LIGHT_INFLUENCE {
/* 0x00 */ cXyz mPosition;
@@ -148,12 +148,12 @@ struct LightStatus {
}; // Size: 0xE8
class fopAc_ac_c;
class dKyd_lightSchejule;
class stage_palette_info_class;
class stage_pselect_info_class;
class stage_envr_info_class;
class stage_vrboxcol_info_class;
class stage_plight_info_class;
struct dKyd_lightSchejule;
struct stage_palette_info_class;
struct stage_pselect_info_class;
struct stage_envr_info_class;
struct stage_vrboxcol_info_class;
struct stage_plight_info_class;
class kytag08_class;
struct dKy_pol_arg_struct {
+1 -1
View File
@@ -5,7 +5,7 @@
#include "SSystem/SComponent/c_sxyz.h"
#include "SSystem/SComponent/c_xyz.h"
class WIND_INFLUENCE;
struct WIND_INFLUENCE;
void dKyw_wether_draw();
void dKyw_wether_delete();
+1 -1
View File
@@ -16,7 +16,7 @@ enum {
};
class fopAc_ac_c;
class msg_class;
struct msg_class;
// all mesg_flow_node structs members might be wrong
struct mesg_flow_node {
+1 -1
View File
@@ -8,7 +8,7 @@
class JKRExpHeap;
class JKRHeap;
class fopAc_ac_c;
class msg_class;
struct msg_class;
struct msg_process_profile_definition {
/* 0x00 */ leaf_process_profile_definition base;
+2 -2
View File
@@ -221,7 +221,7 @@ private:
/* 0x14 */ J3DAnmCluster* mpAnm;
};
class J3DTransformInfo;
struct J3DTransformInfo;
class mDoExt_AnmRatioPack {
public:
@@ -832,7 +832,7 @@ intptr_t mDoExt_getSafeZeldaHeapSize();
JKRHeap* mDoExt_createHostIOHeap(u32, JKRHeap*);
#endif
struct JUTFont;
class JUTFont;
JUTFont* mDoExt_getMesgFont();
JUTFont* mDoExt_getSubFont();
JUTFont* mDoExt_getRubyFont();
-9
View File
@@ -5,10 +5,6 @@
#pragma mark J3DShapeTable
#include "JSystem/J3DGraphAnimator/J3DShapeTable.h"
void J3DShapeTable::initShapeNodes(J3DDrawMtxData* mtxData, J3DVertexData* vtxData) {
puts("J3DShapeTable::initShapeNodes is a stub");
}
// JAISe::JAISeMgr_startID_, JAISeq::JAISeqMgr_startID_, JAIStream::JAIStreamMgr_startID_
// are compiled from their real source files (JAISe.obj, JAISeq.obj, JAIStream.obj)
@@ -25,11 +21,6 @@ JAUSoundNameTable* JAUSection::newSoundNameTable(void const* data, u32 size, boo
return nullptr;
}
JAIStreamDataMgr* JAUSection::newStreamFileTable(void const* data, bool flag) {
puts("JAUSection::newStreamFileTable is a stub");
return nullptr;
}
#pragma mark JASHeap
#include "JSystem/JAudio2/JASHeapCtrl.h"