feat(Core): Added globals

This commit is contained in:
Yimura 2021-05-19 14:32:30 +02:00
parent 7c2e0a3d33
commit 6c102344eb
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682
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