diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-03-28 04:11:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-28 05:11:41 -0600 |
| commit | 92b88e83e86c60442ba1f9748c80b7db9242bf92 (patch) | |
| tree | 0911f27946cfd9f4f108116bbb59576b053aac6b /include/d/d_select_cursor.h | |
| parent | 721880831e114f08756ffd846ab69cd0d729863c (diff) | |
d_menu_calibration done / J3DDrawBuffer done / more d_drawlist wip (#312)
* d_drawlist work / finish J3DDrawBuffer
* d_menu_calibration done
* remove asm
Diffstat (limited to 'include/d/d_select_cursor.h')
| -rw-r--r-- | include/d/d_select_cursor.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/include/d/d_select_cursor.h b/include/d/d_select_cursor.h index fa188148e0..7c9d372d35 100644 --- a/include/d/d_select_cursor.h +++ b/include/d/d_select_cursor.h @@ -1,11 +1,10 @@ #ifndef D_D_SELECT_CURSOR_H #define D_D_SELECT_CURSOR_H +#include "JSystem/J2DGraph/J2DPane.h" +#include "JSystem/J2DGraph/J2DScreen.h" #include "d/d_drawlist.h" #include "d/d_select_icon.h" -#include "dolphin/types.h" -#include "JSystem/J2DGraph/J2DScreen.h" -#include "JSystem/J2DGraph/J2DPane.h" class dSelect_cursorHIO_c { public: @@ -49,17 +48,14 @@ public: mPositionY = y; } - void onUpdateFlag() { - mUpdateFlag = true; - } + void onUpdateFlag() { mUpdateFlag = true; } - void resetUpdateFlag() { - mUpdateFlag = false; - } + void resetUpdateFlag() { mUpdateFlag = false; } - bool getUpdateFlag() { - return mUpdateFlag; - } + bool getUpdateFlag() { return mUpdateFlag; } + + void onPlayAnime(int i_flag) { field_0xb4 |= (1 << i_flag); } + void offPlayAnime(int i_flag) { field_0xb4 &= ~(1 << i_flag); } private: /* 0x04 */ J2DScreen* mpScreen; |
