Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:26:08 -05:00
commit b0e73a61aa
16345 files changed
+3104967

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
#pragma once
#include "..\Minecraft.World\MapItem.h"
class Options;
class Font;
class Textures;
class Player;
class MapItemSavedData;
class Minimap
{
private:
static const int w = MapItem::IMAGE_WIDTH;
static const int h = MapItem::IMAGE_HEIGHT;
static int LUT[256]; // 4J added
static bool genLUT; // 4J added
int renderCount; // 4J added
bool m_optimised; // 4J Added
intArray pixels;
int mapTexture;
Options *options;
Font *font;
public:
Minimap(Font *font, Options *options, Textures *textures, bool optimised = true); // 4J Added optimised param
static void reloadColours();
void render(shared_ptr<Player> player, Textures *textures, shared_ptr<MapItemSavedData> data, int entityId); // 4J added entityId param
};