@@ -14,7 +14,6 @@
|
||||
#include "physics/PhysicsSolver.hpp"
|
||||
#include "voxels/Chunks.hpp"
|
||||
#include "window/Camera.hpp"
|
||||
#include "window/Events.hpp"
|
||||
#include "world/Level.hpp"
|
||||
#include "data/dv_util.hpp"
|
||||
#include "debug/Logger.hpp"
|
||||
|
||||
+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