fix(Globals): Moved globals from features to big namespace

This commit is contained in:
Yimura 2020-12-26 16:48:39 +01:00
parent e026f8e97d
commit a548fe4f32
No known key found for this signature in database
GPG Key ID: 54EFAD29393A6E78

View File

@ -3,18 +3,21 @@
#include "structs/player.hpp" #include "structs/player.hpp"
#include "structs/temp.hpp" #include "structs/temp.hpp"
namespace big::features namespace big
{ {
inline Player g_playerId; inline Player g_playerId;
inline Player g_selectedPlayer = -1; inline Player g_selectedPlayer = -1;
inline player g_players[32]; inline player g_players[32];
// Screen Width & Height
inline int x, y;
// Temporary Variable struct // Temporary Variable struct
inline temp g_temp = temp{}; inline temp g_temp = temp{};
void run_tick(); // Screen Width & Height
void script_func(); inline int x, y;
namespace features
{
void run_tick();
void script_func();
}
} }