Added palette_idxToColor and internal palette storage

This commit is contained in:
rxi
2016-09-26 20:25:10 +01:00
parent eee7fccb82
commit 2d05d16db9
2 changed files with 23 additions and 0 deletions

View File

@@ -4,5 +4,6 @@
void palette_init(void);
void palette_reset(void);
int palette_colorToIdx(int r, int g, int b);
int palette_idxToColor(int idx, int *rgb);
#endif