summaryrefslogtreecommitdiff
path: root/src/Companion.cpp
diff options
context:
space:
mode:
authorinspectredc <inspectredc@gmail.com>2024-04-23 14:38:15 +0100
committerLywx <kiritodev01@gmail.com>2024-04-23 10:31:55 -0600
commitbcd2450b26457f4adaa639463d42ae973e12e6e8 (patch)
treea43d3114f2d2f48cdcd31d5c5f727f4e23b87208 /src/Companion.cpp
parentfc5e60f05edf16ae5e8b6e5e51c410ea236b259e (diff)
MacroObject Factory
Diffstat (limited to 'src/Companion.cpp')
-rw-r--r--src/Companion.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index b9177f3..91ae918 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -34,6 +34,7 @@
#include "factories/sm64/DictionaryFactory.h"
#include "factories/sm64/TextFactory.h"
#include "factories/sm64/GeoLayoutFactory.h"
+#include "factories/sm64/MacroFactory.h"
#include "factories/sm64/MovtexFactory.h"
#include "factories/sm64/MovtexQuadFactory.h"
@@ -93,6 +94,7 @@ void Companion::Init(const ExportType type) {
this->RegisterFactory("SM64:ANIM", std::make_shared<SM64::AnimationFactory>());
this->RegisterFactory("SM64:COLLISION", std::make_shared<SM64::CollisionFactory>());
this->RegisterFactory("SM64:GEO_LAYOUT", std::make_shared<SM64::GeoLayoutFactory>());
+ this->RegisterFactory("SM64:MACRO", std::make_shared<SM64::MacroFactory>());
this->RegisterFactory("SM64:MOVTEX_QUAD", std::make_shared<SM64::MovtexQuadFactory>());
this->RegisterFactory("SM64:MOVTEX", std::make_shared<SM64::MovtexFactory>());