Add CXeromycesEngine

This way the destructor can be used for clean up and `Singleton` can be
used.
This commit is contained in:
phosit
2024-09-18 18:17:04 +02:00
committed by phosit
parent f796beee11
commit 256152df6d
36 changed files with 142 additions and 154 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ CMiniMapTexture::CMiniMapTexture(Renderer::Backend::IDevice* device, CSimulation
m_InstanceVertexArray(Renderer::Backend::IBuffer::Type::VERTEX, Renderer::Backend::IBuffer::Usage::TRANSFER_DST)
{
// Register Relax NG validator.
CXeromyces::AddValidator(g_VFS, "pathfinder", "simulation/data/pathfinder.rng");
g_Xeromyces.AddValidator(g_VFS, "pathfinder", "simulation/data/pathfinder.rng");
m_ShallowPassageHeight = GetShallowPassageHeight();