mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
527d99008b
Renamed all elements still referring to zdoom. removed the frontend specific resource data. fixed startup dialog to accept ANSI date despite building as Unicode. This needed a bit of hackery because the macros in windowsx.h are not character set sensitive.
125 lines
6 KiB
Text
125 lines
6 KiB
Text
#define NEED_COMMCTRL_H
|
||
#include "../../build/include/windows_inc.h"
|
||
#include "startwin.game.h"
|
||
|
||
RSRC_ICON ICON "game_icon.ico"
|
||
RSRC_BMP BITMAP "game.bmp"
|
||
|
||
WIN_STARTWIN DIALOGEX DISCARDABLE 20, 40, 260, 200
|
||
STYLE DS_MODALFRAME | DS_CENTER | DS_SETFONT | DS_FIXEDSYS | WS_OVERLAPPED | WS_CAPTION | WS_VISIBLE | WS_SYSMENU
|
||
CAPTION "Startup"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
CONTROL "", WIN_STARTWIN_BITMAP, "STATIC", SS_BITMAP | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, 0, 0, 66, 172
|
||
CONTROL "", WIN_STARTWIN_TABCTL, WC_TABCONTROL, WS_CLIPSIBLINGS | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 5, 250, 170
|
||
CONTROL "&Start", WIN_STARTWIN_START, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 154, 180, 48, 14
|
||
CONTROL "&Cancel", WIN_STARTWIN_CANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 207, 180, 48, 14
|
||
|
||
CONTROL "", WIN_STARTWIN_MESSAGES, "EDIT", ES_MULTILINE | ES_READONLY | WS_CHILD | WS_VSCROLL, 0, 0, 32, 32
|
||
END
|
||
WIN_STARTWINPAGE_CONFIG DIALOGEX DISCARDABLE 20, 40, 279, 168
|
||
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD
|
||
CAPTION "Dialog"
|
||
FONT 8, "MS Shell Dlg"
|
||
BEGIN
|
||
CONTROL "&Video mode:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 5, 6, 50, 8
|
||
CONTROL "", IDCVMODE, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 60, 4, 86, 56
|
||
CONTROL "&Fullscreen", IDCFULLSCREEN, "BUTTON", BS_CHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 154, 6, 46, 10
|
||
//#if defined POLYMER && POLYMER != 0
|
||
// CONTROL "&Polymer", IDCPOLYMER, "BUTTON", BS_CHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 203, 6, 40, 10
|
||
//#endif
|
||
CONTROL "Input devices:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 5, 20, 50, 8
|
||
CONTROL "", IDCINPUT, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 60, 19, 86, 56
|
||
CONTROL "&Game:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 5, 35, 100, 8
|
||
CONTROL "", IDCDATA, "LISTBOX", LBS_NOINTEGRALHEIGHT | LBS_USETABSTOPS | LBS_STANDARD | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 226, 43
|
||
|
||
CONTROL "Custom game content &directory:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 5, 90, 160, 8
|
||
CONTROL "", IDCGAMEDIR, "COMBOBOX", CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 10, 99, 226, 156
|
||
CONTROL "&Enable ""autoload"" folder", IDCAUTOLOAD, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 116, 100, 8
|
||
CONTROL "&Always show this window at startup", IDCALWAYSSHOW, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 118, 116, 140, 8
|
||
END
|
||
|
||
IDD_CRASHDIALOG DIALOGEX 0, 0, 415, 308
|
||
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_APPWINDOW
|
||
CAPTION "Demolition Very Fatal Error"
|
||
FONT 8, "MS Shell Dlg", 400, 0, 0x0
|
||
BEGIN
|
||
CONTROL "",IDC_CRASHTAB,"SysTabControl32",WS_TABSTOP,4,4,404,280
|
||
PUSHBUTTON "Save Report to Disk...",IDC_SAVEREPORT,242,289,91,14
|
||
PUSHBUTTON "&Discard Report",IDNO,338,289,70,14
|
||
END
|
||
|
||
IDD_CRASHOVERVIEW DIALOGEX 1, 13, 400, 264
|
||
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE
|
||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||
BEGIN
|
||
EDITTEXT IDC_CRASHINFO,7,126,377,90,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL
|
||
CONTROL "",IDC_PLEASETELLUS,"RichEdit20A",ES_MULTILINE | ES_READONLY,7,50,377,54,WS_EX_TRANSPARENT
|
||
LTEXT "(Optional) To help diagnose the cause of this error, please describe what you were doing when the error occured. If you were playing with custom wads, please also indicate where to obtain them:",IDC_STATIC,7,108,377,16,0,WS_EX_TRANSPARENT
|
||
CONTROL 131,IDC_DEADGUYVIEWER,"Static",SS_BITMAP,345,7,23,26
|
||
CONTROL "",IDC_CRASHHEADER,"RichEdit20A",ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY,18,13,306,25,WS_EX_TRANSPARENT
|
||
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,0,42,407,1
|
||
GROUPBOX "Summary",IDC_STATIC,7,223,377,34
|
||
LTEXT "Static",IDC_CRASHSUMMARY,14,233,363,20
|
||
END
|
||
|
||
IDD_CRASHDETAILS DIALOGEX 0, 0, 400, 164
|
||
STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD
|
||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||
BEGIN
|
||
LTEXT "The error report contains these files:",IDC_STATIC,7,5,119,8
|
||
LTEXT "The selected file contains this information:",IDC_STATIC,7,74,136,8
|
||
RTEXT "Static",IDC_CRASHFILESIZE,337,74,55,8
|
||
LISTBOX IDC_CRASHFILES,7,15,385,53,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
||
CONTROL "",IDC_CRASHFILECONTENTS,"RichEdit20A",ES_MULTILINE | ES_READONLY | WS_BORDER | WS_VSCROLL | WS_TABSTOP,7,83,385,174
|
||
END
|
||
|
||
IDD_ERRORPANE DIALOGEX 0, 0, 190, 28
|
||
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN
|
||
EXSTYLE WS_EX_CONTROLPARENT
|
||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||
BEGIN
|
||
DEFPUSHBUTTON "Quit",IDOK,133,7,50,14
|
||
END
|
||
|
||
|
||
#define FILEVER 1,9,9,9
|
||
#define PRODUCTVER 1,9,9,9
|
||
#define STRFILEVER "2.0.0devel\0"
|
||
#define STRPRODUCTVER "2.0.0devel\0"
|
||
|
||
VS_VERSION_INFO VERSIONINFO
|
||
FILEVERSION FILEVER
|
||
PRODUCTVERSION PRODUCTVER
|
||
FILEFLAGSMASK 0x3fL
|
||
#ifdef _DEBUG
|
||
FILEFLAGS 0x3L
|
||
#else
|
||
FILEFLAGS 0x2L
|
||
#endif
|
||
FILEOS 0x40004L
|
||
FILETYPE 0x1L
|
||
FILESUBTYPE 0x0L
|
||
BEGIN
|
||
BLOCK "StringFileInfo"
|
||
BEGIN
|
||
BLOCK "040904b0"
|
||
BEGIN
|
||
VALUE "FileDescription", "Demolition"
|
||
VALUE "FileVersion", STRFILEVER
|
||
VALUE "InternalName", "Demolition"
|
||
VALUE "LegalCopyright", "Copyright <20> 2019 Christoph Oelckers, Copyright <20> 2018 EDuke32 Developers, 1996, 2003 3D Realms Entertainment"
|
||
VALUE "LegalTrademarks", "Duke Nukem<65> is a Registered Trademark of Gearbox Software, LLC."
|
||
VALUE "OriginalFilename", "demolition.exe"
|
||
VALUE "ProductName", "Demolition"
|
||
VALUE "ProductVersion", STRPRODUCTVER
|
||
END
|
||
END
|
||
BLOCK "VarFileInfo"
|
||
BEGIN
|
||
VALUE "Translation", 0x409, 1200
|
||
END
|
||
END
|
||
|
||
1 24 "manifest.game.xml"
|