- removed the Build color matching code

For the handful of lookups it got used for the needed data is too large and the lookup not precise enough. ZDoom's BestColor yields better results, does not need any tables and for the small amount of lookups being performed is more than adequate.
This commit is contained in:
Christoph Oelckers 2020-01-28 10:31:59 +01:00
parent c0bd8f80e7
commit 809b687969
14 changed files with 10 additions and 363 deletions

View file

@ -13,7 +13,6 @@
#include "common.h"
#include "mdsprite.h" // md3model_t
#include "colmatch.h"
#include "textures.h"
#include "bitmap.h"
#include "m_argv.h"
@ -2711,8 +2710,6 @@ static int32_t defsparser(scriptfile *script)
if (didLoadPal && id == 0)
{
paletteInitClosestColorMap(palette);
paletteloaded |= PALETTE_MAIN;
}
}