refactor: add GUI instance reference to UI nodes

This commit is contained in:
MihailRis
2025-04-02 14:55:53 +03:00
parent 74a94f869c
commit 4c48afbb90
70 changed files with 1133 additions and 832 deletions
+13 -10
View File
@@ -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 {