This commit is contained in:
GabsPuNs
2026-05-14 21:52:21 -04:00
parent 1b2f5c6fe8
commit f8a2d644f5
291 changed files with 7363 additions and 18368 deletions

View File

@@ -10,7 +10,7 @@ AbstractTexturePack::AbstractTexturePack(DWORD id, File *file, const wstring &na
// 4J init
textureId = -1;
m_colourTable = nullptr;
m_structureTable = nullptr;
this->file = file;
this->fallback = fallback;
@@ -359,20 +359,6 @@ void AbstractTexturePack::loadHTMLColourTableFromXuiScene(HXUIOBJ hObj)
}
#endif
void AbstractTexturePack::loadStructureTable()
{
if(app.hasArchiveFile(L"Structures.bin"))
{
byteArray structures = app.getArchiveFile(L"Structures.bin");
if(m_structureTable != nullptr)
delete m_structureTable;
m_structureTable = new StructureTable(structures.data, structures.length);
delete [] structures.data;
}
}
void AbstractTexturePack::loadUI()
{
loadColourTable();