From 7df20e9aa1cb65567a91e971d8489717897e93f5 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 15 Dec 2025 09:56:45 +0100 Subject: [PATCH] remove mapcolour files, since we don't use them --- src/io/render/mapcolour.c | 71 ------------------------------------ src/io/render/mapcolour.h | 77 --------------------------------------- 2 files changed, 148 deletions(-) delete mode 100644 src/io/render/mapcolour.c delete mode 100644 src/io/render/mapcolour.h diff --git a/src/io/render/mapcolour.c b/src/io/render/mapcolour.c deleted file mode 100644 index 9c9d3b5..0000000 --- a/src/io/render/mapcolour.c +++ /dev/null @@ -1,71 +0,0 @@ -/* Copyright (c) 2025 Quinn. - * This is a file from the project MCA-Selector-Lite and is - * licensed under the MIT Licence. See the project's LICENSE file for details. */ -#include "mapcolour.h" - -#include "../../util/vec.h" - -u8vec4 map_colours[MAP_COLOUR_COUNT] = { - {0, 0, 0, 0 }, - {127, 178, 56, 255}, - {247, 233, 163, 255}, - {199, 199, 199, 255}, - {255, 0, 0, 255}, - {160, 160, 255, 255}, - {167, 167, 167, 255}, - {0, 124, 0, 255}, - {255, 255, 255, 255}, - {164, 168, 184, 255}, - {151, 109, 77, 255}, - {112, 112, 112, 255}, - {64, 64, 255, 255}, - {143, 119, 72, 255}, - {255, 252, 245, 255}, - {216, 127, 51, 255}, - {178, 76, 216, 255}, - {102, 153, 216, 255}, - {229, 229, 51, 255}, - {127, 204, 25, 255}, - {242, 127, 165, 255}, - {76, 76, 76, 255}, - {153, 153, 153, 255}, - {76, 127, 153, 255}, - {127, 63, 178, 255}, - {51, 76, 178, 255}, - {102, 76, 51, 255}, - {102, 127, 51, 255}, - {153, 51, 51, 255}, - {25, 25, 25, 255}, - {250, 238, 77, 255}, - {92, 219, 213, 255}, - {74, 128, 255, 255}, - {0, 217, 58, 255}, - {129, 86, 49, 255}, - {112, 2, 0, 255}, - {209, 177, 161, 255}, - {159, 82, 36, 255}, - {149, 87, 108, 255}, - {112, 108, 138, 255}, - {186, 133, 36, 255}, - {103, 117, 53, 255}, - {160, 77, 78, 255}, - {57, 41, 35, 255}, - {135, 107, 98, 255}, - {87, 92, 92, 255}, - {122, 73, 88, 255}, - {76, 62, 92, 255}, - {76, 50, 35, 255}, - {76, 82, 42, 255}, - {142, 60, 46, 255}, - {37, 22, 16, 255}, - {189, 48, 49, 255}, - {148, 63, 97, 255}, - {92, 25, 29, 255}, - {22, 126, 134, 255}, - {58, 142, 140, 255}, - {86, 44, 62, 255}, - {20, 180, 133, 255}, - {100, 100, 100, 255}, - {216, 175, 147, 255}, - {127, 167, 150, 255}, -}; diff --git a/src/io/render/mapcolour.h b/src/io/render/mapcolour.h deleted file mode 100644 index 2ab8ef4..0000000 --- a/src/io/render/mapcolour.h +++ /dev/null @@ -1,77 +0,0 @@ -/* Copyright (c) 2025 Quinn. - * This is a file from the project MCA-Selector-Lite and is - * licensed under the MIT Licence. See the project's LICENSE file for details. */ -#pragma once - -#include "../../util/vec.h" - -enum map_colour_id { - MAP_COLOUR_NONE, - MAP_COLOUR_GRASS, - MAP_COLOUR_SAND, - MAP_COLOUR_WOOL, - MAP_COLOUR_FIRE, - MAP_COLOUR_ICE, - MAP_COLOUR_METAL, - MAP_COLOUR_PLANT, - MAP_COLOUR_SNOW, - MAP_COLOUR_CLAY, - MAP_COLOUR_DIRT, - MAP_COLOUR_STONE, - MAP_COLOUR_WATER, - MAP_COLOUR_WOOD, - MAP_COLOUR_QUARTZ, - MAP_COLOUR_ORANGE, - MAP_COLOUR_MAGENTA, - MAP_COLOUR_LIGHT_BLUE, - MAP_COLOUR_YELLOW, - MAP_COLOUR_LIGHT_GREEN, - MAP_COLOUR_PINK, - MAP_COLOUR_GREY, - MAP_COLOUR_LIGHT_GREY, - MAP_COLOUR_CYAN, - MAP_COLOUR_PURPLE, - MAP_COLOUR_BLUE, - MAP_COLOUR_BROWN, - MAP_COLOUR_GREEN, - MAP_COLOUR_RED, - MAP_COLOUR_BLACK, - MAP_COLOUR_GOLD, - MAP_COLOUR_DIAMOND, - MAP_COLOUR_LAPIS, - MAP_COLOUR_EMERALD, - MAP_COLOUR_PODZOL, - MAP_COLOUR_NETHER, - MAP_COLOUR_TERRACOTTA_WHITE, - MAP_COLOUR_TERRACOTTA_ORANGE, - MAP_COLOUR_TERRACOTTA_MAGENTA, - MAP_COLOUR_TERRACOTTA_LIGHT_BLUE, - MAP_COLOUR_TERRACOTTA_YELLOW, - MAP_COLOUR_TERRACOTTA_LIGHT_GREEN, - MAP_COLOUR_TERRACOTTA_PINK, - MAP_COLOUR_TERRACOTTA_GREY, - MAP_COLOUR_TERRACOTTA_LIGHT_GREY, - MAP_COLOUR_TERRACOTTA_CYAN, - MAP_COLOUR_TERRACOTTA_PURPLE, - MAP_COLOUR_TERRACOTTA_BLUE, - MAP_COLOUR_TERRACOTTA_BROWN, - MAP_COLOUR_TERRACOTTA_GREEN, - MAP_COLOUR_TERRACOTTA_RED, - MAP_COLOUR_TERRACOTTA_BLACK, - MAP_COLOUR_CRIMSON_NYLIUM, - MAP_COLOUR_CRIMSON_STEM, - MAP_COLOUR_CRIMSON_HYPHAE, - MAP_COLOUR_WARPED_NYLIUM, - MAP_COLOUR_WARPED_STEM, - MAP_COLOUR_WARPED_HYPHAE, - MAP_COLOUR_WARPED_WART_BLOCK, - MAP_COLOUR_DEEPSLATE, - MAP_COLOUR_RAW_IRON, - MAP_COLOUR_GLOW_LICHEN, - - // contains count, leave last - MAP_COLOUR_COUNT, -}; - -/* contains the colours of the map on their' respective index - 1. (NONE should be handled separately) */ -extern u8vec4 map_colours[MAP_COLOUR_COUNT];