mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-05 01:34:20 +00:00
Add TU25 Gen from Renewed
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,6 +359,20 @@ 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