summaryrefslogtreecommitdiff
path: root/src/game/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/player.h')
-rw-r--r--src/game/player.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/player.h b/src/game/player.h
index c0e126d..7dfd009 100644
--- a/src/game/player.h
+++ b/src/game/player.h
@@ -2,7 +2,6 @@
#include "object.h"
#include "camera.h"
-
struct PLAYER_INPUT {
PLAYER_CAMERA cam;
struct PLAYER* pobj;
@@ -23,7 +22,11 @@ struct PLAYER : OBJECT {
VEC3 mins;
VEC3 maxs;
+ F32 gravity{1.f};
F32 maxspeed{70.f};
+ F32 walkspeed{70.f};
+ F32 stepsize{16.f};
+
VEC3 velocity;
};