mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 07:23:41 +00:00
27 lines
781 B
C++
27 lines
781 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 nullptr;
|
|
}
|
|
|
|
bool FileTexturePack::hasFile(const std::wstring& name) { return false; }
|
|
|
|
void FileTexturePack::loadZipFile() // throws IOException
|
|
{}
|
|
|
|
bool FileTexturePack::isTerrainUpdateCompatible() { return false; }
|