Fixed message and lookup factories

This commit is contained in:
KiritoDv
2024-03-11 00:05:16 -06:00
committed by Lywx
parent 04a66e743b
commit 595f7512d4
6 changed files with 267 additions and 10 deletions
+2
View File
@@ -29,6 +29,7 @@
#include <iostream>
#include <filesystem>
#include "factories/sf64/MessageFactory.h"
#include "factories/sf64/MessageLookupFactory.h"
using namespace std::chrono;
namespace fs = std::filesystem;
@@ -68,6 +69,7 @@ void Companion::Init(const ExportType type) {
// SF64 specific
this->RegisterFactory("SF64:ANIM", std::make_shared<SF64::AnimFactory>());
this->RegisterFactory("SF64:MESSAGE", std::make_shared<SF64::MessageFactory>());
this->RegisterFactory("SF64:MSG_TABLE", std::make_shared<SF64::MessageLookupFactory>());
this->Process();
}