summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Horse/Action/actionAnimalMoveGuidedBase.h
blob: 2b20027fb98fc0cda5001fb567a3fc5eaa47a200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once

#include "KingSystem/ActorSystem/actAiAction.h"

namespace uking::action {

class AnimalMoveGuidedBase : public ksys::act::ai::Action {
    SEAD_RTTI_OVERRIDE(AnimalMoveGuidedBase, ksys::act::ai::Action)
public:
    explicit AnimalMoveGuidedBase(const InitArg& arg);

    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 int* mMinUseGear_s{};
    // static_param at offset 0x28
    const int* mMaxUseGear_s{};
    // static_param at offset 0x30
    const int* mUseGearType_s{};
    // static_param at offset 0x38
    const int* mAutoStopAndTurnMode_s{};
    // static_param at offset 0x40
    const int* mMinGearAtAutoGearDown_s{};
    // static_param at offset 0x48
    const float* mGoalDistanceTolerance_s{};
    // static_param at offset 0x50
    const bool* mCanUseHorseGearInput_s{};
    // static_param at offset 0x58
    const bool* mIsAutoGearDownEnabled_s{};
    // static_param at offset 0x60
    const bool* mHasToDecelerateNearGoal_s{};
    // static_param at offset 0x68
    const bool* mWaitUntilPathSucceeded_s{};
};

}  // namespace uking::action