diff options
-rw-r--r-- | data/palettes/day.gpl | 2 | ||||
-rw-r--r-- | data/palettes/eve.gpl | 2 | ||||
-rw-r--r-- | data/palettes/morn.gpl | 2 | ||||
-rw-r--r-- | data/palettes/night.gpl | 2 | ||||
-rw-r--r-- | src/main.c | 4 |
5 files changed, 10 insertions, 2 deletions
diff --git a/data/palettes/day.gpl b/data/palettes/day.gpl index b810163..49b7a86 100644 --- a/data/palettes/day.gpl +++ b/data/palettes/day.gpl @@ -59,3 +59,5 @@ Name: Day colors 144 180 85 Color 90b455 180 216 170 Color b4d8aa 216 252 170 Color d8fcaa + + 31 31 127 Demo sprite diff --git a/data/palettes/eve.gpl b/data/palettes/eve.gpl index 6819de0..19ea0f8 100644 --- a/data/palettes/eve.gpl +++ b/data/palettes/eve.gpl @@ -59,3 +59,5 @@ Name: Evening colors 126 112 53 Color 7e7035 157 135 106 Color 9d876a 189 157 106 Color bd9d6a + + 31 31 127 Demo sprite diff --git a/data/palettes/morn.gpl b/data/palettes/morn.gpl index dd55fd9..5111900 100644 --- a/data/palettes/morn.gpl +++ b/data/palettes/morn.gpl @@ -59,3 +59,5 @@ Name: Morning colors 144 157 53 Color 909d35 180 189 106 Color b4bd6a 216 220 106 Color d8dc6a + + 31 31 127 Demo sprite diff --git a/data/palettes/night.gpl b/data/palettes/night.gpl index 1c4cbf9..919984a 100644 --- a/data/palettes/night.gpl +++ b/data/palettes/night.gpl @@ -59,3 +59,5 @@ Name: Night colors 36 45 42 Color 242d2a 45 54 85 Color 2d3655 54 63 85 Color 363f55 + + 31 31 127 Demo sprite @@ -90,8 +90,8 @@ main(void) SDL_Palette *pal_start, *pal_end; pal = malloc(sizeof(*pal)); - pal->colors = calloc(58, sizeof(*pal->colors)); - pal->ncolors = 58; + pal->colors = calloc(59, sizeof(*pal->colors)); + pal->ncolors = 59; i = 0; start = SDL_GetTicks(); |