summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/mines.c
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2024-07-23 06:05:45 -0400
committerFranklin Wei <franklin@rockbox.org>2024-07-23 06:05:45 -0400
commit62b0456a4b1415d3e4138e8dbca4b22f88d374d6 (patch)
tree393620d5f8ac19bddf40aaf90721e792017e1623 /apps/plugins/puzzles/src/mines.c
parent09aa8de52cb962f1ceebfb1fd44f2c54a924fc5c (diff)
downloadrockbox-62b0456a4b1415d3e4138e8dbca4b22f88d374d6.tar.gz
rockbox-62b0456a4b1415d3e4138e8dbca4b22f88d374d6.zip
puzzles: resync with upstream (adds new Palisade cursor interface).
Resyncs properly with this slightly modified upstream: https://www.franklinwei.com/git/puzzles/commit/?h=rockbox-devel&id=1c62dac3f4f1a819a394ff33cc82912cf9079b50 Change-Id: I2018e81647c22010f9d74d8d14d13982f2969a8f
Diffstat (limited to 'apps/plugins/puzzles/src/mines.c')
-rw-r--r--apps/plugins/puzzles/src/mines.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/puzzles/src/mines.c b/apps/plugins/puzzles/src/mines.c
index e1441fae13..eec898ac6f 100644
--- a/apps/plugins/puzzles/src/mines.c
+++ b/apps/plugins/puzzles/src/mines.c
@@ -2867,12 +2867,12 @@ static void draw_tile(drawing *dr, game_drawstate *ds,
2867 coords[(n)*2+0] = x + (int)(TILE_SIZE * (dx)); \ 2867 coords[(n)*2+0] = x + (int)(TILE_SIZE * (dx)); \
2868 coords[(n)*2+1] = y + (int)(TILE_SIZE * (dy)); \ 2868 coords[(n)*2+1] = y + (int)(TILE_SIZE * (dy)); \
2869} while (0) 2869} while (0)
2870 SETCOORD(0, 0.6F, 0.35F); 2870 SETCOORD(0, 0.6F, 0.7F);
2871 SETCOORD(1, 0.6F, 0.7F); 2871 SETCOORD(1, 0.8F, 0.8F);
2872 SETCOORD(2, 0.8F, 0.8F); 2872 SETCOORD(2, 0.25F, 0.8F);
2873 SETCOORD(3, 0.25F, 0.8F); 2873 SETCOORD(3, 0.55F, 0.7F);
2874 SETCOORD(4, 0.55F, 0.7F); 2874 SETCOORD(4, 0.55F, 0.35F);
2875 SETCOORD(5, 0.55F, 0.35F); 2875 SETCOORD(5, 0.6F, 0.35F);
2876 draw_polygon(dr, coords, 6, COL_FLAGBASE, COL_FLAGBASE); 2876 draw_polygon(dr, coords, 6, COL_FLAGBASE, COL_FLAGBASE);
2877 2877
2878 SETCOORD(0, 0.6F, 0.2F); 2878 SETCOORD(0, 0.6F, 0.2F);