mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-23 16:09:41 +00:00
11 lines
338 B
C
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);
|