From b8acb539a3580bf0665fe435c55f33ba16cb507e Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 8 Jan 2025 09:58:34 +0100 Subject: WIP --- game/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'game/main.cpp') diff --git a/game/main.cpp b/game/main.cpp index bd5ca93..b6458b8 100644 --- a/game/main.cpp +++ b/game/main.cpp @@ -1,3 +1,5 @@ +#include + #include #include @@ -6,16 +8,17 @@ #include "menus/mainmenu/MainMenuScene.h" #include "menus/shop/ShopMenuScene.h" - using namespace crepe; int main() { + srand(time(NULL)); + Config::get_instance() = ENGINE_CONFIG; Engine gameloop; + gameloop.add_scene(); gameloop.add_scene(); gameloop.add_scene(); - gameloop.add_scene(); return gameloop.main(); } -- cgit v1.2.3