Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[50c14b]: options.h Maximize Restore History

Download this file

options.h    286 lines (257 with data), 9.0 kB

  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
#if !defined(AFX_OPTIONS_H__64B3DF66_8C1A_4F69_B7EE_DE98E3A99F55__INCLUDED_)
#define AFX_OPTIONS_H__64B3DF66_8C1A_4F69_B7EE_DE98E3A99F55__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// options.h : header file
//
#define WEI_NOHEADER 1
#define WEI_NOFROM 2
#define WEI_NOCOM 4
#define WEI_TEXT 8
#define WEI_GAMETYPE 16
#define WEI_LOGGING 0x8000
#define WEI_USELANG 0x10000
#define NOREFCHK 1 //string ref
#define NOITEMCH 2 //broken item reference
#define NORESCHK 4 //icon resource
#define NOATTRCH 8 //item attribute, alignment, class, race, kit
#define NOUSECHK 16 //usability
#define NOTYPECH 32 //item type
#define NOMUSCH 64 //music reference
#define NOEXTCHK 128 //extended header
#define NOWPROCH 256 //weapon proficiency
#define IGNORECHITIN 512 //skip chitin.key files, check only override
#define NOSTATCH 1024 //alignment, stats, level
#define NOOTHERCH 2048 //other less important attributes in main header
#define NOANIMCHK 4096 //animation id
#define WARNINGS 8192 //warns about empty references
#define DROPPABLE 16384 //skip undroppable items
#define SKIPEXT 32768 //skip dead extended headers
#define SKIPSOA 65536 //skip original soa items (from items.bif)
#define NODLGCHK 0x20000 //skip dialog checks
#define NODUPLO 0x40000 //duplicate items in chitin.key
#define DOSCRIPTS 0x80000 //don't scan scripts for duplicate store items
#define NOMISS 0x100000 //don't scream about missing files in chitin.key
#define NOSCRIPT 0x200000 //don't check script/dialog references
#define NOFEATCHK 0x400000 //check opcodes/feature blocks
#define NOVARCHK 0x800000 //no variable checks (death variable, global, local)
#define NOSPLCHK 0x1000000 //no spell reference checks
#define NOCRECHK 0x2000000 //no creature reference checks
#define NOSTORCH 0x4000000 //no store reference checks
#define NOCUT 0x8000000 //no cutscene check
#define NOSTRUCT 0x10000000//no structure error listing
#define NODVARCH 0x20000000//no death variable checks
#define NOSLOTCH 0x40000000//no weapon slot checks
#define NODUR 0x80000000//no duration/timing checks
#define RECYCLE 1 //reuse deleted tlk entries
#define TLKCHANGE 2 //change tlk references
#define RESOLVE 4 //resolve resource names (lookup tlk)
#define DACHANGE 8 //change 2da/ids references
#define INDENT 16 //large indent
#define SELECTION 32 //highlight first bad line
#define REMBAF 64 //remove temporary scripts
#define LASTOPENED 128
#define DECOMPRESS 256 //decompress sav files in place
#define DATAFOLDER 512 //decompress cbf files in place
#define NOCHECK 1024
#define FORCESTEREO 2048 //force stereo sound
#define SORTEFF 4096 //sort effects
#define NUMEFF 8192 //number effects
#define EATSPACE 16384 //ignore spaces
#define WEIDUSTRING 32768 //weidu style strings
#define IDUSTRING 65536 //idu style strings
#define PREVIEW 0x20000 //preview selection
#define OCTREE 0x40000 //octree or dl1 color reduction
#define DITHER 0x80000 //dithering (or no), only in dl1
#define W98 0x100000//w98 compatible mode (sound)
#define RESLOC 0x200000//don't choke on bad bifs
#define USEIAP 0x400000//use zip compression instead of iap
#define LARGEWINDOW 0x800000//larger graphical window for areas
#define CENTER 0x1000000//center vertex
#define IGNOREOVERRIDE 0x2000000//ignores override when exploding chitin.key
#define CHECKSIZE 0x4000000//ignore filesizes
#define IGNORECD 0x8000000//ignore cd locations in game cfg
#define INTERNALDECOMP 0x10000000//use internal decompiler
#define INTERNALCOMPILER 0x20000000//use internal compiler
#define FORCENEW 0x40000000//force new strrefs
#define KEEPSHADOW 0x80000000//keep shadow palette entry in place
/////////////////////////////////////////////////////////////////////////////
// Coptions dialog
class Coptions : public CDialog
{
// Construction
public:
Coptions(CWnd* pParent = NULL); // standard constructor
protected:
CToolTipCtrl m_tooltip;
// Dialog Data
//{{AFX_DATA(Coptions)
enum { IDD = IDD_CHECK };
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Coptions)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void Refresh();
// Generated message map functions
//{{AFX_MSG(Coptions)
virtual BOOL OnInitDialog();
afx_msg void OnItemref();
afx_msg void OnAttr();
afx_msg void OnStrref();
afx_msg void OnIconchk();
afx_msg void OnUsability();
afx_msg void OnItemtype();
afx_msg void OnMplus();
afx_msg void OnExthead();
afx_msg void OnAllset();
afx_msg void OnAllunset();
afx_msg void OnNochitin();
afx_msg void OnWprof();
afx_msg void OnStatr();
afx_msg void OnOther();
afx_msg void OnAnim();
afx_msg void OnWarn();
afx_msg void OnNospec();
afx_msg void OnSkipext();
afx_msg void OnSoa();
afx_msg void OnDlgchk();
afx_msg void OnDuplo();
afx_msg void OnScript();
afx_msg void OnMissing();
afx_msg void OnFeature();
afx_msg void OnScanvariables();
afx_msg void OnVariables();
afx_msg void OnSpellref();
afx_msg void OnCreref();
afx_msg void OnStoreref();
afx_msg void OnSkipdvar();
afx_msg void OnStruct();
afx_msg void OnCheckscript();
afx_msg void OnNocut();
afx_msg void OnSlot();
afx_msg void OnDuration();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CEditOpt dialog
class CEditOpt : public CDialog
{
// Construction
public:
CEditOpt(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CEditOpt)
enum { IDD = IDD_EDIT };
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEditOpt)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
void Refresh();
// Generated message map functions
//{{AFX_MSG(CEditOpt)
virtual BOOL OnInitDialog();
afx_msg void OnTlkchange();
afx_msg void On2dachange();
afx_msg void OnRecycle();
afx_msg void OnResolve();
afx_msg void OnAllset();
afx_msg void OnAllunset();
afx_msg void OnIndent();
afx_msg void OnSelection();
afx_msg void OnRembaf();
afx_msg void OnCwdbaf();
afx_msg void OnDecompress();
afx_msg void OnNocheck();
afx_msg void OnDatafolder();
afx_msg void OnStereo();
afx_msg void OnSorteffect();
afx_msg void OnEffnumber();
afx_msg void OnEatspace();
afx_msg void OnWeidustr();
afx_msg void OnIdustr();
afx_msg void OnPreview();
afx_msg void OnOctree();
afx_msg void OnDither();
afx_msg void OnW98();
afx_msg void OnWeidu();
afx_msg void OnZip();
afx_msg void OnLargeWindow();
afx_msg void OnCenter();
afx_msg void OnOverride();
afx_msg void OnSizecheck();
afx_msg void OnCd();
afx_msg void OnIntdecomp();
afx_msg void OnIntcomp();
afx_msg void OnForcenew();
afx_msg void OnShadow();
afx_msg void OnKillfocusWidth();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
///////////////////////////
// WeiDUOpt.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CWeiDUOpt dialog
class CWeiDUOpt : public CDialog
{
// Construction
public:
CWeiDUOpt(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWeiDUOpt)
enum { IDD = IDD_WEIDU };
CComboBox m_language_control;
CButton m_openfile;
CString m_command;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWeiDUOpt)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
void FillPath(CComboBox &box);
void Refresh();
// Generated message map functions
//{{AFX_MSG(CWeiDUOpt)
afx_msg void OnKillfocusParam();
afx_msg void OnFlag1();
afx_msg void OnFlag2();
afx_msg void OnFlag3();
afx_msg void OnFlag4();
afx_msg void OnOpenfile();
virtual BOOL OnInitDialog();
afx_msg void OnLog();
afx_msg void OnKillfocusDecompiled();
afx_msg void OnFlag5();
afx_msg void OnKillfocusLanguage();
afx_msg void OnUseLang();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OPTIONS_H__64B3DF66_8C1A_4F69_B7EE_DE98E3A99F55__INCLUDED_)