Files
MinecraftConsoles/Minecraft.Client/FolderTexturePack.h
Loki Rautio 087b7e7abf Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.

This reverts commit a9be52c41a.
2026-03-07 21:12:22 -06:00

26 lines
590 B
C++

#pragma once
#include "AbstractTexturePack.h"
class FolderTexturePack : public AbstractTexturePack
{
private:
bool bUILoaded;
public:
FolderTexturePack(DWORD id, const wstring &name, File *folder, TexturePack *fallback);
protected:
//@Override
InputStream *getResourceImplementation(const wstring &name); //throws IOException
public:
//@Override
bool hasFile(const wstring &name);
bool isTerrainUpdateCompatible();
// 4J Added
virtual wstring getPath(bool bTitleUpdateTexture = false, const char *pchBDPatchFilename=NULL);
virtual void loadUI();
virtual void unloadUI();
};