summaryrefslogtreecommitdiff
path: root/src/engine/editor/SceneManager.h
blob: 58699107e8a37e1dd093ad302bed8cec3e9453b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <libultraship/libultraship.h>
#include "engine/courses/Course.h"

namespace Editor {
        void SaveLevel();
        void LoadLevel(std::shared_ptr<Ship::Archive> archive, Course* course, std::string sceneFile);
        void Load_AddStaticMeshActor(const nlohmann::json& actorJson);
        void SetSceneFile(std::shared_ptr<Ship::Archive> archive, std::string sceneFile);
        void LoadMinimap(std::shared_ptr<Ship::Archive> archive, Course* course, std::string filePath);

        extern std::shared_ptr<Ship::Archive> CurrentArchive; // This is used to retrieve and write the scene data file
        extern std::string SceneFile;
}