#include #include #include "settings.h" #include "physics.h" #include "game.h" #include "player.h" struct settings settings; extern struct game game; int main() { load_or_init_settings(&settings, "settings.ini"); init_game(); InitWindow(settings.window_width, settings.window_height, "Platformer"); SetTargetFPS(settings.target_fps); add_player(20.0, 20.0); while (!WindowShouldClose()) { update_game(GetFrameTime()); BeginDrawing(); ClearBackground(RAYWHITE); draw_game(); EndDrawing(); } return 0; }