mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 11:53:36 +00:00
33 lines
788 B
C++
33 lines
788 B
C++
#include "../../Platform/stdafx.h"
|
|
#include "FileTexturePack.h"
|
|
|
|
FileTexturePack::FileTexturePack(std::uint32_t 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 std::wstring& name) // throws IOException
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
bool FileTexturePack::hasFile(const std::wstring& name) {
|
|
return false;
|
|
}
|
|
|
|
void FileTexturePack::loadZipFile() // throws IOException
|
|
{
|
|
}
|
|
|
|
bool FileTexturePack::isTerrainUpdateCompatible() {
|
|
return false;
|
|
}
|