1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <stdlib.h> #include <raylib.h> #include "settings.h" struct settings settings; int main() { load_or_init_settings(&settings, NULL); InitWindow(settings.window_width, settings.window_height, "Platformer"); while (!WindowShouldClose()) { BeginDrawing(); ClearBackground(RAYWHITE); EndDrawing(); } return 0; }