summaryrefslogtreecommitdiff
path: root/src/KingSystem/ActorSystem/actDebug.h
blob: d51ea28ada023216609bb857feba5f275229e744 (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
#pragma once

#include <heap/seadDisposer.h>
#include <prim/seadTypedBitFlag.h>
#include "KingSystem/Utils/Types.h"

namespace ksys::act {

class ActorDebug {
    SEAD_SINGLETON_DISPOSER(ActorDebug)
    ActorDebug();
    virtual ~ActorDebug();

public:
    enum class Flag {
        _10000000 = 0x10000000,
        _20000000 = 0x20000000,
    };

    struct HashUnused {
        u32 hash = 0;
        u32 b;
    };

    const char* getNullStr(HashUnused* u);
    bool hasFlag(Flag flag) const { return mFlags.isOn(flag); }

    void* _28;
    sead::TypedBitFlag<Flag> mFlags;
    u8 TEMP1[0x2DC];
    f32 mDispDistanceMultiplier;
    u8 TEMP2[0x114];
};
KSYS_CHECK_SIZE_NX150(ActorDebug, 0x428);

}  // namespace ksys::act