aboutsummaryrefslogtreecommitdiff
path: root/mines.c
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2017-08-17 13:25:16 -0400
committerFranklin Wei <franklin@rockbox.org>2020-12-07 19:27:19 -0500
commitb4efc0d44810c85a5cec50c8457bc1ab0aedc49c (patch)
tree01e5a71f5427e73a42b9e8f32dcde0a01b83d5db /mines.c
parenta4cfeb91200fab2b0e9c17b13e80796c66cfc174 (diff)
downloadpuzzles-b4efc0d44810c85a5cec50c8457bc1ab0aedc49c.zip
puzzles-b4efc0d44810c85a5cec50c8457bc1ab0aedc49c.tar.gz
puzzles-b4efc0d44810c85a5cec50c8457bc1ab0aedc49c.tar.bz2
puzzles-b4efc0d44810c85a5cec50c8457bc1ab0aedc49c.tar.xz
Mines: hack for rockbox polygon drawing
Diffstat (limited to 'mines.c')
-rw-r--r--mines.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mines.c b/mines.c
index 0a2407e..706777c 100644
--- a/mines.c
+++ b/mines.c
@@ -2870,12 +2870,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);