mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 10:43:39 +00:00
28 lines
719 B
C++
28 lines
719 B
C++
#pragma once
|
|
|
|
#include "AbstractTexturePack.h"
|
|
|
|
class FolderTexturePack : public AbstractTexturePack {
|
|
private:
|
|
bool bUILoaded;
|
|
|
|
public:
|
|
FolderTexturePack(std::uint32_t id, const std::wstring& name, File* folder,
|
|
TexturePack* fallback);
|
|
|
|
protected:
|
|
//@Override
|
|
InputStream* getResourceImplementation(
|
|
const std::wstring& name); // throws IOException
|
|
|
|
public:
|
|
//@Override
|
|
bool hasFile(const std::wstring& name);
|
|
bool isTerrainUpdateCompatible();
|
|
|
|
// 4J Added
|
|
virtual std::wstring getPath(bool bTitleUpdateTexture = false,
|
|
const char* pchBDPatchFilename = NULL);
|
|
virtual void loadUI();
|
|
virtual void unloadUI();
|
|
}; |