aboutsummaryrefslogtreecommitdiff
path: root/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'all.h')
-rw-r--r--all.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/all.h b/all.h
index 26ccffb..d4025cd 100644
--- a/all.h
+++ b/all.h
@@ -114,6 +114,7 @@ typedef struct {
114 float lean_amount; 114 float lean_amount;
115 float crouch_amount; 115 float crouch_amount;
116 float horizontal_speed; 116 float horizontal_speed;
117 float camera_offset_y; // Vertical offset for stair smoothing
117} PlayerState; 118} PlayerState;
118 119
119void UpdatePlayer(void); 120void UpdatePlayer(void);
@@ -130,6 +131,9 @@ typedef struct {
130 Camera camera; 131 Camera camera;
131 bool cursor_captured; 132 bool cursor_captured;
132 bool vsync; 133 bool vsync;
134 int target_fps;
135 int screen_width;
136 int screen_height;
133 Font font_ui; 137 Font font_ui;
134 138
135 PlayerState player; 139 PlayerState player;