aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2017-08-17 13:25:16 -0400
committerFranklin Wei <me@fwei.tk>2018-12-21 21:39:34 -0500
commitfdef21d4cab3e0b6843c7bf8ec59cd81e35d6a9f (patch)
tree7076b63ff3d14604500090d41fb7799e107e7d3b
parentbe005f2327099d665ba248a5f1c9df3625afb82a (diff)
downloadpuzzles-fdef21d4cab3e0b6843c7bf8ec59cd81e35d6a9f.zip
puzzles-fdef21d4cab3e0b6843c7bf8ec59cd81e35d6a9f.tar.gz
puzzles-fdef21d4cab3e0b6843c7bf8ec59cd81e35d6a9f.tar.bz2
puzzles-fdef21d4cab3e0b6843c7bf8ec59cd81e35d6a9f.tar.xz
Mines: hack for rockbox polygon drawing
-rw-r--r--mines.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mines.c b/mines.c
index 41d0584..c9d9852 100644
--- a/mines.c
+++ b/mines.c
@@ -2868,12 +2868,12 @@ static void draw_tile(drawing *dr, game_drawstate *ds,
coords[(n)*2+0] = x + (int)(TILE_SIZE * (dx)); \
coords[(n)*2+1] = y + (int)(TILE_SIZE * (dy)); \
} while (0)
- SETCOORD(0, 0.6F, 0.35F);
- SETCOORD(1, 0.6F, 0.7F);
- SETCOORD(2, 0.8F, 0.8F);
- SETCOORD(3, 0.25F, 0.8F);
- SETCOORD(4, 0.55F, 0.7F);
- SETCOORD(5, 0.55F, 0.35F);
+ SETCOORD(0, 0.6F, 0.7F);
+ SETCOORD(1, 0.8F, 0.8F);
+ SETCOORD(2, 0.25F, 0.8F);
+ SETCOORD(3, 0.55F, 0.7F);
+ SETCOORD(4, 0.55F, 0.35F);
+ SETCOORD(5, 0.6F, 0.35F);
draw_polygon(dr, coords, 6, COL_FLAGBASE, COL_FLAGBASE);
SETCOORD(0, 0.6F, 0.2F);