-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathEffEdit.h
125 lines (116 loc) · 3.35 KB
/
EffEdit.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
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
#if !defined(AFX_EFFEDIT_H__26DB259A_FAB2_4B68_A981_6EDCD5FB29F3__INCLUDED_)
#define AFX_EFFEDIT_H__26DB259A_FAB2_4B68_A981_6EDCD5FB29F3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EffEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEffEdit dialog
class CEffEdit : public CDialog
{
// Construction
public:
CEffEdit(CWnd* pParent = NULL); // standard constructor
void NewEff();
void SetLimitedEffect(int arg);
void SetDefaultDuration(int arg);
// Dialog Data
//{{AFX_DATA(CEffEdit)
enum { IDD = IDD_EFFEDIT };
CEdit m_text2_control;
CComboBox m_sectype_control;
CComboBox m_school_control;
CComboBox m_resist_control;
CEdit m_text_control;
CComboBox m_efftarget_control;
CComboBox m_timing_control;
CComboBox m_stype_control;
CComboBox m_effopcode_control;
CString m_durationlabel;
CString m_param1;
CString m_param2;
BYTE m_param1b1;
BYTE m_param1b2;
BYTE m_param1b3;
BYTE m_param1b4;
BYTE m_param2b1;
BYTE m_param2b2;
BYTE m_param2b3;
BYTE m_param2b4;
CString m_text;
CString m_text2;
//}}AFX_DATA
CString m_idsname;
CString m_opcode;
int m_par_type;
int m_hexadecimal;
int m_limitedeffect;
int m_defduration;
CIntMapInt m_efftext;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEffEdit)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
CString filepath;
void RefreshDialog();
void UpdateTooltip();
void Explode(int *boxids, int parid, int buttonid);
void SaveEff(int save);
afx_msg void DefaultKillfocus();
// Generated message map functions
//{{AFX_MSG(CEffEdit)
virtual BOOL OnInitDialog();
afx_msg void OnLoad();
afx_msg void OnLoadex();
afx_msg void OnSaveas();
afx_msg void OnKillfocusEffopcode();
afx_msg void OnKillfocusPar1();
afx_msg void OnKillfocusPar2();
afx_msg void OnSelchangeEffopcode();
afx_msg void OnParUndefined();
afx_msg void OnParColor();
afx_msg void OnParIds();
afx_msg void OnParDamage();
afx_msg void OnExplode1();
afx_msg void OnExplode2();
afx_msg void OnKillfocusPar1b1();
afx_msg void OnKillfocusPar1b2();
afx_msg void OnKillfocusPar1b3();
afx_msg void OnKillfocusPar1b4();
afx_msg void OnKillfocusPar2b1();
afx_msg void OnKillfocusPar2b2();
afx_msg void OnKillfocusPar2b3();
afx_msg void OnKillfocusPar2b4();
afx_msg void OnBrowse();
afx_msg void OnBrowse2();
afx_msg void OnNew();
afx_msg void OnCheck();
afx_msg void OnSave();
afx_msg void OnFileTbg();
afx_msg void OnFileTp2();
afx_msg void OnKillfocusText();
afx_msg void OnPlay();
afx_msg void OnBrowse3();
afx_msg void OnBrowse4();
afx_msg void OnToolsDuration();
afx_msg void OnKillfocusText2();
afx_msg void OnToolsIdsbrowser();
afx_msg void OnDefaultKillfocus();
afx_msg void OnHexadecimal();
afx_msg void OnMirror();
afx_msg void OnDiff();
afx_msg void OnParAnim();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EFFEDIT_H__26DB259A_FAB2_4B68_A981_6EDCD5FB29F3__INCLUDED_)