mirror of
https://github.com/zeldaret/ph
synced 2026-08-11 03:26:00 -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) {}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
ActorNaviBase::ActorNaviBase() {}
|
||||
ActorNaviBase::~ActorNaviBase() {}
|
||||
void func_ov004_021079d4(unk32 *param1) {}
|
||||
bool ActorNaviBase::vfunc_08() {}
|
||||
bool ActorNaviBase::Init() {}
|
||||
|
||||
@@ -36,7 +36,7 @@ ActorRupee::ActorRupee() {
|
||||
}
|
||||
|
||||
// https://decomp.me/scratch/1qjCc
|
||||
bool ActorRupee::vfunc_08() {
|
||||
bool ActorRupee::Init() {
|
||||
u32 dVar5;
|
||||
u32 iVar7;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ void ActorArrow::func_ov014_0211fd80(unk32 param1) {}
|
||||
void ActorArrow::func_ov014_0211fd90() {}
|
||||
ActorArrow::ActorArrow() {}
|
||||
ActorArrow::~ActorArrow() {}
|
||||
bool ActorArrow::vfunc_08() {}
|
||||
bool ActorArrow::Init() {}
|
||||
bool ActorArrow::CollidesWith(Actor *other) {}
|
||||
void ActorArrow::func_ov014_021200d4() {}
|
||||
void ActorArrow::func_ov014_02120118() {}
|
||||
|
||||
@@ -6,7 +6,7 @@ ActorBlast *ActorBlast::Create() {}
|
||||
void ActorBlast_Unk1::vfunc_10(s32 *param1) {}
|
||||
ActorBlast::ActorBlast() {}
|
||||
ActorBlast::~ActorBlast() {}
|
||||
bool ActorBlast::vfunc_08() {}
|
||||
bool ActorBlast::Init() {}
|
||||
void ActorBlast::vfunc_14(u32 param1) {}
|
||||
ActorBlast_Unk1::~ActorBlast_Unk1() {}
|
||||
void ActorBlast::vfunc_18(u32 param1) {}
|
||||
|
||||
@@ -9,7 +9,7 @@ ActorBomb::ActorBomb() {}
|
||||
ActorBomb_Unk2::~ActorBomb_Unk2() {}
|
||||
ActorBomb::~ActorBomb() {}
|
||||
ActorBomb_Unk2::ActorBomb_Unk2() {}
|
||||
bool ActorBomb::vfunc_08() {}
|
||||
bool ActorBomb::Init() {}
|
||||
void ActorBomb::vfunc_14(u32 param1) {}
|
||||
ActorBomb_Unk1::~ActorBomb_Unk1() {}
|
||||
void ActorBomb::vfunc_18(u32 param1) {}
|
||||
|
||||
@@ -41,7 +41,7 @@ ARM ActorRefill::ActorRefill(unk32 param1) :
|
||||
|
||||
ARM ActorRefill::~ActorRefill() {}
|
||||
|
||||
ARM bool ActorRefill::vfunc_08() {
|
||||
ARM bool ActorRefill::Init() {
|
||||
ItemManager *itemManager;
|
||||
|
||||
if (this->vfunc_b4() == ItemFlag_None) {
|
||||
@@ -263,8 +263,8 @@ ARM ActorRefillTime::ActorRefillTime() :
|
||||
|
||||
ARM ActorRefillTime::~ActorRefillTime() {}
|
||||
|
||||
ARM bool ActorRefillTime::vfunc_08() {
|
||||
if (!ActorRefill::vfunc_08()) {
|
||||
ARM bool ActorRefillTime::Init() {
|
||||
if (!ActorRefill::Init()) {
|
||||
return false;
|
||||
}
|
||||
switch (mUnk_020.mUnk_00[0]) {
|
||||
@@ -305,8 +305,8 @@ ARM ActorLSTM::ActorLSTM() :
|
||||
|
||||
ARM ActorLSTM::~ActorLSTM() {}
|
||||
|
||||
ARM bool ActorLSTM::vfunc_08() {
|
||||
if (!ActorRefill::vfunc_08()) {
|
||||
ARM bool ActorLSTM::Init() {
|
||||
if (!ActorRefill::Init()) {
|
||||
return false;
|
||||
}
|
||||
switch (mUnk_020.mUnk_00[0]) {
|
||||
|
||||
@@ -5,7 +5,7 @@ ActorRope_Unk_0219a3b0 gUnk_0219a3b0;
|
||||
void ActorRope_Unk_0219a3b0::vfunc_08(unk16 *param1) {}
|
||||
void ActorRope_Unk_0219a3b0::vfunc_10(s32 *param1) {}
|
||||
ActorRope::ActorRope() {}
|
||||
bool ActorRope::vfunc_08() {}
|
||||
bool ActorRope::Init() {}
|
||||
q20 ActorRope::func_ov057_0219a5ac() {}
|
||||
void ActorRope::func_ov057_0219a6b8() {}
|
||||
void ActorRope::func_ov057_0219a850() {}
|
||||
|
||||
Reference in New Issue
Block a user