the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "AbstractTexturePack.h"
3
4class DefaultTexturePack : public AbstractTexturePack
5{
6public:
7 DefaultTexturePack();
8 DLCPack * getDLCPack() {return NULL;}
9
10protected:
11 //@Override
12 void loadIcon();
13 void loadName();
14 void loadDescription();
15
16public:
17 //@Override
18 bool hasFile(const wstring &name);
19 bool isTerrainUpdateCompatible();
20
21 wstring getDesc1() {return app.GetString(IDS_DEFAULT_TEXTUREPACK);}
22
23protected:
24 //@Override
25 InputStream *getResourceImplementation(const wstring &name); // throws FileNotFoundException
26
27public:
28 virtual bool hasData() { return true; }
29 virtual bool hasAudio() { return false; }
30 virtual bool isLoadingData() { return false; }
31 virtual void loadUI();
32 virtual void unloadUI();
33};