refactor: add GUI instance reference to UI nodes
This commit is contained in:
+13
-10
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user