Merge every extern "C" to a common header (#157)

* create CommonFuncs.hpp

* merge every `extern "C"` to a common header

* fix regressions

* I'm dumb
This commit is contained in:
Yanis
2026-10-07 15:51:47 +02:00
committed by GitHub
parent 5ca3eeb61e
commit 2c723299b7
154 changed files with 745 additions and 911 deletions
+1 -5
View File
@@ -1,3 +1,4 @@
#include "CommonFuncs.hpp"
#define DOORBASE_DTOR_NOINLINE
#include "MapObject/MapObjectDoorBase.hpp"
@@ -10,10 +11,6 @@
#include <nitro/mi.h>
extern "C" unk32 func_01ffb464(unk32 param1);
extern "C" void func_01ff9218(void *, unk32, unk32);
extern "C" unk32 func_01ffb428(unk32, unk32);
class UnkStruct_ov031_02117210 {
public:
/* 00 */ MapObject_10_SCCN mUnk_00[3];
@@ -532,7 +529,6 @@ struct stack_struct {
/* 08 */
};
extern "C" void func_01ff9fbc(MtxFx22 *, unk32, MtxFx22 *);
extern fx16 data_0203f964[];
void MapObjectDoorBase::func_ov031_020fcb78(s8 *param1) {