feat(Core): Added globals
This commit is contained in:
parent
7c2e0a3d33
commit
6c102344eb
3
BigBaseV2/src/core/globals.cpp
Normal file
3
BigBaseV2/src/core/globals.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "globals.hpp"
|
||||
|
||||
struct globals g = { };
|
15
BigBaseV2/src/core/globals.hpp
Normal file
15
BigBaseV2/src/core/globals.hpp
Normal file
@ -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
|
Reference in New Issue
Block a user