summaryrefslogtreecommitdiff
path: root/src/code/m_controller.c
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 /src/code/m_controller.c
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 'src/code/m_controller.c')
-rw-r--r--src/code/m_controller.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/m_controller.c b/src/code/m_controller.c
index 1c108f5..41ab478 100644
--- a/src/code/m_controller.c
+++ b/src/code/m_controller.c
@@ -5,10 +5,10 @@
#include "sys_math_atan.h"
#include "attributes.h"
-void mCon_ct(UNUSED GameState* game) {
+void mCon_ct(UNUSED Game* game) {
}
-void mCon_dt(UNUSED GameState* game) {
+void mCon_dt(UNUSED Game* game) {
}
void mCon_calc(Controller* controller, f32 x, f32 y) {
@@ -54,7 +54,7 @@ void mCon_calc(Controller* controller, f32 x, f32 y) {
}
}
-void mCon_main(GameState* game) {
+void mCon_main(Game* game) {
Controller* controller = &game->controller;
f32 x = getJoystick_X();
f32 y = getJoystick_Y();