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