mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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>
This commit is contained in:

committed by
Simon Tatham

parent
03d464dc65
commit
b98d93ac55
10
tracks.c
10
tracks.c
@ -2152,11 +2152,11 @@ static float *game_colours(frontend *fe, int *ncolours)
|
||||
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;
|
||||
|
Reference in New Issue
Block a user