diff options
| author | inspectredc <inspectredc@gmail.com> | 2024-04-25 17:32:49 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-04-25 10:41:49 -0600 |
| commit | ceca1c3e45995a0b43fac2a292634ec6063d7b83 (patch) | |
| tree | 5f98d62e52a920292adcf909a7785008cc4cea47 /src/Companion.cpp | |
| parent | e8d296c3e197d4f3280ccec515513c5a373ee9fb (diff) | |
Behavior Script Factory
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 bc218b5..9d8f3b1 100644 --- a/src/Companion.cpp +++ b/src/Companion.cpp @@ -30,6 +30,7 @@ #include "factories/AssetArrayFactory.h" #include "factories/sm64/AnimationFactory.h" +#include "factories/sm64/BehaviorScriptFactory.h" #include "factories/sm64/CollisionFactory.h" #include "factories/sm64/DialogFactory.h" #include "factories/sm64/DictionaryFactory.h" @@ -97,6 +98,7 @@ void Companion::Init(const ExportType type) { this->RegisterFactory("SM64:TEXT", std::make_shared<SM64::TextFactory>()); this->RegisterFactory("SM64:DICTIONARY", std::make_shared<SM64::DictionaryFactory>()); this->RegisterFactory("SM64:ANIM", std::make_shared<SM64::AnimationFactory>()); + this->RegisterFactory("SM64:BEHAVIOR_SCRIPT", std::make_shared<SM64::TrajectoryFactory>()); this->RegisterFactory("SM64:COLLISION", std::make_shared<SM64::CollisionFactory>()); this->RegisterFactory("SM64:GEO_LAYOUT", std::make_shared<SM64::GeoLayoutFactory>()); this->RegisterFactory("SM64:LEVEL_SCRIPT", std::make_shared<SM64::LevelScriptFactory>()); |
