-
Notifications
You must be signed in to change notification settings - Fork 5
/
zdl.rc
138 lines (131 loc) · 5.52 KB
/
zdl.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/**********************************************************************
* ZDL!
* Copyright (C) 2005 BioHazard / Vectec Software
***********************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 or any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
***********************************************************************
* zdl.rc : All the resource stuff
**********************************************************************/
#include "zdl.h"
ICO_ICON ICON DISCARDABLE "res\ico_icon.ico"
ICO_SAVE ICON DISCARDABLE "res\ico_save.ico"
ICO_WAD ICON DISCARDABLE "res\ico_wad.ico"
ICO_PATCH ICON DISCARDABLE "res\ico_patch.ico"
ICO_UP ICON DISCARDABLE "res\ico_up.ico"
ICO_DOWN ICON DISCARDABLE "res\ico_down.ico"
BMP_LOGO BITMAP DISCARDABLE "res\bmp_logo.bmp"
DLG_MAIN DIALOG DISCARDABLE 0,0,180,172
STYLE DS_CENTER|WS_MINIMIZEBOX|WS_POPUP|WS_CAPTION|WS_SYSMENU
CAPTION "ZDL 3.0d"
FONT 8,"MS Sans Serif"
BEGIN
LTEXT "Players",IDC_STATIC,0,152,44,8
COMBOBOX LST_PLAYERS,0,160,44,91,CBS_DROPDOWNLIST|WS_VSCROLL
LTEXT "Frag Limit",IDC_STATIC,44,152,44,8
EDITTEXT EDT_FRAGS,44,160,44,12,ES_AUTOHSCROLL|NOT WS_TABSTOP
LTEXT "DMFLAGS",IDC_STATIC,92,152,44,8
EDITTEXT EDT_DMF,92,160,44,12,ES_AUTOHSCROLL|ES_NUMBER|NOT WS_TABSTOP
LTEXT "DMFLAGS2",IDC_STATIC,136,152,44,8
EDITTEXT EDT_DMF2,136,160,44,12,ES_AUTOHSCROLL|ES_NUMBER|NOT WS_TABSTOP
LTEXT "Game Mode",IDC_STATIC,0,132,88,8
COMBOBOX LST_GAME,0,140,88,40,CBS_DROPDOWNLIST|WS_VSCROLL
LTEXT "Host IP Address",IDC_STATIC,92,132,88,8
EDITTEXT EDT_HOST,92,140,88,12,ES_AUTOHSCROLL|NOT WS_TABSTOP
PUSHBUTTON "Exit",BTN_EXIT,0,116,40,12,NOT WS_TABSTOP
PUSHBUTTON "ZDL",BTN_ZDL,44,116,20,12,NOT WS_TABSTOP
PUSHBUTTON "V",BTN_PANEL,116,116,20,12,BS_ICON|NOT WS_TABSTOP
DEFPUSHBUTTON "Launch",BTN_LAUNCH,140,116,40,12,NOT WS_TABSTOP
LTEXT "Extra Command-line Arguments",IDC_STATIC,0,92,180,8
EDITTEXT EDT_EXTRA,0,100,180,12,ES_AUTOHSCROLL|NOT WS_TABSTOP
LTEXT "Warp",IDC_STATIC,92,72,44,8
COMBOBOX LST_WARP,92,80,44,96,CBS_DROPDOWN|CBS_UPPERCASE|CBS_AUTOHSCROLL|WS_VSCROLL
LTEXT "Skill",IDC_STATIC,136,72,44,8
COMBOBOX LST_SKILL,136,80,44,56,CBS_DROPDOWNLIST|WS_VSCROLL
LTEXT "IWAD",IDC_STATIC,92,20,88,8
LISTBOX LST_IWAD,92,28,88,44,LBS_NOINTEGRALHEIGHT|WS_VSCROLL
LTEXT "Source Port",IDC_STATIC,92,0,88,8
COMBOBOX LST_PORT,92,8,88,88,CBS_DROPDOWNLIST|WS_VSCROLL
PUSHBUTTON "Add",BTN_ADD,0,80,24,12,NOT WS_TABSTOP
PUSHBUTTON "Rem",BTN_REM,24,80,24,12,NOT WS_TABSTOP
PUSHBUTTON "^",BTN_UP,56,80,16,12,BS_ICON|NOT WS_TABSTOP
PUSHBUTTON "v",BTN_DWN,72,80,16,12,BS_ICON|NOT WS_TABSTOP
LTEXT "External Files",IDC_STATIC,0,0,88,8
LISTBOX LST_PWAD,0,8,88,72,LBS_NOINTEGRALHEIGHT|WS_VSCROLL,WS_EX_ACCEPTFILES
END
DLG_OPTIONS DIALOG DISCARDABLE 0,0,172,130
STYLE WS_POPUP|WS_CAPTION
CAPTION "ZDL Configuration"
FONT 8,"MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",BTN_OK,60,116,52,12
LTEXT "IWADs",IDC_STATIC,88,32,84,8
LISTBOX LST_IWAD,88,40,84,60,LBS_NOINTEGRALHEIGHT|WS_VSCROLL
PUSHBUTTON "^",BTN_IUP,88,100,16,12,BS_ICON
PUSHBUTTON "v",BTN_IDWN,104,100,16,12,BS_ICON
PUSHBUTTON "Add",BTN_IADD,124,100,24,12
PUSHBUTTON "Rem",BTN_IREM,148,100,24,12
LTEXT "Source Ports",IDC_STATIC,0,32,84,8
LISTBOX LST_PORT,0,40,84,60,LBS_NOINTEGRALHEIGHT | WS_VSCROLL
PUSHBUTTON "^",BTN_UP,0,100,16,12,BS_ICON
PUSHBUTTON "v",BTN_DWN,16,100,16,12,BS_ICON
PUSHBUTTON "Add",BTN_ADD,36,100,24,12
PUSHBUTTON "Rem",BTN_REM,60,100,24,12
LTEXT "Always add these args",IDC_STATIC,0,0,172,8
EDITTEXT EDT_EXTRA,0,8,172,12,ES_AUTOHSCROLL
CONTROL "Launch *.ZDL files transparently",CHK_LAUNCH,"Button",BS_AUTOCHECKBOX,0,20,120,8
PUSHBUTTON "Associations",BTN_ZDL,124,20,48,12
END
DLG_FILE DIALOG DISCARDABLE 0,0,164,58
STYLE WS_POPUP|WS_CAPTION
CAPTION "New Item"
FONT 8,"MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",BTN_OK,116,44,48,12
PUSHBUTTON "Cancel",BTN_EXIT,0,44,47,12
LTEXT "Path to File",IDC_STATIC,0,20,164,8
EDITTEXT EDT_PATH,0,28,152,12,ES_AUTOHSCROLL
PUSHBUTTON "...",BTN_BROWSE,152,28,12,12
LTEXT "Name",IDC_STATIC,0,0,164,8
EDITTEXT EDT_NAME,0,8,164,12,ES_AUTOHSCROLL
END
DLG_ASSOC DIALOG DISCARDABLE 0,0,96,41
STYLE WS_POPUP|WS_CAPTION
CAPTION "File Associations"
FONT 8,"MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",BTN_OK,24,28,48,12
CONTROL "ZDL Saved configs (*.zdl)",CHK_ZDL,"Button",BS_AUTOCHECKBOX,0,0,96,8
CONTROL "WAD Files (*.wad)",CHK_WAD,"Button",BS_AUTOCHECKBOX,0,8,96,8
CONTROL "Patch Files (*.deh,*.bex)",CHK_DEH,"Button",BS_AUTOCHECKBOX,0,16,96,8
END
DLG_ABOUT DIALOG 0,0,172,65
STYLE WS_POPUP|WS_CAPTION
CAPTION "About ZDL"
FONT 8,"MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",BTN_OK,132,48,36,12
CONTROL BMP_LOGO,IDC_STATIC,"Static",SS_BITMAP,0,0,68,33,WS_EX_DLGMODALFRAME
LTEXT "ZDL V3.0d\nCopyright (c) 2005 BioHazard\nhttp://biohazard.drdteam.org/",IDC_STATIC,72,4,96,24
LTEXT "Greetz to Risen, Enjay, DRDTeam.org, ZDoom.org, #DoomArmory + #DMClub!\nYou guys rock! Enjoy this! --Bio",IDC_STATIC,4,36,124,24
END
MNU_MENU MENU DISCARDABLE BEGIN
POPUP "Menu" BEGIN
POPUP "Action" BEGIN
MENUITEM "Show Command Line",MNU_CMD
MENUITEM "Clear PWAD list",MNU_PWAD
MENUITEM "Clear All Fields",MNU_CLEAR
END
MENUITEM SEPARATOR
MENUITEM "Load Config",MNU_LOAD
MENUITEM "Save Config",MNU_SAVE
MENUITEM SEPARATOR
MENUITEM "Options",MNU_OPTIONS
MENUITEM "About",MNU_ABOUT
END
END