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

#include <heap/seadDisposer.h>
#include <math/seadVector.h>
#include <prim/seadSafeString.h>

namespace ksys::act {

// TODO: incomplete
class ActorSystem {
    SEAD_SINGLETON_DISPOSER(ActorSystem)
    ActorSystem();

public:
    void onBaseProcMgrCalc();

    bool getAutoPlacementActorPos(const sead::SafeString& name, sead::Vector3f* pos) const;

    sead::Heap* getEmergencyHeap() const { return mEmergencyHeap; }
    const sead::Vector3f& getPlayerPos() const { return mPlayerPos; }

private:
    u8 temp_0x20[0xd0 - 0x20];
    sead::Heap* mEmergencyHeap;
    sead::Vector3f mPlayerPos;
};

}  // namespace ksys::act