Subversion Repositories eduke32

Rev

Rev 6076 | Rev 8488 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6076 Rev 6831
Line 11... Line 11...
11
11
12
extern int32_t getclosestcol_lim(int32_t r, int32_t g, int32_t b, int32_t lastokcol);
12
extern int32_t getclosestcol_lim(int32_t r, int32_t g, int32_t b, int32_t lastokcol);
13
extern int32_t getclosestcol_nocache_lim(int32_t r, int32_t g, int32_t b, int32_t lastokcol);
13
extern int32_t getclosestcol_nocache_lim(int32_t r, int32_t g, int32_t b, int32_t lastokcol);
14
extern void getclosestcol_flush(void);
14
extern void getclosestcol_flush(void);
15
15
16
static FORCE_INLINE int32_t getclosestcol(int32_t r, int32_t g, int32_t b)
16
static FORCE_INLINE int32_t paletteGetClosestColor(int32_t r, int32_t g, int32_t b)
17
{
17
{
18
    return getclosestcol_lim(r, g, b, 255);
18
    return getclosestcol_lim(r, g, b, 255);
19
}
19
}
20
static FORCE_INLINE int32_t getclosestcol_nocache(int32_t r, int32_t g, int32_t b)
20
static FORCE_INLINE int32_t getclosestcol_nocache(int32_t r, int32_t g, int32_t b)
21
{
21
{