25 lines
805 B
C++
25 lines
805 B
C++
#ifndef EDITOR_SCENES_HPP
|
|
#define EDITOR_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;
|
|
|
|
void saveMapCallback(void *input, Button *caller);
|
|
void loadMapDialogCallback(const std::string &level_name);
|
|
|
|
SceneStruct createEditorScene(std::shared_ptr<SDLPP::Renderer> &renderer);
|
|
SceneStruct
|
|
createEditorMainMenuScene(std::shared_ptr<SDLPP::Renderer> &renderer,
|
|
bool *quit_flag);
|
|
SceneStruct
|
|
createEditorFileChoiceScene(std::shared_ptr<SDLPP::Renderer> &renderer);
|
|
|
|
SceneStruct createTextScene(std::shared_ptr<SDLPP::Renderer> renderer,
|
|
std::function<void(const std::string &)> finalizer);
|
|
|
|
#endif |