Add ActorSpawner

This commit is contained in:
Aetias
2025-02-01 09:22:10 +01:00
parent 7c91f608f3
commit 362a955212
6 changed files with 53 additions and 18 deletions
+25
View File
@@ -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;