diff options
| author | Simon Tatham <anakin@pobox.com> | 2011-02-23 20:05:42 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2011-02-23 20:05:42 +0000 |
| commit | 53f6e4c6cb0b342f37e75c2686c1b542212c5f3e (patch) | |
| tree | 10f6072309c91afe6fd423d1a7b349fbdf5aa42b /loopy.c | |
| parent | 1a628aebd8893001bc3a2e9dbc3e2dc7432b08e4 (diff) | |
| download | puzzles-53f6e4c6cb0b342f37e75c2686c1b542212c5f3e.zip puzzles-53f6e4c6cb0b342f37e75c2686c1b542212c5f3e.tar.gz puzzles-53f6e4c6cb0b342f37e75c2686c1b542212c5f3e.tar.bz2 puzzles-53f6e4c6cb0b342f37e75c2686c1b542212c5f3e.tar.xz | |
Patch from Chris Moore to implement an extra grid type, the 'floret'
pentagonal tiling.
[originally from svn r9107]
Diffstat (limited to 'loopy.c')
| -rw-r--r-- | loopy.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -253,7 +253,8 @@ static void check_caches(const solver_state* sstate); A(Cairo,grid_new_cairo,3,4) \ A(Great-Hexagonal,grid_new_greathexagonal,3,3) \ A(Octagonal,grid_new_octagonal,3,3) \ - A(Kites,grid_new_kites,3,3) + A(Kites,grid_new_kites,3,3) \ + A(Floret,grid_new_floret,1,2) #define GRID_NAME(title,fn,amin,omin) #title, #define GRID_CONFIG(title,fn,amin,omin) ":" #title @@ -504,6 +505,7 @@ static const game_params presets[] = { { 5, 4, DIFF_HARD, 5, NULL }, { 5, 5, DIFF_HARD, 6, NULL }, { 5, 5, DIFF_HARD, 7, NULL }, + { 3, 3, DIFF_HARD, 8, NULL }, #else { 7, 7, DIFF_EASY, 0, NULL }, { 10, 10, DIFF_EASY, 0, NULL }, @@ -518,6 +520,7 @@ static const game_params presets[] = { { 5, 4, DIFF_HARD, 5, NULL }, { 7, 7, DIFF_HARD, 6, NULL }, { 5, 5, DIFF_HARD, 7, NULL }, + { 5, 5, DIFF_HARD, 8, NULL }, #endif }; |