diff options
| author | AloXado320 <38191089+AloXado320@users.noreply.github.com> | 2024-08-25 19:58:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-25 18:58:56 -0600 |
| commit | e8ba89ddb634ecaeae8f8e0054afe88ad354e3d8 (patch) | |
| tree | 63cde6d0f06bd5debfe07395e487cfb0527b6508 /src/port/Engine.cpp | |
| parent | 848b31c01eed7b88a2d17b20a33de47f34c161b5 (diff) | |
Update Torch and LUS (#64)
Diffstat (limited to 'src/port/Engine.cpp')
| -rw-r--r-- | src/port/Engine.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index dfd2276f4..b13708603 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -30,7 +30,7 @@ float gInterpolationStep = 0.0f; #include <MatrixFactory.h> #include <BlobFactory.h> #include <VertexFactory.h> -// #include <LightsFactory.h> +#include <LightFactory.h> } GameEngine* GameEngine::Instance; @@ -70,8 +70,7 @@ GameEngine::GameEngine() { loader->RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryDisplayListV0>(), RESOURCE_FORMAT_BINARY, "DisplayList", static_cast<uint32_t>(LUS::ResourceType::DisplayList), 0); loader->RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryMatrixV0>(), RESOURCE_FORMAT_BINARY, "Matrix", static_cast<uint32_t>(LUS::ResourceType::Matrix), 0); loader->RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryBlobV0>(), RESOURCE_FORMAT_BINARY, "Blob", static_cast<uint32_t>(LUS::ResourceType::Blob), 0); - // Waiting on PRs merged - // loader->RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryLightsV0>(), RESOURCE_FORMAT_BINARY, "Lights1", static_cast<uint32_t>(LUS::ResourceType::Lights), 0); + loader->RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryLightV0>(), RESOURCE_FORMAT_BINARY, "Lights1", static_cast<uint32_t>(LUS::ResourceType::Light), 0); loader->RegisterResourceFactory(std::make_shared<MK64::ResourceFactoryBinaryArrayV0>(), RESOURCE_FORMAT_BINARY, "Array", static_cast<uint32_t>(MK64::ResourceType::MK_Array), 0); loader->RegisterResourceFactory(std::make_shared<MK64::ResourceFactoryBinaryKartAIV0>(), RESOURCE_FORMAT_BINARY, "KartAI", static_cast<uint32_t>(MK64::ResourceType::KartAI), 0); loader->RegisterResourceFactory(std::make_shared<MK64::ResourceFactoryBinaryCourseVtxV0>(), RESOURCE_FORMAT_BINARY, "CourseVtx", static_cast<uint32_t>(MK64::ResourceType::CourseVertex), 0); |
