Improve or match actor static initializers (#44)

* use the new DECL_PROFILE macro to match static initializers

* forgot to keep the mode macro

* same thing with mapobjects

* create profile.hpp

* update delink and symbols for eur

* update delink and symbols for jp

* ninja format

* fix some stuff 1

* fix jp build
This commit is contained in:
Yanis
2026-04-12 04:36:32 +02:00
committed by GitHub
parent c537818320
commit 1b31487fee
1024 changed files with 6519 additions and 9613 deletions
+1 -5
View File
@@ -3,11 +3,7 @@
#include "MapObject/MapObjectUnkDRSW.hpp"
#include "System/SysNew.hpp"
static MapObjectProfileUnkDRSW sMapObjectProfileUnkDRSW;
ARM MapObjectProfileUnkDRSW *MapObjectProfileUnkDRSW::GetProfile() {
return &sMapObjectProfileUnkDRSW;
}
ARM DECL_PROFILE(MapObjectProfileUnkDRSW);
ARM MapObject *MapObjectProfileUnkDRSW::Create() {
return new(HeapIndex_2) MapObjectUnkDRSW();