summaryrefslogtreecommitdiff
path: root/src/Game/Actor/System/Action/actionSystemSetWindAction.h
blob: 33425df7d827153575ad4322d22aa7acc11ed65f (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
#pragma once

#include "KingSystem/ActorSystem/actAiAction.h"

namespace uking::action {

class SystemSetWindAction : public ksys::act::ai::Action {
    SEAD_RTTI_OVERRIDE(SystemSetWindAction, ksys::act::ai::Action)
public:
    explicit SystemSetWindAction(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;

    // FIXME: remove this
    u8 pad_0x20[0x8];
    // dynamic_param at offset 0x28
    float* mWindDirX_d{};
    // dynamic_param at offset 0x30
    float* mWindDirY_d{};
    // dynamic_param at offset 0x38
    float* mWindDirZ_d{};
    // dynamic_param at offset 0x40
    float* mWindPower_d{};
    // dynamic_param at offset 0x48
    bool* mIsAutoWind_d{};
};

}  // namespace uking::action