summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/puzzles.rc2
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2016-11-20 15:16:41 -0500
committerFranklin Wei <frankhwei536@gmail.com>2016-11-24 16:23:09 -0500
commit56c9984511f016eab7e1278ba9e40d88bb59a162 (patch)
tree1bfa6d3aeb3bf2a6ffec71387ac073cd0b8b2a51 /apps/plugins/puzzles/puzzles.rc2
parent29648f817677b84c03c2bcfe89eb8cf53653e7db (diff)
downloadrockbox-puzzles.zip
rockbox-puzzles.tar.gz
rockbox-puzzles.tar.bz2
rockbox-puzzles.tar.xz
[WIP] Port of Simon Tatham's Puzzle Collectionpuzzles
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: crash with certain settings Galaxies: crash Inertia: crash Keen: input issues Loopy: weird stuff happens Map: crash on input Mines: weird stuff happens on target Palisade: input issues Signpost: crash on input Solo: input issues Towers: input and drawing issues Train Tracks: drawing issues Twiddle: weird animation on target Undead: input and drawing issues Unequal: input and drawing issues Untangle: input issues All in all, about 40% of the games are at least partially broken. Change-Id: I7c69b6860ab115f973c8d76799502e9bb3d52368
Diffstat (limited to 'apps/plugins/puzzles/puzzles.rc2')
-rw-r--r--apps/plugins/puzzles/puzzles.rc265
1 files changed, 65 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/puzzles.rc2 b/apps/plugins/puzzles/puzzles.rc2
new file mode 100644
index 0000000..4442a9b
--- /dev/null
+++ b/apps/plugins/puzzles/puzzles.rc2
@@ -0,0 +1,65 @@
+/* Standard stuff that goes into the Windows resources for all puzzles. */
+
+#ifdef _WIN32_WCE
+
+#include <winuser.h>
+#include <commctrl.h>
+
+#define SHMENUBAR RCDATA
+#define I_IMAGENONE (-2)
+#define IDC_STATIC (-1)
+
+#include "resource.h"
+
+IDR_MENUBAR1 MENU DISCARDABLE
+BEGIN
+ POPUP "Game"
+ BEGIN
+ MENUITEM "Dummy", 0
+ END
+ POPUP "Type"
+ BEGIN
+ MENUITEM "Dummy", 0
+ END
+END
+
+IDR_MENUBAR1 SHMENUBAR DISCARDABLE
+BEGIN
+ IDR_MENUBAR1, 2,
+ I_IMAGENONE, ID_GAME, TBSTATE_ENABLED,
+ TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_GAME, 0, 0,
+ I_IMAGENONE, ID_TYPE, TBSTATE_ENABLED,
+ TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_TYPE, 0, 1,
+END
+
+STRINGTABLE DISCARDABLE
+BEGIN
+ IDS_CAP_GAME "Game"
+ IDS_CAP_TYPE "Type"
+END
+
+IDD_ABOUT DIALOG DISCARDABLE 0, 0, 0, 0
+STYLE WS_POPUP
+FONT 8, "Tahoma"
+BEGIN
+ LTEXT "", IDC_ABOUT_CAPTION, 4, 4, 150, 8
+ LTEXT "", IDC_ABOUT_LINE, 4, 16, 150, 1, WS_BORDER
+ LTEXT "", IDC_ABOUT_GAME, 4, 22, 150, 8
+ LTEXT "from Simon Tatham's Portable Puzzle Collection",
+ IDC_STATIC, 4, 36, 150, 8, SS_LEFTNOWORDWRAP
+ LTEXT "Pocket PC port by Darek Olszewski",
+ IDC_STATIC, 4, 46, 150, 8
+ LTEXT "", IDC_ABOUT_VERSION, 4, 60, 150, 8
+END
+
+IDD_CONFIG DIALOG DISCARDABLE 0, 0, 0, 0
+STYLE WS_POPUP
+FONT 8, "Tahoma"
+BEGIN
+ LTEXT "", IDC_CONFIG_CAPTION, 4, 4, 150, 8
+ LTEXT "", IDC_CONFIG_LINE, 4, 16, 150, 1, WS_BORDER
+END
+
+IDR_PADTOOLBAR BITMAP DISCARDABLE "padtoolbar.bmp"
+
+#endif /* _WIN32_WCE */