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,12 +1,8 @@
#include "MapObject/MapObjectProfile_Derived2_20.hpp"
#include "CommonFuncs.hpp"
#include <string.h>
extern "C" {
void func_02015ea8(u32 resourceId, void *);
unk32 func_02012fa8(const char *);
}
MapObjectProfile_Derived2_20::MapObjectProfile_Derived2_20(MapObjectId mapObjId2) :
MapObjectProfile_Derived2_20_Base("MapObj", (const char *) &mUnk_94, (const char *) &mUnk_94, (const char *) &mUnk_94, 0,
0),