[nostalgia/core] Rename core::Color to core::Color16 and add core::Color32

This commit is contained in:
2019-11-27 13:53:41 -06:00
parent 1b08d0f851
commit a9f55ebd02
9 changed files with 30 additions and 24 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ ox::Error initConsole(Context *ctx) {
return loadTileSheet(ctx, TileSheetSpace::Background, 0, TilesheetAddr, PaletteAddr);
}
SDL_Color createSDL_Color(Color nc) {
SDL_Color createSDL_Color(Color16 nc) {
SDL_Color c;
// extract the color chanels and scale them up for a 24 bit color
c.r = ((nc & 0b0000000000011111) >> 0) * 8;