X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/375c9b4d4c8b128dfd09125f4b61f6a00d8af104..367cfc410279cb6fcfdf98c08f54844815657528:/samegame.c 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;