22 lines
652 B
C++
22 lines
652 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);
|
|
|
|
#endif |