summaryrefslogtreecommitdiff
path: root/include/f_ap
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-01-25 12:24:14 -0800
committerGitHub <noreply@github.com>2022-01-25 21:24:14 +0100
commit612f26c132280da43ecfa5fa8c8cc32966f06eb6 (patch)
treeac20d071712cf830ec526222c98d340d90721f77 /include/f_ap
parent6f4d068f1d7c5a9f25f1920e64e5b10dc29aea07 (diff)
d_kankyo_wether / d_eye_hl (#178)
* d_eye_hl / d_kankyo_wether wip * more d_kankyo_wether + format * remove asm * some d_kankyo wip * fix dccs vtable * some m_Do_graphic / d_meter2_draw work
Diffstat (limited to 'include/f_ap')
-rw-r--r--include/f_ap/f_ap_game.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/f_ap/f_ap_game.h b/include/f_ap/f_ap_game.h
index a7dfe8c9b9..c4320f6b26 100644
--- a/include/f_ap/f_ap_game.h
+++ b/include/f_ap/f_ap_game.h
@@ -18,7 +18,7 @@ public:
/* 0x10 */ f32 field_0x10;
/* 0x14 */ bool mUsingHostIO;
/* 0x15 */ bool mDisplayMeter;
- /* 0x16 */ bool mDisplayPrint;
+ /* 0x16 */ u8 mDisplayPrint;
/* 0x17 */ bool mDisplay2D;
/* 0x18 */ bool mDisplayParticle;
/* 0x19 */ bool mDisplayProcessID;
@@ -41,4 +41,14 @@ public:
extern fapGm_HIO_c g_HIO;
+inline bool fapGmHIO_isMenu() {
+ return g_HIO.mDisplayPrint & 2;
+}
+inline bool fapGmHIO_isPrint() {
+ return g_HIO.mDisplayPrint & 1;
+}
+inline bool fapGmHIO_getMeter() {
+ return g_HIO.mDisplayMeter;
+}
+
#endif /* F_AP_F_AP_GAME_H */