Added palette.c/h and palette_init() call in main.c

This commit is contained in:
rxi
2016-09-22 19:11:56 +01:00
parent d572c661fd
commit 92511f0132
3 changed files with 89 additions and 2 deletions

8
src/palette.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef PALETTE_H
#define PALETTE_H
void palette_init(void);
void palette_reset(void);
int palette_colorIdx(int r, int g, int b);
#endif