mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-22 10:44:49 +00:00
TU24
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user