Debian Codegraph @

editor/levelkeypad.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #if !defined(AFX_LEVELKEYPAD_H__01EF05C4_3D9C_11D2_A13A_0060089A8026__INCLUDED_)
20 #define AFX_LEVELKEYPAD_H__01EF05C4_3D9C_11D2_A13A_0060089A8026__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // levelkeypad.h : header file
26 //
27
28 #include "keypaddialog.h"
29 #include "RoomListCombo.h"
30 #include "ObjectListCombo.h"
31 #include "TriggerListCombo.h"
32
33 /////////////////////////////////////////////////////////////////////////////
34 // levelkeypad dialog
35
36 class levelkeypad : public CKeypadDialog {
37 int m_current_goal;
38 int m_current_item;
39 void DoGoalFlagToggle(int flag);
40 bool ValidateCurrentItem();
41 bool ValidateCurrentGoal();
42 void SetAmbCharVal(char i, char item, int n_id);
43 void SetAmbType(int i, int n_id);
44
45 // Construction
46 public:
47 levelkeypad(CWnd *pParent = NULL); // standard constructor
48 void UpdateKeypad(int mask);
49
50 // Dialog Data
51 //{{AFX_DATA(levelkeypad)
52 enum { IDD = IDD_LEVELKEYPAD };
53 CTriggerListCombo m_trigger_combo;
54 CObjectListCombo m_object_combo;
55 CRoomListCombo m_room_combo;
56 //}}AFX_DATA
57
58 // Overrides
59 // ClassWizard generated virtual function overrides
60 //{{AFX_VIRTUAL(levelkeypad)
61 protected:
62 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
63 //}}AFX_VIRTUAL
64
65 // Implementation
66 protected:
67 // Generated message map functions
68 //{{AFX_MSG(levelkeypad)
69 afx_msg void OnPaint();
70 afx_msg void OnKillfocusLevelGravityEdit();
71 virtual BOOL OnInitDialog();
72 afx_msg void OnLevelPrevGoalButton();
73 afx_msg void OnLevelNextGoalButton();
74 afx_msg void OnLevelNewGoalButton();
75 afx_msg void OnKillfocusLevelGoalNameEdit();
76 afx_msg void OnKillfocusLevelGoalLocNameEdit();
77 afx_msg void OnKillfocusLevelGoalDescEdit();
78 afx_msg void OnLevelGoalNewItemButton();
79 afx_msg void OnLevelGoalNextItemButton();
80 afx_msg void OnLevelGoalPrevItemButton();
81 afx_msg void OnLevelGoalDeleteItemButton();
82 afx_msg void OnLevelGoalRoomItemRadio();
83 afx_msg void OnLevelGoalCellItemRadio();
84 afx_msg void OnLevelGoalObjItemRadio();
85 afx_msg void OnGoalAutoCompleteCheck();
86 afx_msg void OnLevelGoalSecGoalCheck();
87 afx_msg void OnLevelGoalEnabledCheck();
88 afx_msg void OnLevelGoalCompletedCheck();
89 afx_msg void OnLevelGoalTlgCheck();
90 afx_msg void OnLevelGoalGdklCheck();
91 afx_msg void OnLevelGoalNlbCheck();
92 afx_msg void OnLevelGoalPasteObjrefItemButton();
93 afx_msg void OnLevelGoalGotoItemButton();
94 afx_msg void OnLevelDeleteGoalButton();
95 afx_msg void OnKillfocusLevelGoalItemEdit();
96 afx_msg void OnKillfocusLevelGoalPriorityEdit1();
97 afx_msg void OnLevelGoalEndLevelCheck();
98 afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
99 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
100 afx_msg void OnSize(UINT nType, int cx, int cy);
101 afx_msg void OnSelendokAmbType1();
102 afx_msg void OnSelendokAmbType2();
103 afx_msg void OnSelendokAmbType3();
104 afx_msg void OnSelendokAmbType4();
105 afx_msg void OnSelendokAmbType5();
106 afx_msg void OnSelendokAmbType6();
107 afx_msg void OnKillfocusAmbMax1();
108 afx_msg void OnKillfocusAmbMax2();
109 afx_msg void OnKillfocusAmbMax3();
110 afx_msg void OnKillfocusAmbMax4();
111 afx_msg void OnKillfocusAmbMax5();
112 afx_msg void OnKillfocusAmbMax6();
113 afx_msg void OnKillfocusAmbMin1();
114 afx_msg void OnKillfocusAmbMin2();
115 afx_msg void OnKillfocusAmbMin3();
116 afx_msg void OnKillfocusAmbMin4();
117 afx_msg void OnKillfocusAmbMin5();
118 afx_msg void OnKillfocusAmbMin6();
119 afx_msg void OnKillfocusAmbNGroups1();
120 afx_msg void OnKillfocusAmbNGroups2();
121 afx_msg void OnKillfocusAmbNGroups3();
122 afx_msg void OnKillfocusAmbNGroups4();
123 afx_msg void OnKillfocusAmbNGroups5();
124 afx_msg void OnKillfocusAmbNGroups6();
125 afx_msg void OnAmbOutside1();
126 afx_msg void OnAmbOutside2();
127 afx_msg void OnAmbOutside3();
128 afx_msg void OnAmbOutside4();
129 afx_msg void OnAmbOutside5();
130 afx_msg void OnAmbOutside6();
131 afx_msg void OnKillfocusLevelGoalCompletionEdit();
132 afx_msg void OnLgActivateRadio();
133 afx_msg void OnLgEnterRadio();
134 afx_msg void OnLgDestroyedRadio();
135 afx_msg void OnLgPpwCollideRadio();
136 afx_msg void OnLgLcRadio();
137 afx_msg void OnLgDallasRadio();
138 afx_msg void OnTriggerRadio();
139 afx_msg void OnLevelGoalMineRadio();
140 afx_msg void OnSelendokLevelgoalRoomCombo();
141 afx_msg void OnSelendokLevelgoalobjectCombo();
142 afx_msg void OnSelendokLevelgoaltriggerCombo();
143 afx_msg void OnKillfocusEdit57();
144 afx_msg void OnLevelCeilingEverywhere();
145 afx_msg void OnKillfocusLevelCeilingEdit();
146 afx_msg void OnSelendokFfosCombo();
147 afx_msg void OnSelendokBgosCombo();
148 afx_msg void OnKillfocusFft1Edit();
149 afx_msg void OnKillfocusFft2Edit();
150 afx_msg void OnSelendokFft1Combo();
151 afx_msg void OnSelendokFft2Combo();
152 afx_msg void OnKillfocusFixedFft1Edit();
153 afx_msg void OnSetfocusFft1Combo();
154 afx_msg void OnSetfocusFft2Combo();
155 afx_msg void OnLevelPiw();
156 afx_msg void OnKillfocusFft3Edit();
157 afx_msg void OnSelendokFft3Combo();
158 afx_msg void OnSetfocusFft3Combo();
159 //}}AFX_MSG
160 DECLARE_MESSAGE_MAP()
161 private:
162 void UpdateDialog();
163 };
164
165 //{{AFX_INSERT_LOCATION}}
166 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
167
168 #endif // !defined(AFX_LEVELKEYPAD_H__01EF05C4_3D9C_11D2_A13A_0060089A8026__INCLUDED_)