Skip to content

Commit

Permalink
remove LUS resources from RegisterGlobalResourceFactories
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai committed May 2, 2024
1 parent 986d037 commit adc9823
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/resource/ResourceLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,6 @@ ResourceLoader::~ResourceLoader() {
}

void ResourceLoader::RegisterGlobalResourceFactories() {
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryTextureV0>(), RESOURCE_FORMAT_BINARY, "Texture",
static_cast<uint32_t>(LUS::ResourceType::Texture), 0);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryTextureV1>(), RESOURCE_FORMAT_BINARY, "Texture",
static_cast<uint32_t>(LUS::ResourceType::Texture), 1);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryVertexV0>(), RESOURCE_FORMAT_BINARY, "Vertex",
static_cast<uint32_t>(LUS::ResourceType::Vertex), 0);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryXMLVertexV0>(), RESOURCE_FORMAT_XML, "Vertex",
static_cast<uint32_t>(LUS::ResourceType::Vertex), 0);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryDisplayListV0>(), RESOURCE_FORMAT_BINARY,
"DisplayList", static_cast<uint32_t>(LUS::ResourceType::DisplayList), 0);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryXMLDisplayListV0>(), RESOURCE_FORMAT_XML,
"DisplayList", static_cast<uint32_t>(LUS::ResourceType::DisplayList), 0);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryMatrixV0>(), RESOURCE_FORMAT_BINARY, "Matrix",
static_cast<uint32_t>(LUS::ResourceType::Matrix), 0);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryArrayV0>(), RESOURCE_FORMAT_BINARY, "Array",
static_cast<uint32_t>(LUS::ResourceType::Array), 0);
RegisterResourceFactory(std::make_shared<LUS::ResourceFactoryBinaryBlobV0>(), RESOURCE_FORMAT_BINARY, "Blob",
static_cast<uint32_t>(LUS::ResourceType::Blob), 0);
RegisterResourceFactory(std::make_shared<Ship::ResourceFactoryBinaryJsonV0>(), RESOURCE_FORMAT_BINARY, "Json",
static_cast<uint32_t>(Ship::ResourceType::Json), 0);
}
Expand Down

0 comments on commit adc9823

Please sign in to comment.