From f8979749e3ef8e8cacf2ea8f474c7f23fc5cb6b3 Mon Sep 17 00:00:00 2001 From: TakaRikka <38417346+TakaRikka@users.noreply.github.com> Date: Tue, 30 Aug 2022 14:22:17 -0700 Subject: 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 --- include/JSystem/JStage/JSGSystem.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'include/JSystem/JStage/JSGSystem.h') 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 */ -- cgit v1.2.3