diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2022-03-26 10:17:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-26 13:17:17 -0400 |
| commit | 02c7a47f133add5e4c1d8d7f88d1a7bddc13d9ad (patch) | |
| tree | 06978acd3c890efb153ab35a00ccbab29f89db49 /include/f_ap | |
| parent | 0cfa10aea8453c47329ffc316029a9994b7b7169 (diff) | |
move remaining old progress (#186)
* move remaining old progress
* remove asm
Diffstat (limited to 'include/f_ap')
| -rw-r--r-- | include/f_ap/f_ap_game.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/f_ap/f_ap_game.h b/include/f_ap/f_ap_game.h index c4320f6b26..611a9feae0 100644 --- a/include/f_ap/f_ap_game.h +++ b/include/f_ap/f_ap_game.h @@ -14,8 +14,8 @@ public: /* 0x04 */ s8 field_0x04; /* 0x05 */ u8 field_0x03[3]; /* 0x08 */ JUtility::TColor mColor; - /* 0x0C */ f32 field_0xc; - /* 0x10 */ f32 field_0x10; + /* 0x0C */ f32 mLROnValue; + /* 0x10 */ f32 mLROffValue; /* 0x14 */ bool mUsingHostIO; /* 0x15 */ bool mDisplayMeter; /* 0x16 */ u8 mDisplayPrint; @@ -44,11 +44,21 @@ 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; } +inline f32 fapGmHIO_getLROnValue() { + return g_HIO.mLROnValue; +} + +inline f32 fapGmHIO_getLROffValue() { + return g_HIO.mLROffValue; +} + #endif /* F_AP_F_AP_GAME_H */ |
