summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/GeneralParamList/resGParamListObjectGelEnemy.h
blob: 91b4b292726faf318ca0bfdf24787e19c08735c2 (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
43
44
45
46
47
48
49
50
51
52
#pragma once

#include <utility/aglParameter.h>
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
#include "KingSystem/Utils/Types.h"

namespace ksys::res {

class GParamListObjectGelEnemy : public GParamListObject {
public:
    GParamListObjectGelEnemy();
    const char* getName() const override { return "GelEnemy"; }

    agl::utl::Parameter<sead::SafeString> mMoveBoneName;
    agl::utl::Parameter<f32> mBodyRadius;
    agl::utl::Parameter<s32> mClothBoneNumForEyeCalc;
    agl::utl::Parameter<sead::SafeString> mBodyRootBoneName;
    agl::utl::Parameter<sead::SafeString> mLeftEyeBoneName;
    agl::utl::Parameter<sead::SafeString> mRightEyeBoneName;
    agl::utl::Parameter<f32> mEyeSpaceHalf;
    agl::utl::Parameter<sead::Vector3f> mEyeDir;
    agl::utl::Parameter<sead::Vector3f> mEyeOffset;
    agl::utl::Parameter<f32> mEyeUpMoveRate;
    agl::utl::Parameter<f32> mEyeDownMoveRate;
    agl::utl::Parameter<bool> mIsAverageEyePos;
    agl::utl::Parameter<f32> mEyeDelayAccRate;
    agl::utl::Parameter<f32> mEyeYMoveTheta;
    agl::utl::Parameter<f32> mEyeYMoveFrequency;
};
KSYS_CHECK_SIZE_NX150(GParamListObjectGelEnemy, 0x248);

inline GParamListObjectGelEnemy::GParamListObjectGelEnemy() {
    auto* const obj = &mObj;

    mMoveBoneName.init("Body_Move", "MoveBoneName", "", obj);
    mBodyRadius.init(1.0, "BodyRadius", "", obj);
    mClothBoneNumForEyeCalc.init(12, "ClothBoneNumForEyeCalc", "", obj);
    mBodyRootBoneName.init("Skl_Root", "BodyRootBoneName", "", obj);
    mLeftEyeBoneName.init("", "LeftEyeBoneName", "", obj);
    mRightEyeBoneName.init("", "RightEyeBoneName", "", obj);
    mEyeSpaceHalf.init(0.0, "EyeSpaceHalf", "", obj);
    mEyeDir.init({0.75, 1.0, 1.0}, "EyeDir", "", obj);
    mEyeOffset.init({0.0, 0.0, 0.0}, "EyeOffset", "", obj);
    mEyeUpMoveRate.init(0.2, "EyeUpMoveRate", "", obj);
    mEyeDownMoveRate.init(0.05, "EyeDownMoveRate", "", obj);
    mIsAverageEyePos.init(true, "IsAverageEyePos", "", obj);
    mEyeDelayAccRate.init(0.6, "EyeDelayAccRate", "", obj);
    mEyeYMoveTheta.init(1.0, "EyeYMoveTheta", "", obj);
    mEyeYMoveFrequency.init(0.033, "EyeYMoveFrequency", "", obj);
}

}  // namespace ksys::res