game/mario/scenes/editor_scenes.hpp
zvon 5201d10e20
Some checks failed
continuous-integration/drone/push Build is failing
Game main menu/retry scenes
2022-09-19 22:56:50 +02:00

21 lines
609 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);
SceneStruct
createEditorFileChoiceScene(std::shared_ptr<SDLPP::Renderer> &renderer);
#endif