mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-09 18:27:17 -04:00
Start linking some TUs on debug and PAL (#2612)
* Fix clang union handling (affects all TUs including d_camera.h) Union members with non-trivial ctors/dtors is undefined behavior and clangd normally throws a fit and refuses to parse the whole union, but it seems to be possible to ifdef the problematic ctors out for non-mwerks compilers and explicitly tell modern compilers to use the defaults instead. Thanks to encounter for this fix. * Link all TUs that already match on debug In order to link TUs for debug, most functions seem to need to have their alignment set to 16 in symbols.txt. There are a few hundred functions that seem to be the exception and break when their alignment is set to 16, but I don't know the reason for this. * Remove some fakematches (nosyminline/sym off) for weak func order in retail * Fix clang not knowing that MSL_C++ is C++ * Link more debug TUs * Fix missing PAL split * Fix wrong slashes being used in includes * RZDE01_00: Fix incorrect capitalization in config.yml * Add RZDE01_00 to configure task * Revert configure.py to use MatchingFor * Fix PAL splits and symbols, link matching PAL TUs
This commit is contained in:
@@ -52,6 +52,7 @@ struct JFWSystem {
|
||||
static JUTResFont* systemFont;
|
||||
static JUTConsoleManager* systemConsoleManager;
|
||||
static JUTConsole* systemConsole;
|
||||
static bool sInitCalled;
|
||||
};
|
||||
|
||||
#endif /* JFWSYSTEM_H */
|
||||
|
||||
@@ -254,7 +254,6 @@ struct TObject_actor : public TObject {
|
||||
/* 80286910 */ TObject_actor(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_actor*);
|
||||
|
||||
/* 802881A4 */ virtual ~TObject_actor() {}
|
||||
/* 8028694C */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
@@ -272,7 +271,6 @@ struct TObject_ambientLight : public TObject {
|
||||
/* 80286CFC */ TObject_ambientLight(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_ambientLight*);
|
||||
|
||||
/* 80288144 */ virtual ~TObject_ambientLight() {}
|
||||
/* 80286D38 */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
@@ -306,7 +304,6 @@ struct TObject_camera : public TObject {
|
||||
/* 80286E7C */ TObject_camera(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_camera*);
|
||||
|
||||
/* 802880E4 */ virtual ~TObject_camera() {}
|
||||
/* 80286EB8 */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
@@ -330,7 +327,6 @@ struct TObject_fog : public TObject {
|
||||
/* 802871DC */ TObject_fog(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_fog*);
|
||||
|
||||
/* 80288084 */ virtual ~TObject_fog() {}
|
||||
/* 80287218 */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
@@ -362,7 +358,6 @@ struct TObject_light : public TObject {
|
||||
/* 80287368 */ TObject_light(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_light*);
|
||||
|
||||
/* 80288024 */ virtual ~TObject_light() {}
|
||||
/* 802873A4 */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
@@ -376,7 +371,6 @@ struct TObject_message : public TObject {
|
||||
/* 80287640 */ TObject_message(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_message*);
|
||||
|
||||
/* 80287FC4 */ virtual ~TObject_message() {}
|
||||
/* 8028767C */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
@@ -411,7 +405,6 @@ struct TObject_particle : public TObject {
|
||||
/* 8028776C */ TObject_particle(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_particle*);
|
||||
|
||||
/* 80287F64 */ virtual ~TObject_particle() {}
|
||||
/* 802877A8 */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
@@ -450,7 +443,6 @@ struct TObject_sound : public TObject {
|
||||
/* 80287B9C */ TObject_sound(JStudio::stb::data::TParse_TBlock_object const&,
|
||||
JStudio::TAdaptor_sound*);
|
||||
|
||||
/* 80287F04 */ virtual ~TObject_sound() {}
|
||||
/* 80287BD8 */ virtual void do_paragraph(u32, void const*, u32);
|
||||
};
|
||||
|
||||
|
||||
@@ -118,7 +118,6 @@ public:
|
||||
class TObject_control : public TObject {
|
||||
public:
|
||||
/* 80289068 */ TObject_control(void const*, u32);
|
||||
/* 80289134 */ ~TObject_control() {}
|
||||
};
|
||||
|
||||
// Manages TObjects
|
||||
|
||||
@@ -44,7 +44,6 @@ struct TAdaptor_particle : public JStudio::TAdaptor_particle {
|
||||
pOld = NULL;
|
||||
JUT_ASSERT(113, pThis_!=0);
|
||||
}
|
||||
/* 8028E700 */ virtual ~TJPACallback_emitter_() {}
|
||||
/* 8028ECC0 */ virtual void execute(JPABaseEmitter*);
|
||||
/* 8028F060 */ virtual void executeAfter(JPABaseEmitter*);
|
||||
/* 8028F098 */ virtual void draw(JPABaseEmitter*);
|
||||
|
||||
@@ -11,8 +11,6 @@ class JKRFile;
|
||||
*/
|
||||
class JSUFileInputStream : public JSURandomInputStream {
|
||||
public:
|
||||
virtual ~JSUFileInputStream() {}
|
||||
|
||||
// TODO: fix return values
|
||||
/* 802DC638 */ JSUFileInputStream(JKRFile*);
|
||||
/* 802DC67C */ u32 readData(void*, s32);
|
||||
|
||||
Reference in New Issue
Block a user