mirror of
https://github.com/zeldaret/st
synced 2026-09-04 02:10:01 -04:00
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:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user