diff options
| author | Aetias <aetias@outlook.com> | 2025-02-01 09:22:10 +0100 |
|---|---|---|
| committer | Aetias <aetias@outlook.com> | 2025-02-01 09:22:10 +0100 |
| commit | 362a95521258ac6ffd4dcf1ca87752b6e6d7a04c (patch) | |
| tree | 40f37fda9f54fc3197caf6b042351c79d1499f52 /include | |
| parent | 7c91f608f3219df331e04e01fa2d96757f8ee1e6 (diff) | |
Add ActorSpawner
Diffstat (limited to 'include')
| -rw-r--r-- | include/Actor/ActorSpawner.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/Actor/ActorSpawner.hpp b/include/Actor/ActorSpawner.hpp new file mode 100644 index 00000000..e417ddcc --- /dev/null +++ b/include/Actor/ActorSpawner.hpp @@ -0,0 +1,25 @@ +#pragma once + +#include <nds/math.h> + +#include "global.h" +#include "types.h" + +#include "Actor/ActorRef.hpp" +#include "Actor/ActorType.hpp" + +class ActorSpawner { +public: + /* 0 (empty) */ + + static ActorSpawner *Create(); + static void Destroy(); + ActorSpawner(); + ~ActorSpawner(); + void _ZN12ActorSpawner19func_ov000_020c4014Ev(); + void _ZN12ActorSpawner19func_ov000_020c4018Ev(); + Actor *CreateActor(ActorTypeId type); + s32 Spawn(ActorTypeId type, Vec3p *pos, void *param3, ActorRef *ref); +}; + +extern ActorSpawner *gActorSpawner; |
