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 "Actor/ActorUnkRCFO.hpp"
#include "System/SysNew.hpp"
static ActorProfileUnkRCFO sActorProfileUnkRCFO;
ARM ActorProfileUnkRCFO *ActorProfileUnkRCFO::GetProfile() {
return &sActorProfileUnkRCFO;
}
ARM DECL_PROFILE(ActorProfileUnkRCFO);
ARM Actor *ActorProfileUnkRCFO::Create() {
return new(HeapIndex_2) ActorUnkRCFO();
+1 -5
View File
@@ -3,11 +3,7 @@
#include "MapObject/MapObjectUnkDOPA.hpp"
#include "System/SysNew.hpp"
static MapObjectProfileUnkDOPA sMapObjectProfileUnkDOPA;
ARM MapObjectProfileUnkDOPA *MapObjectProfileUnkDOPA::GetProfile() {
return &sMapObjectProfileUnkDOPA;
}
ARM DECL_PROFILE(MapObjectProfileUnkDOPA);
ARM MapObject *MapObjectProfileUnkDOPA::Create() {
return new(HeapIndex_2) MapObjectUnkDOPA();
+1 -5
View File
@@ -3,11 +3,7 @@
#include "MapObject/MapObjectUnkRCFL.hpp"
#include "System/SysNew.hpp"
static MapObjectProfileUnkRCFL sMapObjectProfileUnkRCFL;
ARM MapObjectProfileUnkRCFL *MapObjectProfileUnkRCFL::GetProfile() {
return &sMapObjectProfileUnkRCFL;
}
ARM DECL_PROFILE(MapObjectProfileUnkRCFL);
ARM MapObject *MapObjectProfileUnkRCFL::Create() {
return new(HeapIndex_2) MapObjectUnkRCFL();