Files
botw/src/Game/Actor/Action/actionLargeAttack.h
T
Léo Lam f4cd38c43b Actor: move all AI code under Game/Actor
Link order shows one sorted actor tree, not a separate AI project: the
Action/AI/Query folders and per-feature folders (Camera, Player, Horse,
...) come out of the same archive rounds as the actor classes.

(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
2026-09-14 00:02:22 +02:00

38 lines
1003 B
C++

#pragma once
#include "Game/Actor/Action/actionActionEx.h"
#include "KingSystem/ActorSystem/actAiAction.h"
namespace uking::action {
class LargeAttack : public ActionEx {
SEAD_RTTI_OVERRIDE(LargeAttack, ActionEx)
public:
explicit LargeAttack(const InitArg& arg);
~LargeAttack() 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 int* mWeaponIdx_s{};
// static_param at offset 0x28
const float* mRotSpd_s{};
// dynamic_param at offset 0x30
sead::Vector3f* mTargetPos_d{};
// static_param at offset 0x38
const float* mAttackRatio_s{};
// static_param at offset 0x40
const float* mJustAvoidSideDist_s{};
// static_param at offset 0x48
const float* mJustAvoidBackDist_s{};
// static_param at offset 0x50
const float* mJustAvoidAngle_s{};
};
} // namespace uking::action