mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Patch from Chris Moore to implement an extra grid type, the 'floret'
pentagonal tiling. [originally from svn r9107]
This commit is contained in:
5
loopy.c
5
loopy.c
@ -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
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user