diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-07-07 15:24:11 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-07-07 15:24:11 +0500 |
| commit | ed2a75816a34aee3026cb07c85fb3be11decbf4d (patch) | |
| tree | 47bf13dc6eab7576794de67bad92547bcdb66e3a /src/main.c | |
| parent | 5d010fb632964dcf1191f548a07eb1a0dcb83c41 (diff) | |
simple scene logic + raygui import
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,8 @@ #include <stdio.h> #include <raylib.h> +#include "scenes/scenes.h" + +enum SCENE current_scene = MAIN_MENU; int main(void) { printf("Hello, world!\n"); @@ -9,7 +12,8 @@ int main(void) { SetTargetFPS(60); while (!WindowShouldClose()) { BeginDrawing(); - ClearBackground(RED); + UpdateScene(current_scene); + DrawScene(current_scene); EndDrawing(); } |
