diff options
Diffstat (limited to 'all.h')
| -rw-r--r-- | all.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -77,12 +77,28 @@ typedef struct { // --- Game State --- +typedef enum { + MOVE_NORMAL, + MOVE_FLY +} MovementMode; + typedef struct { Camera camera; Model *world_models; int world_model_count; bool cursor_captured; bool vsync; + Font font_ui; + + MovementMode move_mode; + Vector3 pos; + Vector3 velocity; + bool is_grounded; + float yaw; + float pitch; + float lean_amount; + float crouch_amount; + float horizontal_speed; } GameState; extern GameState game; @@ -114,4 +130,7 @@ void DrawGame(void); bool LoadMap(const char *filename); void UnloadMap(void); +// Player +void UpdatePlayer(void); + #endif |
