mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-05-22 13:15:10 +00:00
29 lines
628 B
C++
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;
|
|
} |