feat(Core): Added globals

This commit is contained in:
Yimura
2021-05-19 14:32:30 +02:00
parent 9739b4f858
commit 19762b4cb9
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#include "globals.hpp"
struct globals g = { };

View 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