diff options
Diffstat (limited to 'all.h')
| -rw-r--r-- | all.h | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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 | ||
| 119 | void UpdatePlayer(void); | 120 | void 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; |
