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

This commit is contained in:
Yimura 2020-12-26 16:48:39 +01:00
parent a1dc4ccb1c
commit 7a27ad2c64

View File

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