first commit
This commit is contained in:
32
Minecraft.Client/FileTexturePack.h
Normal file
32
Minecraft.Client/FileTexturePack.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
#include "AbstractTexturePack.h"
|
||||
//class ZipFile;
|
||||
class BufferedImage;
|
||||
class File;
|
||||
class Textures;
|
||||
using namespace std;
|
||||
|
||||
class FileTexturePack : public AbstractTexturePack
|
||||
{
|
||||
private:
|
||||
//ZipFile *zipFile;
|
||||
|
||||
public:
|
||||
FileTexturePack(DWORD id, File *file, TexturePack *fallback);
|
||||
|
||||
//@Override
|
||||
void unload(Textures *textures);
|
||||
|
||||
protected:
|
||||
InputStream *getResourceImplementation(const wstring &name); //throws IOException
|
||||
|
||||
public:
|
||||
//@Override
|
||||
bool hasFile(const wstring &name);
|
||||
|
||||
private:
|
||||
void loadZipFile(); //throws IOException
|
||||
|
||||
public:
|
||||
bool isTerrainUpdateCompatible();
|
||||
};
|
||||
Reference in New Issue
Block a user