Move SandyBeach palette into Palettes folder in ::/Home/PaletteEditor/.

This commit is contained in:
GutPuncher 2023-03-14 00:48:57 -04:00
parent 1b346915f1
commit 5265509715
No known key found for this signature in database
GPG key ID: 38CE0A7B6841D1C7
2 changed files with 10 additions and 13 deletions

View file

@ -0,0 +1,10 @@
public CBGR24 gr_palette_sandy_beach[COLORS_NUM] = {
0x000000, 0x000088, 0x008800, 0x006060, 0x002288, 0x4B0082, 0xA52A2A, 0xAAAAAA, 0x444444, 0x4169E1, 0xADFF2F, 0x00AAAA, 0xFF8888, 0x9932CC, 0xC09020, 0xFFF8DF
};
public U0 PaletteSetSandyBeach(Bool persistent=TRUE)
{
GrPaletteSet(gr_palette_sandy_beach);
LFBFlush;
if (persistent)
fp_set_std_palette = &PaletteSetSandyBeach;
}

View file

@ -54,19 +54,6 @@ public U0 PaletteSetDark(Bool persistent=TRUE)
//*(drv_text_attr(U8 *) + 1) = BROWN; //*(drv_text_attr(U8 *) + 1) = BROWN;
} }
//******************************************************************************** //********************************************************************************
public CBGR24 gr_palette_sandy_beach[COLORS_NUM] = {
0x000000, 0x000088, 0x008800, 0x006060, 0x002288, 0x4B0082, 0xA52A2A, 0xAAAAAA,
0x444444, 0x4169E1, 0xADFF2F, 0x00AAAA, 0xFF8888, 0x9932CC, 0xC09020, 0xFFF8DF
};
public U0 PaletteSetSandyBeach(Bool persistent=TRUE)
{//Activate Sandy beach Light palette.
GrPaletteSet(gr_palette_sandy_beach);
LFBFlush;
if (persistent)
fp_set_std_palette = &PaletteSetSandyBeach;
}
//********************************************************************************
public CBGR24 gr_palette_light[COLORS_NUM] = { public CBGR24 gr_palette_light[COLORS_NUM] = {
0x000000, 0x0148A4, 0x3B7901, 0x057C7E, 0xBB2020, 0x9E42AE, 0xB57901, 0xB2B6AF, 0x000000, 0x0148A4, 0x3B7901, 0x057C7E, 0xBB2020, 0x9E42AE, 0xB57901, 0xB2B6AF,