summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-07 15:24:11 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-07 15:24:11 +0500
commited2a75816a34aee3026cb07c85fb3be11decbf4d (patch)
tree47bf13dc6eab7576794de67bad92547bcdb66e3a /src/main.c
parent5d010fb632964dcf1191f548a07eb1a0dcb83c41 (diff)
simple scene logic + raygui import
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 668d6a4..9679dab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();
}