libretro-prboom/data/rd_palette.h
2012-05-12 22:26:23 +02:00

11 lines
338 B
C

// Copyright (c) 1993-2011 PrBoom developers (see AUTHORS)
// Licence: GPLv2 or later (see COPYING)
// Chained hash lookup to convert rgb triples to palette indices
// load raw palette, create hash table etc.
void palette_init(const char *filename);
// lookup colour index of rgb triple
int palette_getindex(const unsigned char *rgb);