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,4 +1,5 @@
#include "MapObject/MapObjectSwitchStep.hpp"
#include "CommonFuncs.hpp"
#include "System/SysNew.hpp"
#include "Unknown/UnkStruct_0204af1c.hpp"
#include "Unknown/UnkStruct_027e0998.hpp"
@@ -7,8 +8,6 @@
#include "Unknown/UnkStruct_ov000_020b5214.hpp"
#include <nitro/mi.h>
extern "C" unk32 func_0200f218(unk32, const char *);
static const char data_ov000_020af550[] = "switch";
static const char data_ov000_020af560[] = "switchB";