Same Game: darken light colours to make keyboard cursor visible

The keyboard cursor in Same Game is white.  The default yellow,
cyan, and light green were light enough to make the cursor hard to
see.  I've darkened them all (without changing their hues) so that the
cursor is acceptably visible.  This doesn't leave an ideal set of
colours, but they are at least still adequately distinct from one
another.
This commit is contained in:
Ben Harris
2023-07-27 22:46:50 +01:00
parent 6de17a7511
commit d4d8e5bfc8

View File

@ -1403,8 +1403,8 @@ static float *game_colours(frontend *fe, int *ncolours)
ret[COL_3 * 3 + 1] = 0.0F; ret[COL_3 * 3 + 1] = 0.0F;
ret[COL_3 * 3 + 2] = 0.0F; ret[COL_3 * 3 + 2] = 0.0F;
ret[COL_4 * 3 + 0] = 1.0F; ret[COL_4 * 3 + 0] = 0.7F;
ret[COL_4 * 3 + 1] = 1.0F; ret[COL_4 * 3 + 1] = 0.7F;
ret[COL_4 * 3 + 2] = 0.0F; ret[COL_4 * 3 + 2] = 0.0F;
ret[COL_5 * 3 + 0] = 1.0F; ret[COL_5 * 3 + 0] = 1.0F;
@ -1412,16 +1412,16 @@ static float *game_colours(frontend *fe, int *ncolours)
ret[COL_5 * 3 + 2] = 1.0F; ret[COL_5 * 3 + 2] = 1.0F;
ret[COL_6 * 3 + 0] = 0.0F; ret[COL_6 * 3 + 0] = 0.0F;
ret[COL_6 * 3 + 1] = 1.0F; ret[COL_6 * 3 + 1] = 0.8F;
ret[COL_6 * 3 + 2] = 1.0F; ret[COL_6 * 3 + 2] = 0.8F;
ret[COL_7 * 3 + 0] = 0.5F; ret[COL_7 * 3 + 0] = 0.5F;
ret[COL_7 * 3 + 1] = 0.5F; ret[COL_7 * 3 + 1] = 0.5F;
ret[COL_7 * 3 + 2] = 1.0F; ret[COL_7 * 3 + 2] = 1.0F;
ret[COL_8 * 3 + 0] = 0.5F; ret[COL_8 * 3 + 0] = 0.2F;
ret[COL_8 * 3 + 1] = 1.0F; ret[COL_8 * 3 + 1] = 0.8F;
ret[COL_8 * 3 + 2] = 0.5F; ret[COL_8 * 3 + 2] = 0.2F;
ret[COL_9 * 3 + 0] = 1.0F; ret[COL_9 * 3 + 0] = 1.0F;
ret[COL_9 * 3 + 1] = 0.5F; ret[COL_9 * 3 + 1] = 0.5F;