Files
GabsPuNs-MinecraftConsoles/Minecraft.Client/FileTexturePack.cpp

29 lines
628 B
C++

#include "stdafx.h"
#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;
}