forked from Karasiq/MPQ-Repacker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
USettingsForm.h
47 lines (46 loc) · 1.48 KB
/
USettingsForm.h
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
//---------------------------------------------------------------------------
#ifndef USettingsFormH
#define USettingsFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <CheckLst.hpp>
#include "UPluginForm.h"
//---------------------------------------------------------------------------
class TfrmSettings : public TForm
{
__published: // IDE-managed Components
TComboBox *cbbCompression;
TLabel *lblCompression;
TLabel *lblAnalyze;
TCheckListBox *chklstAnalyze;
TCheckBox *chkMapRename;
TCheckBox *chkInternalListfile;
TButton *btnOk;
TButton *btnCancel;
void __fastcall btnOkClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
private: // User declarations
void __fastcall SaveMiscSettings();
void __fastcall LoadMiscSettings();
public: // User declarations
__fastcall TfrmSettings(TComponent* Owner);
void AdvSettingsFromFormToVars();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSettings *frmSettings;
#define ANALYZE_W3_BIN 0
#define ANALYZE_IMPLIST 1
#define ANALYZE_JSCRIPT 2
#define ANALYZE_MDX 3
#define ANALYZE_TXT 4
#define ANALYZE_SLK 5
#define ANALYZE_LISTFILE 6
extern bool bAnalyze[7];
extern bool bDontUseInternalListfile;
extern bool bMapRename;
extern TMPQCompression nCompression;
//---------------------------------------------------------------------------
#endif