shithub: puzzles

Download patch

ref: b98d93ac553687bcebd2232e234975f4cb635d3f
parent: 03d464dc658a2dc7048b62c1058aba78125b82d3
author: Ian Jackson <ijackson@chiark.greenend.org.uk>
date: Sat Sep 30 15:50:47 EDT 2017

tracks: Greyscale colour initialisation: line up columns

This makes it much easier to see the commonality in these formulaic
lines.

Whitespace change only.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>

--- a/tracks.c
+++ b/tracks.c
@@ -2152,11 +2152,11 @@
     game_mkhighlight(fe, ret, COL_BACKGROUND, COL_HIGHLIGHT, COL_LOWLIGHT);
 
     for (i = 0; i < 3; i++) {
-        ret[COL_TRACK_CLUE * 3 + i] = 0.0F;
-        ret[COL_TRACK * 3 + i] = 0.5F;
-        ret[COL_CLUE * 3 + i] = 0.0F;
-        ret[COL_GRID * 3 + i] = 0.75F;
-        ret[COL_CURSOR * 3 + i] = 0.6F;
+        ret[COL_TRACK_CLUE       * 3 + i] = 0.0F;
+        ret[COL_TRACK            * 3 + i] = 0.5F;
+        ret[COL_CLUE             * 3 + i] = 0.0F;
+        ret[COL_GRID             * 3 + i] = 0.75F;
+        ret[COL_CURSOR           * 3 + i] = 0.6F;
     }
 
     ret[COL_SLEEPER * 3 + 0] = 0.5F;