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 <me@fwei.tk>2016-12-18 18:13:22 +0100
commit1a6a8b52f7aa4e2da6f4c34a0c743c760b8cfd99 (patch)
tree8e7f2d6b0cbdb5d15c13457b2c3e1de69f598440 /apps/plugins/puzzles/puzzles.rc2
parent3ee79724f6fb033d50e26ef37b33d3f8cedf0c5b (diff)
downloadrockbox-1a6a8b52f7aa4e2da6f4c34a0c743c760b8cfd99.tar.gz
rockbox-1a6a8b52f7aa4e2da6f4c34a0c743c760b8cfd99.zip
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. Currently builds one plugin per puzzle (about 40 in total, around 100K each on ARM), but can easily be made to build a single monolithic overlay (800K or so on ARM). The following games are at least partially broken for various reasons, and have been disabled on this commit: Cube: failed assertion with "Icosahedron" setting Keen: input issues Mines: weird stuff happens on target Palisade: input issues Solo: input issues, occasional crash on target Towers: input issues Undead: input issues Unequal: input and drawing issues (concave polys) Untangle: input issues Features left to do: - In-game help system - Figure out the weird bugs 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 0000000000..4442a9b138
--- /dev/null
+++ b/apps/plugins/puzzles/puzzles.rc2
@@ -0,0 +1,65 @@
1/* Standard stuff that goes into the Windows resources for all puzzles. */
2
3#ifdef _WIN32_WCE
4
5#include <winuser.h>
6#include <commctrl.h>
7
8#define SHMENUBAR RCDATA
9#define I_IMAGENONE (-2)
10#define IDC_STATIC (-1)
11
12#include "resource.h"
13
14IDR_MENUBAR1 MENU DISCARDABLE
15BEGIN
16 POPUP "Game"
17 BEGIN
18 MENUITEM "Dummy", 0
19 END
20 POPUP "Type"
21 BEGIN
22 MENUITEM "Dummy", 0
23 END
24END
25
26IDR_MENUBAR1 SHMENUBAR DISCARDABLE
27BEGIN
28 IDR_MENUBAR1, 2,
29 I_IMAGENONE, ID_GAME, TBSTATE_ENABLED,
30 TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_GAME, 0, 0,
31 I_IMAGENONE, ID_TYPE, TBSTATE_ENABLED,
32 TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_CAP_TYPE, 0, 1,
33END
34
35STRINGTABLE DISCARDABLE
36BEGIN
37 IDS_CAP_GAME "Game"
38 IDS_CAP_TYPE "Type"
39END
40
41IDD_ABOUT DIALOG DISCARDABLE 0, 0, 0, 0
42STYLE WS_POPUP
43FONT 8, "Tahoma"
44BEGIN
45 LTEXT "", IDC_ABOUT_CAPTION, 4, 4, 150, 8
46 LTEXT "", IDC_ABOUT_LINE, 4, 16, 150, 1, WS_BORDER
47 LTEXT "", IDC_ABOUT_GAME, 4, 22, 150, 8
48 LTEXT "from Simon Tatham's Portable Puzzle Collection",
49 IDC_STATIC, 4, 36, 150, 8, SS_LEFTNOWORDWRAP
50 LTEXT "Pocket PC port by Darek Olszewski",
51 IDC_STATIC, 4, 46, 150, 8
52 LTEXT "", IDC_ABOUT_VERSION, 4, 60, 150, 8
53END
54
55IDD_CONFIG DIALOG DISCARDABLE 0, 0, 0, 0
56STYLE WS_POPUP
57FONT 8, "Tahoma"
58BEGIN
59 LTEXT "", IDC_CONFIG_CAPTION, 4, 4, 150, 8
60 LTEXT "", IDC_CONFIG_LINE, 4, 16, 150, 1, WS_BORDER
61END
62
63IDR_PADTOOLBAR BITMAP DISCARDABLE "padtoolbar.bmp"
64
65#endif /* _WIN32_WCE */