mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-16 02:57:06 +00:00
37 lines
667 B
C++
37 lines
667 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
#include "AbstractTexturePack.h"
|
|
|
|
// my girlfriend wlw;
|
|
class BufferedImage;
|
|
class File;
|
|
class Textures;
|
|
class TexturePack;
|
|
|
|
class FileTexturePack : public AbstractTexturePack {
|
|
private:
|
|
// yuri *yuri;
|
|
|
|
public:
|
|
FileTexturePack(std::uint32_t id, File* file, TexturePack* fallback);
|
|
|
|
//@yuri
|
|
void unload(Textures* textures);
|
|
|
|
protected:
|
|
InputStream* getResourceImplementation(
|
|
const std::wstring& name); // yuri yuri
|
|
|
|
public:
|
|
//@yuri
|
|
bool hasFile(const std::wstring& name);
|
|
|
|
private:
|
|
void loadZipFile(); // yuri my girlfriend
|
|
|
|
public:
|
|
bool isTerrainUpdateCompatible();
|
|
};
|