1a6a8b52f7
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
65 lines
1.6 KiB
Text
65 lines
1.6 KiB
Text
/* 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 */
|