mirror of
https://github.com/zeldaret/botw
synced 2026-07-29 07:32:36 -04:00
Action: Fix incorrect handling of inherited virtual functions
This commit is contained in:
@@ -4,24 +4,4 @@ namespace uking::action {
|
||||
|
||||
ActionEx::ActionEx(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
ActionEx::~ActionEx() = default;
|
||||
|
||||
bool ActionEx::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void ActionEx::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void ActionEx::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void ActionEx::loadParams_() {}
|
||||
|
||||
void ActionEx::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -8,15 +8,8 @@ class ActionEx : public ksys::act::ai::Action {
|
||||
SEAD_RTTI_OVERRIDE(ActionEx, ksys::act::ai::Action)
|
||||
public:
|
||||
explicit ActionEx(const InitArg& arg);
|
||||
~ActionEx() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -4,25 +4,10 @@ namespace uking::action {
|
||||
|
||||
ActionWithAS::ActionWithAS(const InitArg& arg) : ActionWithPosAngReduce(arg) {}
|
||||
|
||||
ActionWithAS::~ActionWithAS() = default;
|
||||
|
||||
bool ActionWithAS::init_(sead::Heap* heap) {
|
||||
return ActionWithPosAngReduce::init_(heap);
|
||||
}
|
||||
|
||||
void ActionWithAS::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ActionWithPosAngReduce::enter_(params);
|
||||
}
|
||||
|
||||
void ActionWithAS::leave_() {
|
||||
ActionWithPosAngReduce::leave_();
|
||||
}
|
||||
|
||||
void ActionWithAS::loadParams_() {
|
||||
getStaticParam(&mPosReduceRatio_s, "PosReduceRatio");
|
||||
getStaticParam(&mAngReduceRatio_s, "AngReduceRatio");
|
||||
}
|
||||
|
||||
void ActionWithAS::calc_() {
|
||||
ActionWithPosAngReduce::calc_();
|
||||
}
|
||||
|
||||
@@ -9,20 +9,11 @@ class ActionWithAS : public ActionWithPosAngReduce {
|
||||
SEAD_RTTI_OVERRIDE(ActionWithAS, ActionWithPosAngReduce)
|
||||
public:
|
||||
explicit ActionWithAS(const InitArg& arg);
|
||||
~ActionWithAS() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// static_param at offset 0x20
|
||||
const float* mPosReduceRatio_s{};
|
||||
// static_param at offset 0x28
|
||||
const float* mAngReduceRatio_s{};
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -4,12 +4,6 @@ namespace uking::action {
|
||||
|
||||
ActionWithPosAngReduce::ActionWithPosAngReduce(const InitArg& arg) : ActionEx(arg) {}
|
||||
|
||||
ActionWithPosAngReduce::~ActionWithPosAngReduce() = default;
|
||||
|
||||
bool ActionWithPosAngReduce::init_(sead::Heap* heap) {
|
||||
return ActionEx::init_(heap);
|
||||
}
|
||||
|
||||
void ActionWithPosAngReduce::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ActionEx::enter_(params);
|
||||
}
|
||||
|
||||
@@ -9,9 +9,7 @@ class ActionWithPosAngReduce : public ActionEx {
|
||||
SEAD_RTTI_OVERRIDE(ActionWithPosAngReduce, ActionEx)
|
||||
public:
|
||||
explicit ActionWithPosAngReduce(const InitArg& arg);
|
||||
~ActionWithPosAngReduce() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -11,22 +11,10 @@ bool ActorInfoToGameDataFloat::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataFloat::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataFloat::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataFloat::loadParams_() {
|
||||
getDynamicParam(&mActorName_d, "ActorName");
|
||||
getDynamicParam(&mGameDataFloatToName_d, "GameDataFloatToName");
|
||||
getDynamicParam(&mParameterName_d, "ParameterName");
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataFloat::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
~ActorInfoToGameDataFloat() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x20
|
||||
sead::SafeString* mActorName_d{};
|
||||
// dynamic_param at offset 0x30
|
||||
|
||||
@@ -10,22 +10,10 @@ bool ActorInfoToGameDataInt::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataInt::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataInt::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataInt::loadParams_() {
|
||||
getDynamicParam(&mActorName_d, "ActorName");
|
||||
getDynamicParam(&mGameDataIntToName_d, "GameDataIntToName");
|
||||
getDynamicParam(&mParameterName_d, "ParameterName");
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataInt::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
~ActorInfoToGameDataInt() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x20
|
||||
sead::SafeString* mActorName_d{};
|
||||
// dynamic_param at offset 0x30
|
||||
|
||||
@@ -10,14 +10,6 @@ bool ActorInfoToGameDataVec3::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataVec3::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataVec3::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataVec3::loadParams_() {
|
||||
getDynamicParam(&mActorName_d, "ActorName");
|
||||
getDynamicParam(&mUniqueName_d, "UniqueName");
|
||||
@@ -25,8 +17,4 @@ void ActorInfoToGameDataVec3::loadParams_() {
|
||||
getDynamicParam(&mParameterName_d, "ParameterName");
|
||||
}
|
||||
|
||||
void ActorInfoToGameDataVec3::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
~ActorInfoToGameDataVec3() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x20
|
||||
sead::SafeString* mActorName_d{};
|
||||
// dynamic_param at offset 0x30
|
||||
|
||||
@@ -4,22 +4,6 @@ namespace uking::action {
|
||||
|
||||
AirWallAction::AirWallAction(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
AirWallAction::~AirWallAction() = default;
|
||||
|
||||
bool AirWallAction::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AirWallAction::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AirWallAction::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AirWallAction::loadParams_() {}
|
||||
|
||||
void AirWallAction::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
@@ -8,12 +8,6 @@ class AirWallAction : public ksys::act::ai::Action {
|
||||
SEAD_RTTI_OVERRIDE(AirWallAction, ksys::act::ai::Action)
|
||||
public:
|
||||
explicit AirWallAction(const InitArg& arg);
|
||||
~AirWallAction() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
@@ -4,8 +4,6 @@ namespace uking::action {
|
||||
|
||||
Angry::Angry(const InitArg& arg) : ActionWithAS(arg) {}
|
||||
|
||||
Angry::~Angry() = default;
|
||||
|
||||
bool Angry::init_(sead::Heap* heap) {
|
||||
return ActionWithAS::init_(heap);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ class Angry : public ActionWithAS {
|
||||
SEAD_RTTI_OVERRIDE(Angry, ActionWithAS)
|
||||
public:
|
||||
explicit Angry(const InitArg& arg);
|
||||
~Angry() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
|
||||
@@ -4,8 +4,6 @@ namespace uking::action {
|
||||
|
||||
AnimalMoveGuidedBase::AnimalMoveGuidedBase(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
AnimalMoveGuidedBase::~AnimalMoveGuidedBase() = default;
|
||||
|
||||
bool AnimalMoveGuidedBase::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ class AnimalMoveGuidedBase : public ksys::act::ai::Action {
|
||||
SEAD_RTTI_OVERRIDE(AnimalMoveGuidedBase, ksys::act::ai::Action)
|
||||
public:
|
||||
explicit AnimalMoveGuidedBase(const InitArg& arg);
|
||||
~AnimalMoveGuidedBase() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
|
||||
@@ -15,7 +15,7 @@ void AnmTimingBackWalk::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
}
|
||||
|
||||
void AnmTimingBackWalk::leave_() {
|
||||
BackWalkEx::leave_(); // NOLINT(bugprone-parent-virtual-call)
|
||||
BackWalkWithAS::leave_();
|
||||
}
|
||||
|
||||
void AnmTimingBackWalk::loadParams_() {
|
||||
|
||||
@@ -4,27 +4,8 @@ namespace uking::action {
|
||||
|
||||
Appear::Appear(const InitArg& arg) : ActionWithAS(arg) {}
|
||||
|
||||
Appear::~Appear() = default;
|
||||
|
||||
bool Appear::init_(sead::Heap* heap) {
|
||||
return ActionWithAS::init_(heap);
|
||||
}
|
||||
|
||||
void Appear::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ActionWithAS::enter_(params);
|
||||
}
|
||||
|
||||
void Appear::leave_() {
|
||||
ActionWithAS::leave_();
|
||||
}
|
||||
|
||||
void Appear::loadParams_() {
|
||||
getStaticParam(&mPosReduceRatio_s, "PosReduceRatio");
|
||||
getStaticParam(&mAngReduceRatio_s, "AngReduceRatio");
|
||||
}
|
||||
|
||||
void Appear::calc_() {
|
||||
ActionWithAS::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -9,20 +9,10 @@ class Appear : public ActionWithAS {
|
||||
SEAD_RTTI_OVERRIDE(Appear, ActionWithAS)
|
||||
public:
|
||||
explicit Appear(const InitArg& arg);
|
||||
~Appear() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// static_param at offset 0x20
|
||||
const float* mPosReduceRatio_s{};
|
||||
// static_param at offset 0x28
|
||||
const float* mAngReduceRatio_s{};
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -10,20 +10,8 @@ bool AppearFullPouchInfo::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AppearFullPouchInfo::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AppearFullPouchInfo::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AppearFullPouchInfo::loadParams_() {
|
||||
getDynamicParam(&mPorchItemName_d, "PorchItemName");
|
||||
}
|
||||
|
||||
void AppearFullPouchInfo::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
~AppearFullPouchInfo() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x20
|
||||
sead::SafeString* mPorchItemName_d{};
|
||||
};
|
||||
|
||||
@@ -11,18 +11,6 @@ bool AppearNumDungeonClearSeal::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AppearNumDungeonClearSeal::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AppearNumDungeonClearSeal::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AppearNumDungeonClearSeal::loadParams_() {}
|
||||
|
||||
void AppearNumDungeonClearSeal::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,12 +11,9 @@ public:
|
||||
~AppearNumDungeonClearSeal() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -10,20 +10,8 @@ bool AppearNumHeroSeal::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AppearNumHeroSeal::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AppearNumHeroSeal::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AppearNumHeroSeal::loadParams_() {
|
||||
getDynamicParam(&mRelicPattern_d, "RelicPattern");
|
||||
}
|
||||
|
||||
void AppearNumHeroSeal::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
~AppearNumHeroSeal() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x20
|
||||
int* mRelicPattern_d{};
|
||||
};
|
||||
|
||||
@@ -10,18 +10,6 @@ bool AppearNumKorokNuts::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AppearNumKorokNuts::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AppearNumKorokNuts::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AppearNumKorokNuts::loadParams_() {}
|
||||
|
||||
void AppearNumKorokNuts::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,12 +11,9 @@ public:
|
||||
~AppearNumKorokNuts() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -10,20 +10,8 @@ bool AppearNumTargets::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AppearNumTargets::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AppearNumTargets::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AppearNumTargets::loadParams_() {
|
||||
getDynamicParam(&mGameDataIntTargetCounter_d, "GameDataIntTargetCounter");
|
||||
}
|
||||
|
||||
void AppearNumTargets::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
~AppearNumTargets() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x20
|
||||
sead::SafeString* mGameDataIntTargetCounter_d{};
|
||||
};
|
||||
|
||||
@@ -10,20 +10,8 @@ bool ApplyDamageForPlayer::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void ApplyDamageForPlayer::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void ApplyDamageForPlayer::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void ApplyDamageForPlayer::loadParams_() {
|
||||
getDynamicParam(&mValue_d, "Value");
|
||||
}
|
||||
|
||||
void ApplyDamageForPlayer::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
~ApplyDamageForPlayer() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x20
|
||||
int* mValue_d{};
|
||||
};
|
||||
|
||||
@@ -10,22 +10,10 @@ bool AreaActorObserve::init_(sead::Heap* heap) {
|
||||
return AreaTagAction::init_(heap);
|
||||
}
|
||||
|
||||
void AreaActorObserve::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaTagAction::enter_(params);
|
||||
}
|
||||
|
||||
void AreaActorObserve::leave_() {
|
||||
AreaTagAction::leave_();
|
||||
}
|
||||
|
||||
void AreaActorObserve::loadParams_() {
|
||||
getMapUnitParam(&mCount_m, "Count");
|
||||
getMapUnitParam(&mIsSendMessage_m, "IsSendMessage");
|
||||
getMapUnitParam(&mDefaultBasicSignal_m, "DefaultBasicSignal");
|
||||
}
|
||||
|
||||
void AreaActorObserve::calc_() {
|
||||
AreaTagAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -12,13 +12,9 @@ public:
|
||||
~AreaActorObserve() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// map_unit_param at offset 0x38
|
||||
const int* mCount_m{};
|
||||
// map_unit_param at offset 0x40
|
||||
|
||||
@@ -11,22 +11,4 @@ bool AreaActorObserveByActorTag::init_(sead::Heap* heap) {
|
||||
return AreaActorObserve::init_(heap);
|
||||
}
|
||||
|
||||
void AreaActorObserveByActorTag::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaActorObserve::enter_(params);
|
||||
}
|
||||
|
||||
void AreaActorObserveByActorTag::leave_() {
|
||||
AreaActorObserve::leave_();
|
||||
}
|
||||
|
||||
void AreaActorObserveByActorTag::loadParams_() {
|
||||
getMapUnitParam(&mCount_m, "Count");
|
||||
getMapUnitParam(&mIsSendMessage_m, "IsSendMessage");
|
||||
getMapUnitParam(&mDefaultBasicSignal_m, "DefaultBasicSignal");
|
||||
}
|
||||
|
||||
void AreaActorObserveByActorTag::calc_() {
|
||||
AreaActorObserve::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -12,19 +12,8 @@ public:
|
||||
~AreaActorObserveByActorTag() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// map_unit_param at offset 0x38
|
||||
const int* mCount_m{};
|
||||
// map_unit_param at offset 0x40
|
||||
const bool* mIsSendMessage_m{};
|
||||
// map_unit_param at offset 0x48
|
||||
const bool* mDefaultBasicSignal_m{};
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -10,22 +10,4 @@ bool AreaActorObserveByGroup::init_(sead::Heap* heap) {
|
||||
return AreaActorObserve::init_(heap);
|
||||
}
|
||||
|
||||
void AreaActorObserveByGroup::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaActorObserve::enter_(params);
|
||||
}
|
||||
|
||||
void AreaActorObserveByGroup::leave_() {
|
||||
AreaActorObserve::leave_();
|
||||
}
|
||||
|
||||
void AreaActorObserveByGroup::loadParams_() {
|
||||
getMapUnitParam(&mCount_m, "Count");
|
||||
getMapUnitParam(&mIsSendMessage_m, "IsSendMessage");
|
||||
getMapUnitParam(&mDefaultBasicSignal_m, "DefaultBasicSignal");
|
||||
}
|
||||
|
||||
void AreaActorObserveByGroup::calc_() {
|
||||
AreaActorObserve::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -12,19 +12,8 @@ public:
|
||||
~AreaActorObserveByGroup() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// map_unit_param at offset 0x38
|
||||
const int* mCount_m{};
|
||||
// map_unit_param at offset 0x40
|
||||
const bool* mIsSendMessage_m{};
|
||||
// map_unit_param at offset 0x48
|
||||
const bool* mDefaultBasicSignal_m{};
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -4,20 +4,6 @@ namespace uking::action {
|
||||
|
||||
AreaBase::AreaBase(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
AreaBase::~AreaBase() = default;
|
||||
|
||||
bool AreaBase::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AreaBase::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AreaBase::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AreaBase::loadParams_() {
|
||||
getMapUnitParam(&mEnableCharacterOn_m, "EnableCharacterOn");
|
||||
}
|
||||
|
||||
@@ -8,11 +8,7 @@ class AreaBase : public ksys::act::ai::Action {
|
||||
SEAD_RTTI_OVERRIDE(AreaBase, ksys::act::ai::Action)
|
||||
public:
|
||||
explicit AreaBase(const InitArg& arg);
|
||||
~AreaBase() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -4,24 +4,4 @@ namespace uking::action {
|
||||
|
||||
AreaFireObserve::AreaFireObserve(const InitArg& arg) : AreaFireObserveBase(arg) {}
|
||||
|
||||
AreaFireObserve::~AreaFireObserve() = default;
|
||||
|
||||
bool AreaFireObserve::init_(sead::Heap* heap) {
|
||||
return AreaFireObserveBase::init_(heap);
|
||||
}
|
||||
|
||||
void AreaFireObserve::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaFireObserveBase::enter_(params);
|
||||
}
|
||||
|
||||
void AreaFireObserve::leave_() {
|
||||
AreaFireObserveBase::leave_();
|
||||
}
|
||||
|
||||
void AreaFireObserve::loadParams_() {}
|
||||
|
||||
void AreaFireObserve::calc_() {
|
||||
AreaFireObserveBase::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -9,15 +9,8 @@ class AreaFireObserve : public AreaFireObserveBase {
|
||||
SEAD_RTTI_OVERRIDE(AreaFireObserve, AreaFireObserveBase)
|
||||
public:
|
||||
explicit AreaFireObserve(const InitArg& arg);
|
||||
~AreaFireObserve() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -6,20 +6,10 @@ AreaFireObserveBase::AreaFireObserveBase(const InitArg& arg) : ksys::act::ai::Ac
|
||||
|
||||
AreaFireObserveBase::~AreaFireObserveBase() = default;
|
||||
|
||||
bool AreaFireObserveBase::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AreaFireObserveBase::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AreaFireObserveBase::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AreaFireObserveBase::loadParams_() {}
|
||||
|
||||
void AreaFireObserveBase::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
@@ -10,10 +10,7 @@ public:
|
||||
explicit AreaFireObserveBase(const InitArg& arg);
|
||||
~AreaFireObserveBase() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
@@ -10,18 +10,4 @@ bool AreaHorseSpeedLimitAction::init_(sead::Heap* heap) {
|
||||
return AreaTagAction::init_(heap);
|
||||
}
|
||||
|
||||
void AreaHorseSpeedLimitAction::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaTagAction::enter_(params);
|
||||
}
|
||||
|
||||
void AreaHorseSpeedLimitAction::leave_() {
|
||||
AreaTagAction::leave_();
|
||||
}
|
||||
|
||||
void AreaHorseSpeedLimitAction::loadParams_() {}
|
||||
|
||||
void AreaHorseSpeedLimitAction::calc_() {
|
||||
AreaTagAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -12,12 +12,8 @@ public:
|
||||
~AreaHorseSpeedLimitAction() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -6,26 +6,4 @@ AreaObserveActorAction::AreaObserveActorAction(const InitArg& arg) : AreaActorOb
|
||||
|
||||
AreaObserveActorAction::~AreaObserveActorAction() = default;
|
||||
|
||||
bool AreaObserveActorAction::init_(sead::Heap* heap) {
|
||||
return AreaActorObserve::init_(heap);
|
||||
}
|
||||
|
||||
void AreaObserveActorAction::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaActorObserve::enter_(params);
|
||||
}
|
||||
|
||||
void AreaObserveActorAction::leave_() {
|
||||
AreaActorObserve::leave_();
|
||||
}
|
||||
|
||||
void AreaObserveActorAction::loadParams_() {
|
||||
getMapUnitParam(&mCount_m, "Count");
|
||||
getMapUnitParam(&mIsSendMessage_m, "IsSendMessage");
|
||||
getMapUnitParam(&mDefaultBasicSignal_m, "DefaultBasicSignal");
|
||||
}
|
||||
|
||||
void AreaObserveActorAction::calc_() {
|
||||
AreaActorObserve::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,20 +11,7 @@ public:
|
||||
explicit AreaObserveActorAction(const InitArg& arg);
|
||||
~AreaObserveActorAction() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// map_unit_param at offset 0x38
|
||||
const int* mCount_m{};
|
||||
// map_unit_param at offset 0x40
|
||||
const bool* mIsSendMessage_m{};
|
||||
// map_unit_param at offset 0x48
|
||||
const bool* mDefaultBasicSignal_m{};
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -10,18 +10,4 @@ bool AreaOutRecreateActorAction::init_(sead::Heap* heap) {
|
||||
return AreaTagAction::init_(heap);
|
||||
}
|
||||
|
||||
void AreaOutRecreateActorAction::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaTagAction::enter_(params);
|
||||
}
|
||||
|
||||
void AreaOutRecreateActorAction::leave_() {
|
||||
AreaTagAction::leave_();
|
||||
}
|
||||
|
||||
void AreaOutRecreateActorAction::loadParams_() {}
|
||||
|
||||
void AreaOutRecreateActorAction::calc_() {
|
||||
AreaTagAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -12,12 +12,8 @@ public:
|
||||
~AreaOutRecreateActorAction() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -10,18 +10,4 @@ bool AreaRecreateActorAction::init_(sead::Heap* heap) {
|
||||
return AreaTagAction::init_(heap);
|
||||
}
|
||||
|
||||
void AreaRecreateActorAction::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AreaTagAction::enter_(params);
|
||||
}
|
||||
|
||||
void AreaRecreateActorAction::leave_() {
|
||||
AreaTagAction::leave_();
|
||||
}
|
||||
|
||||
void AreaRecreateActorAction::loadParams_() {}
|
||||
|
||||
void AreaRecreateActorAction::calc_() {
|
||||
AreaTagAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -12,12 +12,8 @@ public:
|
||||
~AreaRecreateActorAction() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -10,14 +10,6 @@ bool AreaRoot::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AreaRoot::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AreaRoot::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AreaRoot::loadParams_() {
|
||||
getStaticParam(&mAutoSaveInterval_s, "AutoSaveInterval");
|
||||
getMapUnitParam(&mCameraPriority_m, "CameraPriority");
|
||||
|
||||
@@ -11,8 +11,6 @@ public:
|
||||
~AreaRoot() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -6,20 +6,10 @@ AreaTagAction::AreaTagAction(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
AreaTagAction::~AreaTagAction() = default;
|
||||
|
||||
bool AreaTagAction::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void AreaTagAction::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void AreaTagAction::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void AreaTagAction::loadParams_() {}
|
||||
|
||||
void AreaTagAction::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
@@ -10,10 +10,7 @@ public:
|
||||
explicit AreaTagAction(const InitArg& arg);
|
||||
~AreaTagAction() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
@@ -6,10 +6,6 @@ ArmorBindNodeAction::ArmorBindNodeAction(const InitArg& arg) : ksys::act::ai::Ac
|
||||
|
||||
ArmorBindNodeAction::~ArmorBindNodeAction() = default;
|
||||
|
||||
bool ArmorBindNodeAction::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void ArmorBindNodeAction::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@ public:
|
||||
explicit ArmorBindNodeAction(const InitArg& arg);
|
||||
~ArmorBindNodeAction() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -6,10 +6,6 @@ ArmorBindWithAS::ArmorBindWithAS(const InitArg& arg) : ArmorBindAction(arg) {}
|
||||
|
||||
ArmorBindWithAS::~ArmorBindWithAS() = default;
|
||||
|
||||
bool ArmorBindWithAS::init_(sead::Heap* heap) {
|
||||
return ArmorBindAction::init_(heap);
|
||||
}
|
||||
|
||||
void ArmorBindWithAS::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ArmorBindAction::enter_(params);
|
||||
}
|
||||
@@ -23,8 +19,4 @@ void ArmorBindWithAS::loadParams_() {
|
||||
getDynamicParam(&mASName_d, "ASName");
|
||||
}
|
||||
|
||||
void ArmorBindWithAS::calc_() {
|
||||
ArmorBindAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,14 +11,11 @@ public:
|
||||
explicit ArmorBindWithAS(const InitArg& arg);
|
||||
~ArmorBindWithAS() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// dynamic_param at offset 0x30
|
||||
sead::SafeString* mASName_d{};
|
||||
};
|
||||
|
||||
@@ -6,18 +6,10 @@ ArrowShootHoming::ArrowShootHoming(const InitArg& arg) : ArrowShootMove(arg) {}
|
||||
|
||||
ArrowShootHoming::~ArrowShootHoming() = default;
|
||||
|
||||
bool ArrowShootHoming::init_(sead::Heap* heap) {
|
||||
return ArrowShootMove::init_(heap);
|
||||
}
|
||||
|
||||
void ArrowShootHoming::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ArrowShootMove::enter_(params);
|
||||
}
|
||||
|
||||
void ArrowShootHoming::leave_() {
|
||||
ArrowShootMove::leave_();
|
||||
}
|
||||
|
||||
void ArrowShootHoming::loadParams_() {
|
||||
ArrowShootMove::loadParams_();
|
||||
getStaticParam(&mSubAngMax_s, "SubAngMax");
|
||||
|
||||
@@ -11,9 +11,7 @@ public:
|
||||
explicit ArrowShootHoming(const InitArg& arg);
|
||||
~ArrowShootHoming() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -6,10 +6,6 @@ ArrowShootMove::ArrowShootMove(const InitArg& arg) : ksys::act::ai::Action(arg)
|
||||
|
||||
ArrowShootMove::~ArrowShootMove() = default;
|
||||
|
||||
bool ArrowShootMove::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void ArrowShootMove::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
@@ -10,7 +10,6 @@ public:
|
||||
explicit ArrowShootMove(const InitArg& arg);
|
||||
~ArrowShootMove() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -7,18 +7,10 @@ ArrowShootMoveForLargeObject::ArrowShootMoveForLargeObject(const InitArg& arg)
|
||||
|
||||
ArrowShootMoveForLargeObject::~ArrowShootMoveForLargeObject() = default;
|
||||
|
||||
bool ArrowShootMoveForLargeObject::init_(sead::Heap* heap) {
|
||||
return ArrowShootMove::init_(heap);
|
||||
}
|
||||
|
||||
void ArrowShootMoveForLargeObject::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ArrowShootMove::enter_(params);
|
||||
}
|
||||
|
||||
void ArrowShootMoveForLargeObject::leave_() {
|
||||
ArrowShootMove::leave_();
|
||||
}
|
||||
|
||||
void ArrowShootMoveForLargeObject::loadParams_() {
|
||||
ArrowShootMove::loadParams_();
|
||||
getStaticParam(&mRayCastDist_s, "RayCastDist");
|
||||
|
||||
@@ -11,9 +11,7 @@ public:
|
||||
explicit ArrowShootMoveForLargeObject(const InitArg& arg);
|
||||
~ArrowShootMoveForLargeObject() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -6,10 +6,6 @@ ArrowSkyShootMove::ArrowSkyShootMove(const InitArg& arg) : ArrowShootMove(arg) {
|
||||
|
||||
ArrowSkyShootMove::~ArrowSkyShootMove() = default;
|
||||
|
||||
bool ArrowSkyShootMove::init_(sead::Heap* heap) {
|
||||
return ArrowShootMove::init_(heap);
|
||||
}
|
||||
|
||||
void ArrowSkyShootMove::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ArrowShootMove::enter_(params);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public:
|
||||
explicit ArrowSkyShootMove(const InitArg& arg);
|
||||
~ArrowSkyShootMove() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -4,8 +4,6 @@ namespace uking::action {
|
||||
|
||||
AtOnWait::AtOnWait(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
AtOnWait::~AtOnWait() = default;
|
||||
|
||||
bool AtOnWait::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ class AtOnWait : public ksys::act::ai::Action {
|
||||
SEAD_RTTI_OVERRIDE(AtOnWait, ksys::act::ai::Action)
|
||||
public:
|
||||
explicit AtOnWait(const InitArg& arg);
|
||||
~AtOnWait() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
|
||||
@@ -6,10 +6,6 @@ Attack::Attack(const InitArg& arg) : AttackBase(arg) {}
|
||||
|
||||
Attack::~Attack() = default;
|
||||
|
||||
bool Attack::init_(sead::Heap* heap) {
|
||||
return AttackBase::init_(heap);
|
||||
}
|
||||
|
||||
void Attack::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
AttackBase::enter_(params);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public:
|
||||
explicit Attack(const InitArg& arg);
|
||||
~Attack() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -6,10 +6,6 @@ AttackJumpToTarget::AttackJumpToTarget(const InitArg& arg) : JumpToTarget(arg) {
|
||||
|
||||
AttackJumpToTarget::~AttackJumpToTarget() = default;
|
||||
|
||||
bool AttackJumpToTarget::init_(sead::Heap* heap) {
|
||||
return JumpToTarget::init_(heap);
|
||||
}
|
||||
|
||||
void AttackJumpToTarget::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
JumpToTarget::enter_(params);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public:
|
||||
explicit AttackJumpToTarget(const InitArg& arg);
|
||||
~AttackJumpToTarget() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -6,10 +6,6 @@ AttackPartBind::AttackPartBind(const InitArg& arg) : Attack(arg) {}
|
||||
|
||||
AttackPartBind::~AttackPartBind() = default;
|
||||
|
||||
bool AttackPartBind::init_(sead::Heap* heap) {
|
||||
return Attack::init_(heap);
|
||||
}
|
||||
|
||||
void AttackPartBind::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
Attack::enter_(params);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public:
|
||||
explicit AttackPartBind(const InitArg& arg);
|
||||
~AttackPartBind() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -4,27 +4,4 @@ namespace uking::action {
|
||||
|
||||
BackStep::BackStep(const InitArg& arg) : BackStepBase(arg) {}
|
||||
|
||||
BackStep::~BackStep() = default;
|
||||
|
||||
bool BackStep::init_(sead::Heap* heap) {
|
||||
return BackStepBase::init_(heap);
|
||||
}
|
||||
|
||||
void BackStep::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BackStepBase::enter_(params);
|
||||
}
|
||||
|
||||
void BackStep::leave_() {
|
||||
BackStepBase::leave_();
|
||||
}
|
||||
|
||||
void BackStep::loadParams_() {
|
||||
BackStepToTarget::loadParams_();
|
||||
getStaticParam(&mJumpDist_s, "JumpDist");
|
||||
}
|
||||
|
||||
void BackStep::calc_() {
|
||||
BackStepBase::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -9,18 +9,8 @@ class BackStep : public BackStepBase {
|
||||
SEAD_RTTI_OVERRIDE(BackStep, BackStepBase)
|
||||
public:
|
||||
explicit BackStep(const InitArg& arg);
|
||||
~BackStep() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// static_param at offset 0xc0
|
||||
const float* mJumpDist_s{};
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -6,10 +6,6 @@ BackStepAttack::BackStepAttack(const InitArg& arg) : BackStepBase(arg) {}
|
||||
|
||||
BackStepAttack::~BackStepAttack() = default;
|
||||
|
||||
bool BackStepAttack::init_(sead::Heap* heap) {
|
||||
return BackStepBase::init_(heap);
|
||||
}
|
||||
|
||||
void BackStepAttack::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BackStepBase::enter_(params);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public:
|
||||
explicit BackStepAttack(const InitArg& arg);
|
||||
~BackStepAttack() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -6,10 +6,6 @@ BackStepToTarget::BackStepToTarget(const InitArg& arg) : ActionEx(arg) {}
|
||||
|
||||
BackStepToTarget::~BackStepToTarget() = default;
|
||||
|
||||
bool BackStepToTarget::init_(sead::Heap* heap) {
|
||||
return ActionEx::init_(heap);
|
||||
}
|
||||
|
||||
void BackStepToTarget::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ActionEx::enter_(params);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public:
|
||||
explicit BackStepToTarget(const InitArg& arg);
|
||||
~BackStepToTarget() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -4,26 +4,8 @@ namespace uking::action {
|
||||
|
||||
BackWalk::BackWalk(const InitArg& arg) : BackWalkEx(arg) {}
|
||||
|
||||
BackWalk::~BackWalk() = default;
|
||||
|
||||
bool BackWalk::init_(sead::Heap* heap) {
|
||||
return BackWalkEx::init_(heap);
|
||||
}
|
||||
|
||||
void BackWalk::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BackWalkEx::enter_(params);
|
||||
}
|
||||
|
||||
void BackWalk::leave_() {
|
||||
BackWalkEx::leave_();
|
||||
}
|
||||
|
||||
void BackWalk::loadParams_() {
|
||||
BackWalkBase::loadParams_();
|
||||
}
|
||||
|
||||
void BackWalk::calc_() {
|
||||
BackWalkEx::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -9,15 +9,10 @@ class BackWalk : public BackWalkEx {
|
||||
SEAD_RTTI_OVERRIDE(BackWalk, BackWalkEx)
|
||||
public:
|
||||
explicit BackWalk(const InitArg& arg);
|
||||
~BackWalk() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -6,10 +6,6 @@ BackWalkBase::BackWalkBase(const InitArg& arg) : ActionEx(arg) {}
|
||||
|
||||
BackWalkBase::~BackWalkBase() = default;
|
||||
|
||||
bool BackWalkBase::init_(sead::Heap* heap) {
|
||||
return ActionEx::init_(heap);
|
||||
}
|
||||
|
||||
void BackWalkBase::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ActionEx::enter_(params);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ public:
|
||||
explicit BackWalkBase(const InitArg& arg);
|
||||
~BackWalkBase() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
@@ -6,18 +6,10 @@ BackWalkWithAS::BackWalkWithAS(const InitArg& arg) : BackWalkEx(arg) {}
|
||||
|
||||
BackWalkWithAS::~BackWalkWithAS() = default;
|
||||
|
||||
bool BackWalkWithAS::init_(sead::Heap* heap) {
|
||||
return BackWalkEx::init_(heap);
|
||||
}
|
||||
|
||||
void BackWalkWithAS::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BackWalkEx::enter_(params);
|
||||
}
|
||||
|
||||
void BackWalkWithAS::leave_() {
|
||||
BackWalkEx::leave_();
|
||||
}
|
||||
|
||||
void BackWalkWithAS::loadParams_() {
|
||||
BackWalkEx::loadParams_();
|
||||
getStaticParam(&mASName_s, "ASName");
|
||||
|
||||
@@ -11,9 +11,7 @@ public:
|
||||
explicit BackWalkWithAS(const InitArg& arg);
|
||||
~BackWalkWithAS() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -7,25 +7,9 @@ BattleCloseDangerAvoidRun::BattleCloseDangerAvoidRun(const InitArg& arg)
|
||||
|
||||
BattleCloseDangerAvoidRun::~BattleCloseDangerAvoidRun() = default;
|
||||
|
||||
bool BattleCloseDangerAvoidRun::init_(sead::Heap* heap) {
|
||||
return BattleCloseExplosivesAvoidRun::init_(heap);
|
||||
}
|
||||
|
||||
void BattleCloseDangerAvoidRun::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BattleCloseExplosivesAvoidRun::enter_(params);
|
||||
}
|
||||
|
||||
void BattleCloseDangerAvoidRun::leave_() {
|
||||
BattleCloseExplosivesAvoidRun::leave_();
|
||||
}
|
||||
|
||||
void BattleCloseDangerAvoidRun::loadParams_() {
|
||||
BattleCloseExplosivesAvoidRun::loadParams_();
|
||||
getStaticParam(&mAvoidSubAngle_s, "AvoidSubAngle");
|
||||
}
|
||||
|
||||
void BattleCloseDangerAvoidRun::calc_() {
|
||||
BattleCloseExplosivesAvoidRun::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,14 +11,9 @@ public:
|
||||
explicit BattleCloseDangerAvoidRun(const InitArg& arg);
|
||||
~BattleCloseDangerAvoidRun() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// static_param at offset 0xe0
|
||||
const float* mAvoidSubAngle_s{};
|
||||
};
|
||||
|
||||
@@ -7,10 +7,6 @@ BattleCloseExplosivesAvoidRun::BattleCloseExplosivesAvoidRun(const InitArg& arg)
|
||||
|
||||
BattleCloseExplosivesAvoidRun::~BattleCloseExplosivesAvoidRun() = default;
|
||||
|
||||
bool BattleCloseExplosivesAvoidRun::init_(sead::Heap* heap) {
|
||||
return BattleCloseMoveAction::init_(heap);
|
||||
}
|
||||
|
||||
void BattleCloseExplosivesAvoidRun::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BattleCloseMoveAction::enter_(params);
|
||||
}
|
||||
@@ -24,8 +20,4 @@ void BattleCloseExplosivesAvoidRun::loadParams_() {
|
||||
getStaticParam(&mDamageIgnoreDist_s, "DamageIgnoreDist");
|
||||
}
|
||||
|
||||
void BattleCloseExplosivesAvoidRun::calc_() {
|
||||
BattleCloseMoveAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,14 +11,11 @@ public:
|
||||
explicit BattleCloseExplosivesAvoidRun(const InitArg& arg);
|
||||
~BattleCloseExplosivesAvoidRun() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// static_param at offset 0xa8
|
||||
const float* mDamageIgnoreDist_s{};
|
||||
};
|
||||
|
||||
@@ -7,25 +7,8 @@ BattleCloseExplosivesGuardRun::BattleCloseExplosivesGuardRun(const InitArg& arg)
|
||||
|
||||
BattleCloseExplosivesGuardRun::~BattleCloseExplosivesGuardRun() = default;
|
||||
|
||||
bool BattleCloseExplosivesGuardRun::init_(sead::Heap* heap) {
|
||||
return BattleCloseExplosivesAvoidRun::init_(heap);
|
||||
}
|
||||
|
||||
void BattleCloseExplosivesGuardRun::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BattleCloseExplosivesAvoidRun::enter_(params);
|
||||
}
|
||||
|
||||
void BattleCloseExplosivesGuardRun::leave_() {
|
||||
BattleCloseExplosivesAvoidRun::leave_();
|
||||
}
|
||||
|
||||
void BattleCloseExplosivesGuardRun::loadParams_() {
|
||||
BattleCloseMoveActionBase::loadParams_();
|
||||
getStaticParam(&mDamageIgnoreDist_s, "DamageIgnoreDist");
|
||||
}
|
||||
|
||||
void BattleCloseExplosivesGuardRun::calc_() {
|
||||
BattleCloseExplosivesAvoidRun::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,16 +11,9 @@ public:
|
||||
explicit BattleCloseExplosivesGuardRun(const InitArg& arg);
|
||||
~BattleCloseExplosivesGuardRun() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
|
||||
// static_param at offset 0xa8
|
||||
const float* mDamageIgnoreDist_s{};
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -6,24 +6,8 @@ BattleCloseGuardRun::BattleCloseGuardRun(const InitArg& arg) : BattleCloseMoveAc
|
||||
|
||||
BattleCloseGuardRun::~BattleCloseGuardRun() = default;
|
||||
|
||||
bool BattleCloseGuardRun::init_(sead::Heap* heap) {
|
||||
return BattleCloseMoveAction::init_(heap);
|
||||
}
|
||||
|
||||
void BattleCloseGuardRun::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BattleCloseMoveAction::enter_(params);
|
||||
}
|
||||
|
||||
void BattleCloseGuardRun::leave_() {
|
||||
BattleCloseMoveAction::leave_();
|
||||
}
|
||||
|
||||
void BattleCloseGuardRun::loadParams_() {
|
||||
BattleCloseAction::loadParams_();
|
||||
}
|
||||
|
||||
void BattleCloseGuardRun::calc_() {
|
||||
BattleCloseMoveAction::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -11,13 +11,9 @@ public:
|
||||
explicit BattleCloseGuardRun(const InitArg& arg);
|
||||
~BattleCloseGuardRun() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
void leave_() override;
|
||||
void loadParams_() override;
|
||||
|
||||
protected:
|
||||
void calc_() override;
|
||||
};
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
@@ -4,8 +4,6 @@ namespace uking::action {
|
||||
|
||||
BattleCloseGuardWalk::BattleCloseGuardWalk(const InitArg& arg) : BattleCloseMoveAction(arg) {}
|
||||
|
||||
BattleCloseGuardWalk::~BattleCloseGuardWalk() = default;
|
||||
|
||||
bool BattleCloseGuardWalk::init_(sead::Heap* heap) {
|
||||
return BattleCloseMoveAction::init_(heap);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ class BattleCloseGuardWalk : public BattleCloseMoveAction {
|
||||
SEAD_RTTI_OVERRIDE(BattleCloseGuardWalk, BattleCloseMoveAction)
|
||||
public:
|
||||
explicit BattleCloseGuardWalk(const InitArg& arg);
|
||||
~BattleCloseGuardWalk() override;
|
||||
|
||||
bool init_(sead::Heap* heap) override;
|
||||
void enter_(ksys::act::ai::InlineParamPack* params) override;
|
||||
|
||||
@@ -7,27 +7,4 @@ BattleCloseMeanderGuardRun::BattleCloseMeanderGuardRun(const InitArg& arg)
|
||||
|
||||
BattleCloseMeanderGuardRun::~BattleCloseMeanderGuardRun() = default;
|
||||
|
||||
bool BattleCloseMeanderGuardRun::init_(sead::Heap* heap) {
|
||||
return BattleCloseMeanderRun::init_(heap);
|
||||
}
|
||||
|
||||
void BattleCloseMeanderGuardRun::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
BattleCloseMeanderRun::enter_(params);
|
||||
}
|
||||
|
||||
void BattleCloseMeanderGuardRun::leave_() {
|
||||
BattleCloseMeanderRun::leave_();
|
||||
}
|
||||
|
||||
void BattleCloseMeanderGuardRun::loadParams_() {
|
||||
BattleCloseMoveActionBase::loadParams_();
|
||||
getStaticParam(&mMeanderWidth_s, "MeanderWidth");
|
||||
getStaticParam(&mMeanderSpeed_s, "MeanderSpeed");
|
||||
getStaticParam(&mJumpUpSpeedReduceRatio_s, "JumpUpSpeedReduceRatio");
|
||||
}
|
||||
|
||||
void BattleCloseMeanderGuardRun::calc_() {
|
||||
BattleCloseMeanderRun::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user