diff options
| author | compugab <compugab@hotmail.com> | 2026-06-22 13:42:28 -0400 |
|---|---|---|
| committer | compugab <compugab@hotmail.com> | 2026-06-22 13:43:39 -0400 |
| commit | 895ee9eb032ceae947b717b9008739bdb8e24865 (patch) | |
| tree | 33f0d1cbfd38581e5a698d7c78d6804f135bdd79 /include/d | |
| parent | 9aac632fd0ec4c06141aa400771cd138fbc9e89a (diff) | |
matching d_lyt_map_capture and helping functions in d_stage
Diffstat (limited to 'include/d')
| -rw-r--r-- | include/d/d_stage.h | 14 | ||||
| -rw-r--r-- | include/d/lyt/d_lyt_map_capture.h | 10 |
2 files changed, 13 insertions, 11 deletions
diff --git a/include/d/d_stage.h b/include/d/d_stage.h index 60c79aa5..1c238c2f 100644 --- a/include/d/d_stage.h +++ b/include/d/d_stage.h @@ -42,12 +42,10 @@ class MapRelated { bool c; }; - - public: MapRelated(); ~MapRelated(); - int fn_801B5970(const GXTexObj*); + bool fn_801B5970(GXTexObj *) const; /* 0x000 */ mHeapAllocator_c mAllocator; /* 0x01C */ Child mChildren[8]; /* 0x0FC */ mVec3_c field_0x0FC; @@ -57,7 +55,7 @@ public: /* 0x12C */ f32 field_0x12C; /* 0x130 */ EGG::ScreenEffectBlur mScreenEffect; /* 0x168 */ EGG::PostEffectBlur mPostEffect; - /* 0x1E0 */ u32 field_0x1E0; + /* 0x1E0 */ EGG::CpuTexture *mpCpuTexture; /* 0x1E4 */ u16 field_0x1E4; /* 0x1E6 */ u16 field_0x1E6; /* 0x1E8 */ u8 field_0x1E8; @@ -65,7 +63,7 @@ public: /* 0x1EA */ s8 field_0x1EA; /* 0x1EB */ u8 field_0x1EB; /* 0x1EC */ s8 field_0x1EC; - /* 0x1ED */ u8 field_0x1ED; + /* 0x1ED */ s8 field_0x1ED; /* 0x1EE */ u8 field_0x1EE; /* 0x1EF */ u8 field_0x1EF; /* 0x1F0 */ u8 field_0x1F0; @@ -87,11 +85,15 @@ public: field_0x1EF = v; } + Child *getChildForFloor(s32 floor) { + return &mChildren[floor + 3]; + } + void init(MapRelated *); void fn_801b4900(); void fn_801B4B80(u32 mapParams, const mVec3_c ¢er, const mVec3_c &size); void fn_801B4C70(const mVec3_c &); - void fn_801B50C0(s32); + bool fn_801B50C0(s32); const mVec3_c &fn_801B4C90() const; const mVec3_c &fn_801B4CB0() const; s32 fn_801B4F10(s32 roomid, const mVec3_c &position) const; diff --git a/include/d/lyt/d_lyt_map_capture.h b/include/d/lyt/d_lyt_map_capture.h index 4dec80a2..b227270c 100644 --- a/include/d/lyt/d_lyt_map_capture.h +++ b/include/d/lyt/d_lyt_map_capture.h @@ -2,14 +2,14 @@ #define D_LYT_MAP_CAPTURE_H #include "common.h" +#include "m/m_vec.h" #include "nw4r/lyt/lyt_picture.h" #include "s/s_State.hpp" #include "s/s_StateID.hpp" -#include "m/m_vec.h" class dLytMapCapture_c { public: - dLytMapCapture_c() :mStateMgr(*this), mpPicture(nullptr) { + dLytMapCapture_c() : mStateMgr(*this), mpPicture(nullptr) { mRenderRequest = false; mIsBusyRendering = false; field_0x06C = 0.0f; @@ -25,11 +25,11 @@ public: void renderRequest() { mRenderRequest = true; } - + void setPicture(nw4r::lyt::Picture *pic) { mpPicture = pic; } - + void execute(); bool isBusyRendering() const; void fn_8012D610(mVec3_c *out); @@ -38,7 +38,7 @@ public: private: void fn_8012D6F0(); - void fn_8012D800(nw4r::lyt::Pane *pane, const GXTexObj *texObj); + void fn_8012D800(nw4r::lyt::Pane *pane, GXTexObj *texObj); /* 0x004 */ UI_STATE_MGR_DECLARE(dLytMapCapture_c); /* 0x040 */ nw4r::lyt::Picture *mpPicture; |
