summaryrefslogtreecommitdiff
path: root/include/JSystem/JStage/JSGSystem.h
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-08-30 14:22:17 -0700
committerGitHub <noreply@github.com>2022-08-30 15:22:17 -0600
commitf8979749e3ef8e8cacf2ea8f474c7f23fc5cb6b3 (patch)
tree69659df2105266e9b26a4d50b9a2d610b3e437a2 /include/JSystem/JStage/JSGSystem.h
parentbc30d007e11458a198c5725626a10bb06a5da536 (diff)
j2d / map_path work, d_drawlist / d_attention cleanup (#208)
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
Diffstat (limited to 'include/JSystem/JStage/JSGSystem.h')
-rw-r--r--include/JSystem/JStage/JSGSystem.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/JSystem/JStage/JSGSystem.h b/include/JSystem/JStage/JSGSystem.h
index be77b80e04..2ced8fb898 100644
--- a/include/JSystem/JStage/JSGSystem.h
+++ b/include/JSystem/JStage/JSGSystem.h
@@ -2,5 +2,28 @@
#define JSGSYSTEM_H
#include "dolphin/types.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 {
+ /* 80280E90 */ virtual ~TSystem() = 0;
+ /* 80280EF0 */ virtual s32 JSGFGetType() const;
+ /* 80280EF8 */ virtual bool JSGFindObject(JStage::TObject**, char const*, JStage::TEObject) const;
+ /* 80280F00 */ virtual bool JSGCreateObject(char const*, JStage::TEObject, u32);
+ /* 80280F08 */ virtual void JSGDestroyObject(JStage::TObject*);
+ /* 80280F0C */ virtual bool JSGGetSystemData(u32);
+ /* 80280F14 */ virtual void JSGSetSystemData(u32, u32);
+ };
+};
#endif /* JSGSYSTEM_H */