aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index 7755ef9..3edec59 100644
--- a/src/player.h
+++ b/src/player.h
@@ -6,7 +6,10 @@
#define PLAYER_WIDTH 1.0
#define PLAYER_HEIGHT 2.0
+
#define PLAYER_SPEED 8.0
+#define PLAYER_RUN_SPEED 16.0
+
#define PLAYER_MAX_SELECT_DISTANCE 10.0
typedef struct {
@@ -14,6 +17,11 @@ typedef struct {
Vector3 direction;
Vector3 velocity;
+ Vector3 driftDirection;
+
+ float speed;
+ float bobble;
+
BoundingBox relativeBox;
BoundingBox box;