summaryrefslogtreecommitdiff
path: root/include/d
diff options
context:
space:
mode:
authorcompugab <compugab@hotmail.com>2026-06-28 20:20:19 -0400
committercompugab <compugab@hotmail.com>2026-06-28 20:20:19 -0400
commit5eb51e64aad15fdcf68fb4338af04ed53173f5fb (patch)
tree4872dba2cd609310e63b8e7524ad1380473d5e3b /include/d
parent8151ed9701a204e77e8ddeba5f18f30a27cc8961 (diff)
matching d_lyt_demo_title .text to 48%
Diffstat (limited to 'include/d')
-rw-r--r--include/d/d_stage.h2
-rw-r--r--include/d/d_stage_mgr.h8
-rw-r--r--include/d/lyt/d_lyt_demo_title.h84
3 files changed, 94 insertions, 0 deletions
diff --git a/include/d/d_stage.h b/include/d/d_stage.h
index 1c238c2f..5b69d38d 100644
--- a/include/d/d_stage.h
+++ b/include/d/d_stage.h
@@ -164,6 +164,8 @@ public:
return curr_room_id;
}
+ dFader_c& getFader() { return mFader; }
+
bool fn_801B3EE0();
void fn_801B3F20();
void fn_801B3F30();
diff --git a/include/d/d_stage_mgr.h b/include/d/d_stage_mgr.h
index 64bd6276..4771ba1e 100644
--- a/include/d/d_stage_mgr.h
+++ b/include/d/d_stage_mgr.h
@@ -121,6 +121,14 @@ public:
return (field_0x88A0 & flag) != 0;
}
+ void unsetFlags0x88a0(u32 flag){
+ field_0x88A0 &= flag;
+ }
+
+ void setFlags0x88a0(u32 flag){
+ field_0x88A0 |= flag;
+ }
+
void initUnkWithWater(u32 val, d3d::UnkWithWater *waterThing);
void destroyUnkWithWater(u32 val, d3d::UnkWithWater *waterThing);
diff --git a/include/d/lyt/d_lyt_demo_title.h b/include/d/lyt/d_lyt_demo_title.h
new file mode 100644
index 00000000..1933d0dd
--- /dev/null
+++ b/include/d/lyt/d_lyt_demo_title.h
@@ -0,0 +1,84 @@
+#ifndef D_LYT_DEMO_TITLE_H
+#define D_LYT_DEMO_TITLE_H
+
+#include "d/lyt/d2d.h"
+#include "s/s_State.hpp"
+#include "s/s_StateID.hpp"
+#include "d/lyt/d_lyt_base.h"
+
+class dLytDemoTitleMain_c {
+public:
+ dLytDemoTitleMain_c();
+ virtual ~dLytDemoTitleMain_c();
+
+ bool fn_802B0760(d2d::ResAccIf_c *resAcc);
+ bool fn_802B0860();
+ bool fn_802B0950();
+ bool fn_802B0980();
+ void fn_802B09F0();
+ void fn_802B0A50();
+ void fn_802B0B00();
+ void fn_802B0B50();
+ void fn_802B0BD0();
+ void fn_802B0C20();
+
+ bool getmIsAnimating(){
+ return mIsAnimating;
+ }
+
+ d2d::LytBase_c getmLytBase(){
+ return mLytBase;
+ }
+
+private:
+ STATE_FUNC_DECLARE(dLytDemoTitleMain_c, ModeNone);
+ STATE_FUNC_DECLARE(dLytDemoTitleMain_c, ModeIn);
+ STATE_FUNC_DECLARE(dLytDemoTitleMain_c, ModeMove);
+ STATE_FUNC_DECLARE(dLytDemoTitleMain_c, ModeOut);
+ STATE_FUNC_DECLARE(dLytDemoTitleMain_c, ModeEnd);
+
+ /* 0x004 */ UI_STATE_MGR_DECLARE(dLytDemoTitleMain_c);
+ /* 0x040 */ d2d::LytBase_c mLytBase;
+ /* 0x0d0 */ d2d::AnmGroup_c mAnmGroups[2];
+ /* 0x150 */ bool mIsAnimating;
+
+};
+
+class dLytDemoTitle_c : public dLytBase_c {
+public:
+ dLytDemoTitle_c();
+ virtual ~dLytDemoTitle_c();
+
+ void fn_802B0C20();
+ void fn_802B0CA0();
+ void fn_802B0CB0();
+ void fn_802B0CC0();
+ void fn_802B0D20();
+ void fn_802B0D30();
+ void fn_802B0D40();
+ void fn_802B0DB0();
+ void fn_802B0DC0();
+ void fn_802B0DD0();
+ void fn_802B0E30();
+ void fn_802B0E40();
+ void fn_802B0E50();
+ void fn_802B0E60();
+ bool fn_802B1270(d2d::ResAccIf_c *resAcc);
+
+private:
+ STATE_FUNC_DECLARE(dLytDemoTitle_c, None);
+ STATE_FUNC_DECLARE(dLytDemoTitle_c, In);
+ STATE_FUNC_DECLARE(dLytDemoTitle_c, Move);
+ STATE_FUNC_DECLARE(dLytDemoTitle_c, Out);
+ STATE_FUNC_DECLARE(dLytDemoTitle_c, End);
+
+
+ /* 0x08c */ UI_STATE_MGR_DECLARE(dLytDemoTitle_c);
+ /* 0x040 */ u8 padding[0xcc-0x0c8];
+ /* 0x0cc */ nw4r::lyt::ArcResourceAccessor mAccessor;
+ /* 0x17c */ nw4r::lyt::FontRefLink mFontRefLinks[5];
+ /* 0x438 */ dLytDemoTitleMain_c mMain;
+ /* 0x58c */ bool mIsAnimating;
+ /* 0x58d */ bool field_0x58d;
+};
+#endif