summaryrefslogtreecommitdiff
path: root/include/m_controller.h
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-08-17 12:19:13 -0400
committerGitHub <noreply@github.com>2023-08-17 09:19:13 -0700
commitc65a8dbc3903af19fe0253ab8774accbc06b0cb7 (patch)
tree8c136e0ecea87503261cdd22fc5b81cf31044f50 /include/m_controller.h
parent1bebc761b638ad061778667e4bab4ec92fe81aa7 (diff)
Game renaming (#63)
* rename GameState to Game * Rename the structs * fix table * whoops * rename play parameter * format * undo what i messed in z64compress
Diffstat (limited to 'include/m_controller.h')
-rw-r--r--include/m_controller.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_controller.h b/include/m_controller.h
index 5a8eaf8..5fdac72 100644
--- a/include/m_controller.h
+++ b/include/m_controller.h
@@ -31,12 +31,12 @@ typedef struct Controller {
/* 0x34 */ f32 lastAdjustedR;
} Controller; // size = 0x38
-struct GameState;
+struct Game;
-void mCon_ct(struct GameState* gameState);
-void mCon_dt(struct GameState* gameState);
+void mCon_ct(struct Game* gameState);
+void mCon_dt(struct Game* gameState);
void mCon_calc(Controller* controller, f32 x, f32 y);
-void mCon_main(struct GameState* game);
+void mCon_main(struct Game* game);
s32 chkButton(u16 mask);
u16 getButton(void);
s32 chkTrigger(u16 mask);