Added animation factory, fixed ub on wriggler, skyboxes and cake are loaded from otr, and fixed audio corruption

This commit is contained in:
KiritoDv
2023-08-24 23:13:02 -06:00
parent 5c917606a8
commit 26efd550df
19 changed files with 605 additions and 514 deletions
+2
View File
@@ -1,5 +1,6 @@
#include "Engine.h"
#include "ImguiUI.h"
#include "port/importer/AnimationFactory.h"
#include <iostream>
#include <Fast3D/gfx_pc.h>
@@ -13,6 +14,7 @@ GameEngine::GameEngine(){
this->context = LUS::Context::CreateInstance("Ghostship", "sm64", "ghostship.cfg.json", { main, assets }, {}, 3);
this->context->GetWindow()->SetTargetFps(30);
this->context->GetWindow()->SetMaximumFrameLatency(1);
this->context->GetResourceManager()->GetResourceLoader()->RegisterResourceFactory(LUS::ResourceType::Anim, "Animation", std::make_shared<CubeOS::AnimationFactory>());
}
void GameEngine::Create(){