summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8ef49e1)
beginning, we should wrap back to COL_B0+1 rather than COL_B0 itself,
so as not to reuse white. White should be special, and always indicate
a properly numbered square.
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9305
cda61777-01e9-0310-a592-
d414129be87e
{
int set = num / (ds->n+1);
{
int set = num / (ds->n+1);
- if (num <= 0) return COL_B0;
- return COL_B0 + (set % 16);
+ if (num <= 0 || set == 0) return COL_B0;
+ return COL_B0 + 1 + ((set-1) % 15);
}
#define ARROW_HALFSZ (7 * TILE_SIZE / 32)
}
#define ARROW_HALFSZ (7 * TILE_SIZE / 32)