diff options
| author | = <=> | 2024-03-06 11:46:19 -0700 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-03-09 07:39:51 -0600 |
| commit | a2d735c5281862fdc6ece2288694ca2af743c7af (patch) | |
| tree | 0b47f82d606d9f48aa74c915ee440ed4565f2a03 /src/Companion.cpp | |
| parent | f06ed7388df76f09d8fbda765acea5d2923553d4 (diff) | |
Add mk64 factories
Diffstat (limited to 'src/Companion.cpp')
| -rw-r--r-- | src/Companion.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp index 66dfbda..7cf9b50 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -16,7 +16,10 @@ #include "factories/DisplayListFactory.h" #include "factories/BlobFactory.h" #include "factories/LightsFactory.h" -#include "factories/mk64/WaypointFactory.h" +#include "factories/mk64/CourseVtx.h" +#include "factories/mk64/Waypoints.h" +#include "factories/mk64/TrackSections.h" +#include "factories/mk64/SpawnData.h" #include "spdlog/spdlog.h" #include "hj/sha1.h" @@ -54,7 +57,10 @@ void Companion::Init(const ExportType type) { this->RegisterFactory("SM64:GEO_LAYOUT", std::make_shared<SM64::GeoLayoutFactory>()); // MK64 specific - this->RegisterFactory("MK64:TRACKWAYPOINTS", std::make_shared<MK64::WaypointFactory>()); + this->RegisterFactory("MK64:COURSEVTX", std::make_shared<MK64::CourseVtxFactory>()); + this->RegisterFactory("MK64:TRACKWAYPOINTS", std::make_shared<MK64::WaypointsFactory>()); + this->RegisterFactory("MK64:TRACKSECTIONS", std::make_shared<MK64::TrackSectionsFactory>()); + this->RegisterFactory("MK64:SPAWNDATA", std::make_shared<MK64::SpawnDataFactory>()); this->Process(); } |
