mirror of
https://github.com/zeldaret/ph
synced 2026-09-07 19:10:53 -04:00
Actor::vfunc_08 -> Actor::Init
This commit is contained in:
@@ -113,7 +113,7 @@ ARM Actor::Actor() :
|
||||
|
||||
ARM Actor::~Actor() {}
|
||||
|
||||
ARM bool Actor::vfunc_08() {
|
||||
ARM bool Actor::Init() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ ARM s32 ActorSpawner::Spawn(ActorTypeId type, Vec3p *pos, ActorSpawnOptions *opt
|
||||
}
|
||||
actorManager->mNextActorId += 1;
|
||||
actorManager->mNumActors += 1;
|
||||
if (!(*actorSlot)->vfunc_08()) {
|
||||
if (!(*actorSlot)->Init()) {
|
||||
(*actorSlot)->mAlive = false;
|
||||
if (ref != NULL) {
|
||||
ref->Reset();
|
||||
|
||||
@@ -18,7 +18,7 @@ ARM ActorActionObject::ActorActionObject() {}
|
||||
ARM ActorActionObject::~ActorActionObject() {}
|
||||
|
||||
// non-matching
|
||||
ARM bool ActorActionObject::vfunc_08() {
|
||||
ARM bool ActorActionObject::Init() {
|
||||
mGravity = 0;
|
||||
mHitbox.pos = gVec3p_ZERO;
|
||||
mHitbox.size = -1;
|
||||
|
||||
@@ -4,7 +4,7 @@ ActorType ActorEventIcon::gType = ActorType(ActorTypeId_EventIcon, (ActorCreateF
|
||||
|
||||
ActorEventIcon *ActorEventIcon::Create() {}
|
||||
ActorEventIcon::ActorEventIcon() {}
|
||||
bool ActorEventIcon::vfunc_08() {}
|
||||
bool ActorEventIcon::Init() {}
|
||||
void ActorEventIcon::vfunc_14(u32 param1) {}
|
||||
void ActorEventIcon::vfunc_18(u32 param1) {}
|
||||
u32 ActorEventIcon::func_ov000_02090648(u32 param1) {}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
ActorType ActorSwitchObject::gType = ActorType(ActorTypeId_SwitchObject, (ActorCreateFunc) ActorSwitchObject::Create, NULL);
|
||||
|
||||
ActorSwitchObject *ActorSwitchObject::Create() {}
|
||||
bool ActorSwitchObject::vfunc_08() {}
|
||||
bool ActorSwitchObject::Init() {}
|
||||
void ActorSwitchObject::vfunc_0c() {}
|
||||
void ActorSwitchObject::vfunc_14(u32 param1) {}
|
||||
void ActorSwitchObject::vfunc_18(u32 param1) {}
|
||||
|
||||
Reference in New Issue
Block a user