summaryrefslogtreecommitdiff
path: root/include/JSystem/JStage/JSGSystem.h
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-30 00:08:57 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-30 00:08:57 -0400
commit52d40a9ce77f030c3c770834e1fc8d5f6b17eafc (patch)
treeda9959bdd76bc730ad5ff7a63d1c471e6cae5831 /include/JSystem/JStage/JSGSystem.h
parentbd0f72893cb60ca5d8c5dc8c0b1d92a4471b4010 (diff)
JStage all match
Diffstat (limited to 'include/JSystem/JStage/JSGSystem.h')
-rw-r--r--include/JSystem/JStage/JSGSystem.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/JSystem/JStage/JSGSystem.h b/include/JSystem/JStage/JSGSystem.h
new file mode 100644
index 00000000..f08b2ca8
--- /dev/null
+++ b/include/JSystem/JStage/JSGSystem.h
@@ -0,0 +1,28 @@
+#ifndef JSGSYSTEM_H
+#define JSGSYSTEM_H
+
+#include "JSystem/JStage/JSGObject.h"
+
+namespace JStage {
+ enum TEObject {
+ /* 0x0 */ TOBJ_ACTOR_UNK,
+ /* 0x1 */ TOBJ_UNK1,
+ /* 0x2 */ TOBJ_ACTOR,
+ /* 0x3 */ TOBJ_CAMERA,
+ /* 0x4 */ TOBJ_AMBIENT,
+ /* 0x5 */ TOBJ_LIGHT,
+ /* 0x6 */ TOBJ_FOG,
+ };
+
+ struct TSystem : public TObject {
+ virtual ~TSystem() = 0;
+ virtual s32 JSGFGetType() const;
+ virtual bool JSGFindObject(char const*, JStage::TEObject) const;
+ virtual bool JSGCreateObject(char const*, JStage::TEObject, u32);
+ virtual void JSGDestroyObject(JStage::TObject*);
+ virtual bool JSGGetSystemData(u32);
+ virtual void JSGSetSystemData(u32, u32);
+ };
+};
+
+#endif /* JSGSYSTEM_H */