Files
GabsPuNs-Project_Zenith_Main/Minecraft.Client/FileTexturePack.cpp
GabsPuNs bc6c09146a New File System and Cleanup some code Part 3
* Remove stdafx.h and some <unordered_set> includes
* Update Minecraft Server Defines and remove more unused folders/files
* Unbloat stdafx.h from Minecraft.World
2026-05-24 22:21:41 -04:00

28 lines
608 B
C++

#include "FileTexturePack.h"
FileTexturePack::FileTexturePack(DWORD id, File *file, TexturePack *fallback) : AbstractTexturePack(id, file, file->getName(), fallback)
{
// 4J Stu - These calls need to be in the most derived version of the class
loadIcon();
loadName();
loadDescription();
}
void FileTexturePack::unload(Textures *textures)
{
}
InputStream *FileTexturePack::getResourceImplementation(const wstring &name) //throws IOException
{
return nullptr;
}
bool FileTexturePack::hasFile(const wstring &name)
{
return false;
}
bool FileTexturePack::isTerrainUpdateCompatible()
{
return false;
}