| 1 | pal rp2c04001[64] = { |
| 2 | #include "palettes/rp2c04001.h" |
| 3 | }; |
| 4 | |
| 5 | pal NSFPalette[39] = { |
| 6 | #include "palettes/nsfnew.h" |
| 7 | }; |
| 8 | |
| 9 | pal palettevseb[64] = { |
| 10 | #include "palettes/vseb.h" |
| 11 | }; |
| 12 | |
| 13 | pal palettevsslalom[64] = { |
| 14 | #include "palettes/vsslalom.h" |
| 15 | }; |
| 16 | |
| 17 | pal palettevsgoon[64] = { |
| 18 | #include "palettes/vsgoonies.h" |
| 19 | }; |
| 20 | |
| 21 | pal palettevsgrad[64] = { |
| 22 | #include "palettes/vsplatoon.h" |
| 23 | }; |
| 24 | |
| 25 | pal palettevscv[64] = { |
| 26 | #include "palettes/vscv.h" |
| 27 | }; |
| 28 | |
| 29 | pal palettevssmb[64] = { |
| 30 | #include "palettes/vssmb.h" |
| 31 | }; |
| 32 | |
| 33 | pal palettevsmar[64] = { |
| 34 | #include "palettes/vsmar.h" |
| 35 | }; |
| 36 | |
| 37 | pal unvpalette[6] = { |
| 38 | { 0x00<<2,0x00<<2,0x00<<2}, // Black |
| 39 | { 0x3F<<2,0x3F<<2,0x34<<2}, // White |
| 40 | { 0x00<<2,0x00<<2,0x00<<2}, // Black |
| 41 | { 0x1d<<2,0x1d<<2,0x24<<2}, // Greyish |
| 42 | { 190,0,0 }, // Redish |
| 43 | { 51,255,51}, // Bright green |
| 44 | }; |
| 45 | |
| 46 | |
| 47 | /* These are dynamically filled/generated palettes: */ |
| 48 | pal palettei[64]; // Custom palette for an individual game. |
| 49 | pal palettec[64]; // Custom "global" palette. |
| 50 | pal paletten[64]; // Mathematically generated palette. |
| 51 | |
| 52 | |
| 53 | /* Default palette */ |
| 54 | pal palette[64] = { |
| 55 | |
| 56 | { 0x1D<<2, 0x1D<<2, 0x1D<<2 }, /* Value 0 */ |
| 57 | { 0x09<<2, 0x06<<2, 0x23<<2 }, /* Value 1 */ |
| 58 | { 0x00<<2, 0x00<<2, 0x2A<<2 }, /* Value 2 */ |
| 59 | { 0x11<<2, 0x00<<2, 0x27<<2 }, /* Value 3 */ |
| 60 | { 0x23<<2, 0x00<<2, 0x1D<<2 }, /* Value 4 */ |
| 61 | { 0x2A<<2, 0x00<<2, 0x04<<2 }, /* Value 5 */ |
| 62 | { 0x29<<2, 0x00<<2, 0x00<<2 }, /* Value 6 */ |
| 63 | { 0x1F<<2, 0x02<<2, 0x00<<2 }, /* Value 7 */ |
| 64 | { 0x10<<2, 0x0B<<2, 0x00<<2 }, /* Value 8 */ |
| 65 | { 0x00<<2, 0x11<<2, 0x00<<2 }, /* Value 9 */ |
| 66 | { 0x00<<2, 0x14<<2, 0x00<<2 }, /* Value 10 */ |
| 67 | { 0x00<<2, 0x0F<<2, 0x05<<2 }, /* Value 11 */ |
| 68 | { 0x06<<2, 0x0F<<2, 0x17<<2 }, /* Value 12 */ |
| 69 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 13 */ |
| 70 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 14 */ |
| 71 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 15 */ |
| 72 | { 0x2F<<2, 0x2F<<2, 0x2F<<2 }, /* Value 16 */ |
| 73 | { 0x00<<2, 0x1C<<2, 0x3B<<2 }, /* Value 17 */ |
| 74 | { 0x08<<2, 0x0E<<2, 0x3B<<2 }, /* Value 18 */ |
| 75 | { 0x20<<2, 0x00<<2, 0x3C<<2 }, /* Value 19 */ |
| 76 | { 0x2F<<2, 0x00<<2, 0x2F<<2 }, /* Value 20 */ |
| 77 | { 0x39<<2, 0x00<<2, 0x16<<2 }, /* Value 21 */ |
| 78 | { 0x36<<2, 0x0A<<2, 0x00<<2 }, /* Value 22 */ |
| 79 | { 0x32<<2, 0x13<<2, 0x03<<2 }, /* Value 23 */ |
| 80 | { 0x22<<2, 0x1C<<2, 0x00<<2 }, /* Value 24 */ |
| 81 | { 0x00<<2, 0x25<<2, 0x00<<2 }, /* Value 25 */ |
| 82 | { 0x00<<2, 0x2A<<2, 0x00<<2 }, /* Value 26 */ |
| 83 | { 0x00<<2, 0x24<<2, 0x0E<<2 }, /* Value 27 */ |
| 84 | { 0x00<<2, 0x20<<2, 0x22<<2 }, /* Value 28 */ |
| 85 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 29 */ |
| 86 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 30 */ |
| 87 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 31 */ |
| 88 | { 0x3F<<2, 0x3F<<2, 0x3F<<2 }, /* Value 32 */ |
| 89 | { 0x0F<<2, 0x2F<<2, 0x3F<<2 }, /* Value 33 */ |
| 90 | { 0x17<<2, 0x25<<2, 0x3F<<2 }, /* Value 34 */ |
| 91 | { 0x10<<2, 0x22<<2, 0x3F<<2 }, /* Value 35 */ |
| 92 | { 0x3D<<2, 0x1E<<2, 0x3F<<2 }, /* Value 36 */ |
| 93 | { 0x3F<<2, 0x1D<<2, 0x2D<<2 }, /* Value 37 */ |
| 94 | { 0x3F<<2, 0x1D<<2, 0x18<<2 }, /* Value 38 */ |
| 95 | { 0x3F<<2, 0x26<<2, 0x0E<<2 }, /* Value 39 */ |
| 96 | { 0x3C<<2, 0x2F<<2, 0x0F<<2 }, /* Value 40 */ |
| 97 | { 0x20<<2, 0x34<<2, 0x04<<2 }, /* Value 41 */ |
| 98 | { 0x13<<2, 0x37<<2, 0x12<<2 }, /* Value 42 */ |
| 99 | { 0x16<<2, 0x3E<<2, 0x26<<2 }, /* Value 43 */ |
| 100 | { 0x00<<2, 0x3A<<2, 0x36<<2 }, /* Value 44 */ |
| 101 | { 0x1E<<2, 0x1E<<2, 0x1E<<2 }, /* Value 45 */ |
| 102 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 46 */ |
| 103 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 47 */ |
| 104 | { 0x3F<<2, 0x3F<<2, 0x3F<<2 }, /* Value 48 */ |
| 105 | { 0x2A<<2, 0x39<<2, 0x3F<<2 }, /* Value 49 */ |
| 106 | { 0x31<<2, 0x35<<2, 0x3F<<2 }, /* Value 50 */ |
| 107 | { 0x35<<2, 0x32<<2, 0x3F<<2 }, /* Value 51 */ |
| 108 | { 0x3F<<2, 0x31<<2, 0x3F<<2 }, /* Value 52 */ |
| 109 | { 0x3F<<2, 0x31<<2, 0x36<<2 }, /* Value 53 */ |
| 110 | { 0x3F<<2, 0x2F<<2, 0x2C<<2 }, /* Value 54 */ |
| 111 | { 0x3F<<2, 0x36<<2, 0x2A<<2 }, /* Value 55 */ |
| 112 | { 0x3F<<2, 0x39<<2, 0x28<<2 }, /* Value 56 */ |
| 113 | { 0x38<<2, 0x3F<<2, 0x28<<2 }, /* Value 57 */ |
| 114 | { 0x2A<<2, 0x3C<<2, 0x2F<<2 }, /* Value 58 */ |
| 115 | { 0x2C<<2, 0x3F<<2, 0x33<<2 }, /* Value 59 */ |
| 116 | { 0x27<<2, 0x3F<<2, 0x3C<<2 }, /* Value 60 */ |
| 117 | { 0x31<<2, 0x31<<2, 0x31<<2 }, /* Value 61 */ |
| 118 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 62 */ |
| 119 | { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 63 */ |
| 120 | }; |