2022-09-19 20:56:50 +00:00
|
|
|
#ifndef GAME_SCENES_HPP
|
|
|
|
#define GAME_SCENES_HPP
|
|
|
|
|
|
|
|
#include "../../sdlpp/sdlpp_scene.hpp"
|
|
|
|
#include "../gui/gui.hpp"
|
|
|
|
#include <functional>
|
|
|
|
#include "shared_scenes.hpp"
|
|
|
|
|
|
|
|
extern std::mutex render_mutex;
|
|
|
|
extern std::vector<SceneStruct> game_scenes;
|
|
|
|
|
2022-09-22 18:40:09 +00:00
|
|
|
SceneStruct createGameMainMenuScene(std::shared_ptr<SDLPP::Renderer> &renderer,
|
|
|
|
bool include_restart = true,
|
|
|
|
bool include_resume = true,
|
|
|
|
bool transparent_background = true);
|
2022-09-19 20:56:50 +00:00
|
|
|
SceneStruct createGameRetryScene(std::shared_ptr<SDLPP::Renderer> &renderer);
|
|
|
|
|
|
|
|
#endif
|