mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 12:23:37 +00:00
27 lines
582 B
C++
27 lines
582 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);
|
|
virtual void loadUI();
|
|
virtual void unloadUI();
|
|
};
|