mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-29 08:23:38 +00:00
34 lines
788 B
C++
34 lines
788 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
#include "AbstractTexturePack.h"
|
|
|
|
class File;
|
|
class TexturePack;
|
|
|
|
class FolderTexturePack : public AbstractTexturePack {
|
|
private:
|
|
bool bUILoaded;
|
|
|
|
public:
|
|
FolderTexturePack(std::uint32_t id, const std::string& name, File* folder,
|
|
TexturePack* fallback);
|
|
|
|
protected:
|
|
//@Override
|
|
InputStream* getResourceImplementation(
|
|
const std::string& name); // throws IOException
|
|
|
|
public:
|
|
//@Override
|
|
bool hasFile(const std::string& name);
|
|
bool isTerrainUpdateCompatible();
|
|
|
|
// 4J Added
|
|
virtual std::string getPath(bool bTitleUpdateTexture = false,
|
|
const char* pchBDPatchFilename = nullptr);
|
|
virtual void loadUI();
|
|
virtual void unloadUI();
|
|
}; |