aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/FolderTexturePack.h
blob: 4327698d530609d6b0be49bc0d011f94010469b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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=nullptr);
	virtual void loadUI();
	virtual void unloadUI();
};