summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2022-12-22 13:07:26 -0700
committerPheenoh <pheenoh@gmail.com>2022-12-22 13:07:26 -0700
commit90ac790694c05b0d16784c8a20a71023d5cc43f0 (patch)
tree83f306163caf3d61757f8910a28b43f05b0a2175 /include
parentdd8a1ca27ff3a0b4ad9db479ccb59c9e97fa1cec (diff)
dTimer_show and dTimer_hide
Diffstat (limited to 'include')
-rw-r--r--include/d/d_timer.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/d/d_timer.h b/include/d/d_timer.h
index 7a20aced6b..dc16f38dec 100644
--- a/include/d/d_timer.h
+++ b/include/d/d_timer.h
@@ -12,6 +12,9 @@
s32 dTimer_createStockTimer();
class dDlst_TimerScrnDraw_c {
+private:
+ u8 field_0x00[0x3e1];
+ u8 mTimerVisible;
public:
/* 8025DB38 */ dDlst_TimerScrnDraw_c();
/* 8025DBE0 */ void setHIO();
@@ -39,6 +42,14 @@ public:
/* 80260AD4 */ void playBckAnimation(f32);
/* 80260B54 */ void drawPikari(int);
/* 80261394 */ ~dDlst_TimerScrnDraw_c();
+
+ void show() {
+ mTimerVisible = 1;
+ }
+
+ void hide() {
+ mTimerVisible = 0;
+ }
};
class dTimer_c : public msg_class {
@@ -85,6 +96,14 @@ public:
s32 createStart(u16 param_0) {
return ((dDlst_TimerScrnDraw_c*)field_0xfc)->createStart(param_0);
}
+
+ void show() {
+ ((dDlst_TimerScrnDraw_c*)field_0xfc)->show();
+ }
+
+ void hide() {
+ ((dDlst_TimerScrnDraw_c*)field_0xfc)->hide();
+ }
};
#endif /* D_D_TIMER_H */