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:
+1
-1
@@ -121,7 +121,7 @@ typedef struct ContainedHandTypes
|
||||
} ContainedHandTypes;
|
||||
// clang-format on
|
||||
|
||||
typedef void (*GameStateCallback)(GameVariables* gs);
|
||||
typedef void (*GameStateCallback)();
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user