mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
refactor: add GUI instance reference to UI nodes
This commit is contained in:
parent
74a94f869c
commit
4c48afbb90
70 changed files with 1133 additions and 832 deletions
|
|
@ -18,16 +18,19 @@ struct Hitbox;
|
|||
struct EngineSettings;
|
||||
|
||||
struct PlayerInput {
|
||||
bool zoom : 1;
|
||||
bool cameraMode : 1;
|
||||
bool moveForward : 1;
|
||||
bool moveBack : 1;
|
||||
bool moveRight : 1;
|
||||
bool moveLeft : 1;
|
||||
bool sprint : 1;
|
||||
bool shift : 1;
|
||||
bool cheat : 1;
|
||||
bool jump : 1;
|
||||
struct {
|
||||
bool zoom : 1;
|
||||
bool cameraMode : 1;
|
||||
bool moveForward : 1;
|
||||
bool moveBack : 1;
|
||||
bool moveRight : 1;
|
||||
bool moveLeft : 1;
|
||||
bool sprint : 1;
|
||||
bool shift : 1;
|
||||
bool cheat : 1;
|
||||
bool jump : 1;
|
||||
};
|
||||
glm::vec2 delta;
|
||||
};
|
||||
|
||||
struct CursorSelection {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue