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.
26 lines
590 B
C++
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();
|
|
}; |