-setpal & getpal renamed to setcolor & getcolor

-setcolor & getcolor now use r, g & b instead of uint32
This commit is contained in:
2022-10-05 17:47:58 +02:00
parent a9f7d46afd
commit 8415841c5c
3 changed files with 18 additions and 12 deletions

View File

@@ -308,11 +308,11 @@ void loadpal(const char* filename) {
}
}
void setpal(uint8_t index, uint32_t color) {
void setcolor(uint8_t index, uint32_t color) {
palette[index] = color;
}
uint32_t getpal(uint8_t index) {
uint32_t getcolor(uint8_t index) {
return palette[index];
}