diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2024-08-13 20:56:03 +0200 |
|---|---|---|
| committer | coco875 <59367621+coco875@users.noreply.github.com> | 2024-08-13 20:56:03 +0200 |
| commit | 1a4cbb7471fc05c91390902792fdace4a304b992 (patch) | |
| tree | 1c1752a6c94ae2fb1d19b154a5c6ee26af33cae8 /src/Companion.cpp | |
| parent | 90aafc2dbd0f90d37cd34d1be945b626bc1bb38a (diff) | |
add UnkSpawData
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index 5615cbe..f489317 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -49,6 +49,7 @@ #include "factories/mk64/Waypoints.h" #include "factories/mk64/TrackSections.h" #include "factories/mk64/SpawnData.h" +#include "factories/mk64/UnkSpawnData.h" #include "factories/mk64/DrivingBehaviour.h" #include "factories/mk64/ItemCurve.h" #include "factories/mk64/CourseMetadata.h" @@ -117,6 +118,7 @@ void Companion::Init(const ExportType type) { this->RegisterFactory("MK64:TRACK_WAYPOINTS", std::make_shared<MK64::WaypointsFactory>()); this->RegisterFactory("MK64:TRACK_SECTIONS", std::make_shared<MK64::TrackSectionsFactory>()); this->RegisterFactory("MK64:SPAWN_DATA", std::make_shared<MK64::SpawnDataFactory>()); + this->RegisterFactory("MK64:UNK_SPAWN_DATA", std::make_shared<MK64::UnkSpawnDataFactory>()); this->RegisterFactory("MK64:DRIVING_BEHAVIOUR", std::make_shared<MK64::DrivingBehaviourFactory>()); this->RegisterFactory("MK64:ITEM_CURVE", std::make_shared<MK64::ItemCurveFactory>()); // Item curve for decomp only this->RegisterFactory("MK64:METADATA", std::make_shared<MK64::CourseMetadataFactory>()); |
