summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/map.R
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2016-11-20 15:16:41 -0500
committerFranklin Wei <frankhwei536@gmail.com>2016-11-27 20:35:46 -0500
commitd71a2abe90a751fc1b8321fc53c38098c17b6bc8 (patch)
treeac628c2337a119913486aa8e19d9e87d8584daf0 /apps/plugins/puzzles/map.R
parent29648f817677b84c03c2bcfe89eb8cf53653e7db (diff)
downloadrockbox-d71a2abe90a751fc1b8321fc53c38098c17b6bc8.zip
rockbox-d71a2abe90a751fc1b8321fc53c38098c17b6bc8.tar.gz
rockbox-d71a2abe90a751fc1b8321fc53c38098c17b6bc8.tar.bz2
rockbox-d71a2abe90a751fc1b8321fc53c38098c17b6bc8.tar.xz
[WIP] Port of Simon Tatham's Puzzle Collection
Original revision: 5123b1bf68777ffa86e651f178046b26a87cf2d9 MIT Licensed. Some games still crash and others are unplayable due to issues with controls. Still need a "real" polygon filling algorithm. The following games are at least partially broken for various reasons: Cube: failed assertion with "Icosahedron" setting Keen: input issues Mines: weird stuff happens on target Palisade: input issues Solo: input issues, crash on target (stack overflow maybe?) Towers: input and drawing issues Undead: input issues Unequal: input and drawing issues Untangle: input issues Change-Id: I7c69b6860ab115f973c8d76799502e9bb3d52368
Diffstat (limited to 'apps/plugins/puzzles/map.R')
-rw-r--r--apps/plugins/puzzles/map.R24
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/map.R b/apps/plugins/puzzles/map.R
new file mode 100644
index 0000000..1e702aa
--- /dev/null
+++ b/apps/plugins/puzzles/map.R
@@ -0,0 +1,24 @@
+# -*- makefile -*-
+
+MAP_EXTRA = dsf
+
+map : [X] GTK COMMON map MAP_EXTRA map-icon|no-icon
+
+map : [G] WINDOWS COMMON map MAP_EXTRA map.res|noicon.res
+
+mapsolver : [U] map[STANDALONE_SOLVER] MAP_EXTRA STANDALONE m.lib
+mapsolver : [C] map[STANDALONE_SOLVER] MAP_EXTRA STANDALONE
+
+ALL += map[COMBINED] MAP_EXTRA
+
+!begin am gtk
+GAMES += map
+!end
+
+!begin >list.c
+ A(map) \
+!end
+
+!begin >gamedesc.txt
+map:map.exe:Map:Map-colouring puzzle:Colour the map so that adjacent regions are never the same colour.
+!end