diff --git a/BigBaseV2/src/core/globals.cpp b/BigBaseV2/src/core/globals.cpp new file mode 100644 index 00000000..195bf21e --- /dev/null +++ b/BigBaseV2/src/core/globals.cpp @@ -0,0 +1,3 @@ +#include "globals.hpp" + +struct globals g = { }; \ No newline at end of file diff --git a/BigBaseV2/src/core/globals.hpp b/BigBaseV2/src/core/globals.hpp new file mode 100644 index 00000000..0cc016b8 --- /dev/null +++ b/BigBaseV2/src/core/globals.hpp @@ -0,0 +1,15 @@ +#pragma once + +#ifndef GLOBALS_H +#define GLOBALS_H + +struct globals { + struct self { + bool noclip = false; + }; + + self self{}; +}; + +extern struct globals g; +#endif // !GLOBALS_H \ No newline at end of file