| 1 | #pragma once |
| 2 | |
| 3 | #include <math/seadVector.h> |
| 4 | |
| 5 | namespace al { |
| 6 | class LiveActor; |
| 7 | class Resource; |
| 8 | struct ActorInitInfo; |
| 9 | class ScreenPointTarget; |
| 10 | |
| 11 | class ScreenPointKeeper { |
| 12 | public: |
| 13 | static bool isExistFile(const Resource*, const char*); |
| 14 | ScreenPointKeeper(); |
| 15 | void initByYaml(LiveActor*, const Resource*, const ActorInitInfo&, const char*); |
| 16 | void initArray(s32); |
| 17 | ScreenPointTarget* addTarget(LiveActor*, const ActorInitInfo&, const char*, f32, |
| 18 | const sead::Vector3f*, const char*, const sead::Vector3f&); |
| 19 | void update(); |
| 20 | void validate(); |
| 21 | const ScreenPointTarget* getTarget(s32) const; |
| 22 | void invalidate(); |
| 23 | void validateBySystem(); |
| 24 | void invalidateBySystem(); |
| 25 | const ScreenPointTarget* getTarget(const char*) const; |
| 26 | bool isExistTarget(const char*) const; |
| 27 | }; |
| 28 | } // namespace al |
| 29 | |
| 30 | namespace alScreenPointFunction { |
| 31 | void updateScreenPointAll(al::LiveActor*); |
| 32 | } |
| 33 | |