-loadpal now loads a palette from disk and returns it in a table.
-setpal sets a palette from a table as the current palette.
This commit is contained in:
3
mini.h
3
mini.h
@@ -122,7 +122,8 @@ void setmap(uint8_t surface);
|
||||
void cls(uint8_t color=0);
|
||||
void color(uint8_t color=6);
|
||||
|
||||
void loadpal(const char* filename);
|
||||
uint32_t *loadpal(const char* filename);
|
||||
void setpal(uint32_t *pal);
|
||||
void setcolor(uint8_t index, uint32_t color);
|
||||
uint32_t getcolor(uint8_t index);
|
||||
void settrans(uint8_t index);
|
||||
|
||||
Reference in New Issue
Block a user