mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
commit
531334f059
154 changed files with 3767 additions and 2810 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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