summaryrefslogtreecommitdiff
path: root/src/engine/editor/SceneManager.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-12-18 11:24:38 -0700
committerGitHub <noreply@github.com>2025-12-18 11:24:38 -0700
commitf0c2cea0eec6c49a335e9c044fcc28218e1ab749 (patch)
tree422128eeb081feffca8ad3ac87566a35358e077f /src/engine/editor/SceneManager.cpp
parent99b56300556434580ed23edc27e5e7d982751e47 (diff)
Impl RandomItemTable class (#598)
* Impl RandomItem class * Refactor func * Impl RandomItemTable * Revert probability inaccuracy * Remove unnecessary comment * Fix compile, probably * As per review 1 --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/engine/editor/SceneManager.cpp')
-rw-r--r--src/engine/editor/SceneManager.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/editor/SceneManager.cpp b/src/engine/editor/SceneManager.cpp
index 1a0c129c0..02951e3dc 100644
--- a/src/engine/editor/SceneManager.cpp
+++ b/src/engine/editor/SceneManager.cpp
@@ -104,7 +104,7 @@ namespace TrackEditor {
/** Do not use GetWorld()->CurrentCourse during loading! The current track is not guaranteed! **/
void LoadTrackDataFromJson(Track* track, const std::string& trackPath) {
- SPDLOG_INFO("[SceneManager] [LoadTrackDataFromJson] Loading track scenefile...");
+ SPDLOG_INFO("[SceneManager] [LoadTrackDataFromJson] Loading Track SceneFile...");
if (trackPath.empty()) {
SPDLOG_INFO(" Unable to load track. trackPath empty.");
@@ -147,7 +147,7 @@ namespace TrackEditor {
LoadActors(track, data);
LoadStaticMeshActors(track, data);
LoadTour(track, data);
- SPDLOG_INFO("[SceneManager] [LoadTrackDataFromJson] Scene File Loaded!");
+ SPDLOG_INFO("[SceneManager] [LoadTrackDataFromJson] SceneFile Loaded!\n");
}
void LoadTrackInfo(TrackInfo& info, std::shared_ptr<Ship::Archive> archive, std::string sceneFile) {
@@ -155,6 +155,7 @@ namespace TrackEditor {
SPDLOG_INFO("[SceneManager] [LoadTrackDataFromJson] Failed to load scenefile, track or rootarchive were null");
return;
}
+ SPDLOG_INFO("[SceneManager] [LoadTrackInfo] Loading TrackInfo...");
/*
* Manually loading a custom asset file (scene.json) with no extractor class means that
@@ -179,7 +180,7 @@ namespace TrackEditor {
LoadTrackInfoData(info, data);
- SPDLOG_INFO("[SceneManager] [LoadTrackInfo] Loaded track info!");
+ SPDLOG_INFO("[SceneManager] [LoadTrackInfo] Loaded TrackInfo!\n");
}
void Load_AddStaticMeshActor(const nlohmann::json& actorJson) {