diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_controller.h | 3 | ||||
| -rw-r--r-- | include/m_pause.h | 10 |
2 files changed, 11 insertions, 2 deletions
diff --git a/include/m_controller.h b/include/m_controller.h index 7370fdc..fc5a6f8 100644 --- a/include/m_controller.h +++ b/include/m_controller.h @@ -3,6 +3,9 @@ #include "ultra64.h" +#define CHECK_BTN_ALL(state, combo) (~((state) | ~(combo)) == 0) +#define RESET_BUTTON 0x80 + struct GameState; void mCon_ct(struct GameState* gameState); diff --git a/include/m_pause.h b/include/m_pause.h index b841780..c44070e 100644 --- a/include/m_pause.h +++ b/include/m_pause.h @@ -2,8 +2,14 @@ #define M_PAUSE_H #include "ultra64.h" +#include "libu64/pad.h" -// void Pause_ct(); -// void Pause_proc(); +typedef struct Pause{ + /* 0x0 */ s32 enabled; + /* 0x4 */ s32 timer; +} Pause; // size = 0x8 + +void Pause_ct(Pause* pause); +s32 Pause_proc(Pause* pause, Input* input); #endif |
