aboutsummaryrefslogtreecommitdiff
path: root/nullfe.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-07-31 22:39:33 +0100
committerBen Harris <bjh21@bjh21.me.uk>2023-07-31 22:39:33 +0100
commit56237fa5fa0c2c56785f3667cb7d013dc9779352 (patch)
tree7a2de7a5cf8e4c437a0a6d3b870d4afba8cfe0c8 /nullfe.c
parent29eaa8f55c7b9cc960afa4327a7ce977e6637e9c (diff)
downloadpuzzles-56237fa5fa0c2c56785f3667cb7d013dc9779352.zip
puzzles-56237fa5fa0c2c56785f3667cb7d013dc9779352.tar.gz
puzzles-56237fa5fa0c2c56785f3667cb7d013dc9779352.tar.bz2
puzzles-56237fa5fa0c2c56785f3667cb7d013dc9779352.tar.xz
Same Game: scale TILE_GAP with tilesize
TILE_GAP represents the gap between the coloured parts of adjacent different-coloured tiles. Rather than a fixed 2 pixels, it's now 1/16 of the tilesize (rounded to nearest). This looks the same at the default tilesize of 32, but behaves better with larger or smaller tilesizes. At tilesizes below 8, the gap disappears altogether, but that seems appropriate: at 7 pixels there's not much space for the inner and outer squares and the cursor, and those are all more important than the gap..
Diffstat (limited to 'nullfe.c')
0 files changed, 0 insertions, 0 deletions