Refactor/make game vars extern (#451)

* Remove GameVariables pointer for callbacks

* Make game_vars a global

* move declaration of game vars in header

* Move g_game_vars location
This commit is contained in:
Rickey
2026-04-27 19:55:07 -07:00
committed by GitHub
parent d3df6a4d74
commit adca0961f5
5 changed files with 47 additions and 46 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ typedef struct ContainedHandTypes
} ContainedHandTypes;
// clang-format on
typedef void (*GameStateCallback)(GameVariables* gs);
typedef void (*GameStateCallback)();
typedef struct
{