the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "..\Minecraft.World\MapItem.h"
3class Options;
4class Font;
5class Textures;
6class Player;
7class MapItemSavedData;
8
9class Minimap
10{
11private:
12 static const int w = MapItem::IMAGE_WIDTH;
13 static const int h = MapItem::IMAGE_HEIGHT;
14#ifdef __ORBIS__
15 static short LUT[256]; // 4J added
16#else
17 static int LUT[256]; // 4J added
18#endif
19 static bool genLUT; // 4J added
20 int renderCount; // 4J added
21 bool m_optimised; // 4J Added
22#ifdef __ORBIS__
23 shortArray pixels;
24#else
25 intArray pixels;
26#endif
27 int mapTexture;
28 Options *options;
29 Font *font;
30
31public:
32 Minimap(Font *font, Options *options, Textures *textures, bool optimised = true); // 4J Added optimised param
33 static void reloadColours();
34 void render(shared_ptr<Player> player, Textures *textures, shared_ptr<MapItemSavedData> data, int entityId); // 4J added entityId param
35};