aboutsummaryrefslogtreecommitdiff
path: root/game/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/main.cpp')
-rw-r--r--game/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/game/main.cpp b/game/main.cpp
index b6458b8..c9ad8c1 100644
--- a/game/main.cpp
+++ b/game/main.cpp
@@ -3,8 +3,9 @@
#include <crepe/api/Engine.h>
#include <crepe/api/Script.h>
-#include "Config.h"
+#include "EngineConfig.h"
#include "GameScene.h"
+#include "PreviewScene.h"
#include "menus/mainmenu/MainMenuScene.h"
#include "menus/shop/ShopMenuScene.h"
@@ -16,9 +17,10 @@ int main() {
Config::get_instance() = ENGINE_CONFIG;
Engine gameloop;
- gameloop.add_scene<GameScene>();
gameloop.add_scene<MainMenuScene>();
gameloop.add_scene<ShopMenuScene>();
+ gameloop.add_scene<GameScene>();
+ gameloop.add_scene<PreviewScene>();
return gameloop.main();
}