4jcraft/Minecraft.Client/Textures/Packs/FolderTexturePack.h
MatthewBeshay dfb0e3b03e refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
2026-03-30 16:25:52 +11:00

28 lines
722 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 = nullptr);
virtual void loadUI();
virtual void unloadUI();
};