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

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

namespace ksys::act {

class ActorConstDataAccess;

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

public:
    void onBaseProcMgrCalc();

    bool getPlayer(ActorConstDataAccess* accessor);

    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