aboutsummaryrefslogtreecommitdiffstats
path: root/src/shooterScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shooterScreen.h')
-rw-r--r--src/shooterScreen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shooterScreen.h b/src/shooterScreen.h
index 9bbc188..7c69a54 100644
--- a/src/shooterScreen.h
+++ b/src/shooterScreen.h
@@ -6,6 +6,9 @@
#define PLAYER_HEIGHT 2.0
#define MOUSE_SPEED 0.01
#define PLAYER_SPEED 10.0
+#define PLAYER_JUMP_SPEED 15.0
+#define PLAYER_FALL_SPEED 18.0
+#define PLAYER_JUMP_HEIGHT 8.0
typedef struct ShooterPlayer {
Camera3D camera;
@@ -15,6 +18,8 @@ typedef struct ShooterPlayer {
Vector3 velocity;
Vector2 cameraAngle;
+
+ int jumpStage;
} ShooterPlayer;
typedef struct ShooterScreen {