aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-06-10 11:27:26 +0000
committerSimon Tatham <anakin@pobox.com>2005-06-10 11:27:26 +0000
commit98c90052c98b19c43a0a1e4fec8bbed10d7a6d55 (patch)
tree43b031f205f033b9a90f3a8e6adfb3d7190910d8
parent011d42df0da442363559ea8a6cfa7be5fcd80330 (diff)
downloadpuzzles-98c90052c98b19c43a0a1e4fec8bbed10d7a6d55.zip
puzzles-98c90052c98b19c43a0a1e4fec8bbed10d7a6d55.tar.gz
puzzles-98c90052c98b19c43a0a1e4fec8bbed10d7a6d55.tar.bz2
puzzles-98c90052c98b19c43a0a1e4fec8bbed10d7a6d55.tar.xz
Patch from James Harvey to rearrange the Same Game colours.
[originally from svn r5938]
-rw-r--r--samegame.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/samegame.c b/samegame.c
index f67b7f4..8b4379d 100644
--- a/samegame.c
+++ b/samegame.c
@@ -674,29 +674,29 @@ static float *game_colours(frontend *fe, game_state *state, int *ncolours)
ret[COL_3 * 3 + 1] = 0.0F;
ret[COL_3 * 3 + 2] = 0.0F;
- ret[COL_4 * 3 + 0] = 0.5F;
- ret[COL_4 * 3 + 1] = 0.5F;
- ret[COL_4 * 3 + 2] = 1.0F;
+ ret[COL_4 * 3 + 0] = 1.0F;
+ ret[COL_4 * 3 + 1] = 1.0F;
+ ret[COL_4 * 3 + 2] = 0.0F;
- ret[COL_5 * 3 + 0] = 0.5F;
- ret[COL_5 * 3 + 1] = 1.0F;
- ret[COL_5 * 3 + 2] = 0.5F;
+ ret[COL_5 * 3 + 0] = 1.0F;
+ ret[COL_5 * 3 + 1] = 0.0F;
+ ret[COL_5 * 3 + 2] = 1.0F;
- ret[COL_6 * 3 + 0] = 1.0F;
- ret[COL_6 * 3 + 1] = 0.5F;
- ret[COL_6 * 3 + 2] = 0.5F;
+ ret[COL_6 * 3 + 0] = 0.0F;
+ ret[COL_6 * 3 + 1] = 1.0F;
+ ret[COL_6 * 3 + 2] = 1.0F;
- ret[COL_7 * 3 + 0] = 1.0F;
- ret[COL_7 * 3 + 1] = 1.0F;
- ret[COL_7 * 3 + 2] = 0.0F;
+ ret[COL_7 * 3 + 0] = 0.5F;
+ ret[COL_7 * 3 + 1] = 0.5F;
+ ret[COL_7 * 3 + 2] = 1.0F;
- ret[COL_8 * 3 + 0] = 1.0F;
- ret[COL_8 * 3 + 1] = 0.0F;
- ret[COL_8 * 3 + 2] = 1.0F;
+ ret[COL_8 * 3 + 0] = 0.5F;
+ ret[COL_8 * 3 + 1] = 1.0F;
+ ret[COL_8 * 3 + 2] = 0.5F;
- ret[COL_9 * 3 + 0] = 0.0F;
- ret[COL_9 * 3 + 1] = 1.0F;
- ret[COL_9 * 3 + 2] = 1.0F;
+ ret[COL_9 * 3 + 0] = 1.0F;
+ ret[COL_9 * 3 + 1] = 0.5F;
+ ret[COL_9 * 3 + 2] = 0.5F;
ret[COL_IMPOSSIBLE * 3 + 0] = 0.0F;
ret[COL_IMPOSSIBLE * 3 + 1] = 0.0F;