splash screen has a scene on its own

This commit is contained in:
arthur.jamet
2021-06-11 20:13:27 +02:00
parent c147be6b2b
commit 0a0501a044
3 changed files with 17 additions and 3 deletions
+3 -2
View File
@@ -18,6 +18,7 @@ namespace BBM
//! @brief The list of scenes available.
enum SceneID
{
SplashScreen,
MainMenuScene,
GameScene,
SettingsScene,
@@ -29,10 +30,10 @@ namespace BBM
//! @brief The currently loaded scene
SceneID currentScene = TitleScreenScene;
SceneID currentScene = SplashScreen;
//! @brief The next scene to load (if smae as currentScene, nothing to do)
SceneID nextScene = TitleScreenScene;
SceneID nextScene = SplashScreen;
//! @brief The list of loaded scenes.
std::unordered_map<SceneID, std::shared_ptr<WAL::Scene>> _loadedScenes = {};