summaryrefslogtreecommitdiff
path: root/src/engine/editor/SceneManager.h
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-12-13 17:28:44 -0700
committerGitHub <noreply@github.com>2025-12-13 17:28:44 -0700
commit7bc8d6f4be2bc22f7f4815d3c5eac691c4b92c0f (patch)
treeea7bed88faf5f3bb0788c698fd0252d3f624548a /src/engine/editor/SceneManager.h
parent4e51b7d5b6a9b89deb5ef135deec0ee5f0087e7c (diff)
Refactor Field-of-view into the Camera Struct (#590)
* Fix finishline for toads turnpike in extra * Fixed trash bin in extra * Refactor fov * Update scene.json * Allow setting fog * impl fog save & load
Diffstat (limited to 'src/engine/editor/SceneManager.h')
-rw-r--r--src/engine/editor/SceneManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/editor/SceneManager.h b/src/engine/editor/SceneManager.h
index 48b52a1e2..551d79e32 100644
--- a/src/engine/editor/SceneManager.h
+++ b/src/engine/editor/SceneManager.h
@@ -17,6 +17,7 @@ namespace Editor {
void SaveActors(nlohmann::json& actorList);
void SaveStaticMeshActors(nlohmann::json& actorList);
void SaveTour(Track* track, nlohmann::json& tour);
+ void SaveFog(nlohmann::json& fog);
void LoadProps(Track* track, nlohmann::json& data);
void LoadPaths(Track* track, const std::string& trackPath);
@@ -24,6 +25,7 @@ namespace Editor {
void LoadActors(Track* track, nlohmann::json& data);
void LoadStaticMeshActors(Track* track, nlohmann::json& data);
void LoadTour(Track* track, nlohmann::json& data);
+ void LoadFog(nlohmann::json& data);
void SpawnActors(std::vector<std::pair<std::string, SpawnParams>> spawnList);