-
Notifications
You must be signed in to change notification settings - Fork 7
/
DungeonViewer.rc
305 lines (256 loc) · 8.93 KB
/
DungeonViewer.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,1,0,0
PRODUCTVERSION 1,1,0,0
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Pea"
VALUE "FileDescription", "Dungeon Viewer"
VALUE "FileVersion", "1.1.0.0"
VALUE "InternalName", "Dungeon Viewer"
VALUE "LegalCopyright", "Copyright (C) 2017"
VALUE "OriginalFilename", "DungeonViewer.exe"
VALUE "ProductName", "Dungeon Viewer"
VALUE "ProductVersion", "1.1.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_PREFERENCES DIALOGEX 0, 0, 269, 224
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Preferences"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,54,198,50,14
PUSHBUTTON "Cancel",IDCANCEL,162,198,50,14
LTEXT "Note: You must restart for .DAT changes to take affect.",IDC_STATIC,36,66,192,12
EDITTEXT IDC_PORTALDATPATH,12,18,192,12,ES_AUTOHSCROLL | ES_READONLY | WS_DISABLED
LTEXT "Portal.DAT file:",IDC_STATIC,12,6,150,8
EDITTEXT IDC_CELLDATPATH,12,48,192,12,ES_AUTOHSCROLL | ES_READONLY | WS_DISABLED
LTEXT "Cell.DAT file:",IDC_STATIC,12,36,150,8
PUSHBUTTON "Browse",IDC_BROWSEPORTAL,204,18,54,12,BS_CENTER | WS_DISABLED
PUSHBUTTON "Browse",IDC_BROWSECELL,204,48,54,12,WS_DISABLED
EDITTEXT IDC_TCEDIT,162,84,54,12,ES_AUTOHSCROLL | ES_READONLY
RTEXT "Text Color:",IDC_STATIC,108,84,48,12
PUSHBUTTON "Choose",IDC_CHOOSETC,216,84,42,12
EDITTEXT IDC_FCEDIT,162,102,54,12,ES_AUTOHSCROLL | ES_READONLY
RTEXT "Fill Color:",IDC_STATIC,108,102,48,12
PUSHBUTTON "Choose",IDC_CHOOSEFC,216,102,42,12
CONTROL "Render Stats",IDC_RENDERSTATS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,84,60,12
CONTROL "Render Objects",IDC_RENDEROBJECTS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,96,66,12
CONTROL "Render Lights",IDC_RENDERLIGHTS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,108,60,12
CONTROL "No Sleep",IDC_NOSLEEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,138,60,12
COMBOBOX IDC_FILLMODE,162,120,84,52,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
RTEXT "Fill Mode:",IDC_STATIC,114,120,42,12
RTEXT "Multisample:",IDC_STATIC,108,138,48,12
COMBOBOX IDC_MULTISAMPLE,162,138,84,158,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
CONTROL "Except Outside Cells",IDC_FULLBRIGHT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,36,120,78,12
CONTROL "",IDC_LIGHTMOD,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,18,174,126,12
LTEXT "Lighting range multiplier:",IDC_STATIC,24,162,84,12
END
IDD_DEBUG DIALOGEX 0, 0, 271, 210
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CLIENTEDGE
CAPTION "Debug Output"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,6,192,66,14
PUSHBUTTON "Save to File",IDC_SAVETOFILE,102,192,66,14
EDITTEXT IDC_OUTPUT,7,7,257,179,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL | WS_HSCROLL,WS_EX_STATICEDGE
PUSHBUTTON "Clear",IDC_CLEAR,198,192,66,14
END
IDD_SELECTDUNGEON DIALOGEX 0, 0, 304, 234
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Select Dungeon"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "View",IDC_VIEWDUNGEON,90,210,50,14
PUSHBUTTON "Cancel",IDCANCEL,156,210,50,14
LISTBOX IDC_DUNGEONLIST,6,6,288,174,LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_BLOCKID,6,186,66,12,ES_AUTOHSCROLL | ES_READONLY
EDITTEXT IDC_BLOCKNAME,78,186,138,12,ES_AUTOHSCROLL
PUSHBUTTON "Set",IDC_SETNAME,216,186,36,12
END
IDD_CREDITS DIALOGEX 0, 0, 337, 199
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Dungeon Viewer Credits"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,276,168,50,14
CONTROL IDC_BROWSECELL,IDC_STATIC,"Static",SS_BITMAP | SS_REALSIZEIMAGE | WS_BORDER,7,7,321,137
LTEXT "Dungeon Viewer was engineered by Sean Hunczak. Most work was done prior to 2004. This software has been updated for ToD compatibility.\n\nEmail: sean.hunczak@gmail.com",IDC_STATIC,12,150,234,42
END
IDD_SELECTDUNGEONSPLASH DIALOGEX 0, 0, 242, 39
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Please wait"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
CTEXT "Generating a list of dungeons",IDC_STATIC,48,6,156,9
CONTROL "",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH | WS_BORDER,7,22,228,6
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_MAINICON ICON "client.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDM_MAINMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "View &Debug", ID_FILE_VIEWDEBUG
MENUITEM "&Preferences", ID_FILE_PREFERENCES
MENUITEM "E&xit", ID_FILE_EXIT
END
POPUP "&Dungeon"
BEGIN
MENUITEM "&View Dungeon", ID_VIEW_DUNGEON
END
POPUP "&Help"
BEGIN
MENUITEM "&Credits", ID_HELP_CREDITS
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_PREFERENCES, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 262
TOPMARGIN, 7
BOTTOMMARGIN, 217
END
IDD_DEBUG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 264
TOPMARGIN, 7
BOTTOMMARGIN, 203
END
IDD_SELECTDUNGEON, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 297
TOPMARGIN, 7
BOTTOMMARGIN, 227
END
IDD_CREDITS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 330
TOPMARGIN, 7
BOTTOMMARGIN, 192
END
IDD_SELECTDUNGEONSPLASH, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 235
TOPMARGIN, 7
BOTTOMMARGIN, 32
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDA_HOTKEYS ACCELERATORS
BEGIN
"T", ID_RUNTEST, VIRTKEY, CONTROL, NOINVERT
"S", ID_TAKESCREENSHOT, VIRTKEY, CONTROL, NOINVERT
"D", ID_VIEWDEBUG, VIRTKEY, CONTROL, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_CREDITS BITMAP "dvpic.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_CREDITS AFX_DIALOG_LAYOUT
BEGIN
0
END
IDD_PREFERENCES AFX_DIALOG_LAYOUT
BEGIN
0
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED