game/mario/scenes/editor_scenes.hpp

25 lines
805 B
C++
Raw Normal View History

2022-09-19 20:56:50 +00:00
#ifndef EDITOR_SCENES_HPP
#define EDITOR_SCENES_HPP
#include "../../sdlpp/sdlpp_scene.hpp"
#include "../gui/gui.hpp"
#include <functional>
2022-09-19 20:56:50 +00:00
#include "shared_scenes.hpp"
extern std::mutex render_mutex;
extern std::vector<SceneStruct> game_scenes;
void saveMapCallback(void *input, Button *caller);
void loadMapDialogCallback(const std::string &level_name);
SceneStruct createEditorScene(std::shared_ptr<SDLPP::Renderer> &renderer);
2022-07-21 18:17:24 +00:00
SceneStruct
createEditorMainMenuScene(std::shared_ptr<SDLPP::Renderer> &renderer,
bool *quit_flag);
2022-07-21 18:17:24 +00:00
SceneStruct
createEditorFileChoiceScene(std::shared_ptr<SDLPP::Renderer> &renderer);
2022-11-19 22:10:33 +00:00
SceneStruct createTextScene(std::shared_ptr<SDLPP::Renderer> renderer,
std::function<void(const std::string &)> finalizer);
2022-11-19 21:53:24 +00:00
#endif