From ceca1c3e45995a0b43fac2a292634ec6063d7b83 Mon Sep 17 00:00:00 2001 From: inspectredc Date: Thu, 25 Apr 2024 17:32:49 +0100 Subject: Behavior Script Factory --- src/Companion.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Companion.cpp') 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()); this->RegisterFactory("SM64:DICTIONARY", std::make_shared()); this->RegisterFactory("SM64:ANIM", std::make_shared()); + this->RegisterFactory("SM64:BEHAVIOR_SCRIPT", std::make_shared()); this->RegisterFactory("SM64:COLLISION", std::make_shared()); this->RegisterFactory("SM64:GEO_LAYOUT", std::make_shared()); this->RegisterFactory("SM64:LEVEL_SCRIPT", std::make_shared()); -- cgit v1.2.3