summaryrefslogtreecommitdiff
path: root/src/game/player.h
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-02-25 14:45:28 +0100
committeraura <nw@moneybot.cc>2026-02-25 14:45:28 +0100
commitb384930de5044934207d1b2ceb4fa55705094f8b (patch)
tree7937d3382e83ead2db1851b4a02b8378d02ac150 /src/game/player.h
parentcabe4471c309b2bba3be78b8346c9007485b1d57 (diff)
movement stuff + fix map zoom when dragging
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;
};