Debian Codegraph @

editor/matcenkeypad.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_MATCENKEYPAD_H__01EF05C6_3D9C_11D2_A13A_0060089A8026__INCLUDED_)
20 #define AFX_MATCENKEYPAD_H__01EF05C6_3D9C_11D2_A13A_0060089A8026__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // matcenkeypad.h : header file
26 //
27
28 #include "keypaddialog.h"
29 #include "ObjectListCombo.h"
30 #include "RoomListCombo.h"
31
32 /////////////////////////////////////////////////////////////////////////////
33 // matcenkeypad dialog
34
35 class matcenkeypad : public CKeypadDialog {
36 // Construction
37 public:
38 matcenkeypad(CWnd *pParent = NULL); // standard constructor
39
40 // Dialog Data
41 //{{AFX_DATA(matcenkeypad)
42 enum { IDD = IDD_MATCENKEYPAD };
43 // NOTE: the ClassWizard will add data members here
44 //}}AFX_DATA
45
46 // Overrides
47 // ClassWizard generated virtual function overrides
48 //{{AFX_VIRTUAL(matcenkeypad)
49 protected:
50 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
51 //}}AFX_VIRTUAL
52
53 void UpdateDialog();
54
55 // Implementation
56 protected:
57 int m_matcen_id;
58 void EnableFields(bool f_enable);
59 void EnableSpawnFields(int num_enabled);
60 void EnableProdFields(int num_enabled);
61
62 CObjectListCombo m_object_combo;
63 CRoomListCombo m_room_combo;
64
65 // Generated message map functions
66 //{{AFX_MSG(matcenkeypad)
67 afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
68 afx_msg void OnSize(UINT nType, int cx, int cy);
69 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
70 afx_msg void OnKillfocusMatEffectPreprodTimeEdit();
71 afx_msg void OnSelendokMatProdEffectCombo();
72 afx_msg void OnSelendokMatProdSoundCombo();
73 afx_msg void OnSelendokMatDisabledSoundCombo();
74 afx_msg void OnSelendokMatEnabledSoundCombo();
75 afx_msg void OnMatScRadio();
76 afx_msg void OnMatWpvRadio();
77 afx_msg void OnMatWpnRadio();
78 afx_msg void OnMatApnRadio();
79 afx_msg void OnMatRandomRadio();
80 afx_msg void OnMatOrderedRadio();
81 afx_msg void OnMatEnabledCheck();
82 afx_msg void OnKillfocusProdRateMultiEdit();
83 afx_msg void OnKillfocusMaxAliveChildrenEdit();
84 afx_msg void OnSelendokMatProd0Combo();
85 afx_msg void OnSelendokMatProd1Combo();
86 afx_msg void OnSelendokMatProd2Combo();
87 afx_msg void OnSelendokMatProd3Combo();
88 afx_msg void OnSelendokMatProd4Combo();
89 afx_msg void OnSelendokMatProd5Combo();
90 afx_msg void OnSelendokMatProd6Combo();
91 afx_msg void OnSelendokMatProd7Combo();
92 afx_msg void OnKillfocusMatProd0QuatityEdit();
93 afx_msg void OnKillfocusMatProd1QuatityEdit();
94 afx_msg void OnKillfocusMatProd2QuatityEdit();
95 afx_msg void OnKillfocusMatProd3QuatityEdit();
96 afx_msg void OnKillfocusMatProd4QuatityEdit();
97 afx_msg void OnKillfocusMatProd5QuatityEdit();
98 afx_msg void OnKillfocusMatProd6QuatityEdit();
99 afx_msg void OnKillfocusMatProd7QuatityEdit();
100 afx_msg void OnKillfocusMatProd0SecEdit();
101 afx_msg void OnKillfocusMatProd1SecEdit();
102 afx_msg void OnKillfocusMatProd2SecEdit();
103 afx_msg void OnKillfocusMatProd3SecEdit();
104 afx_msg void OnKillfocusMatProd4SecEdit();
105 afx_msg void OnKillfocusMatProd5SecEdit();
106 afx_msg void OnKillfocusMatProd6SecEdit();
107 afx_msg void OnKillfocusMatProd0PriorityEdit();
108 afx_msg void OnKillfocusMatProd1PriorityEdit();
109 afx_msg void OnKillfocusMatProd2PriorityEdit();
110 afx_msg void OnKillfocusMatProd3PriorityEdit();
111 afx_msg void OnKillfocusMatProd4PriorityEdit();
112 afx_msg void OnKillfocusMatProd5PriorityEdit();
113 afx_msg void OnKillfocusMatProd6PriorityEdit();
114 afx_msg void OnKillfocusMatProd7PriorityEdit();
115 afx_msg void OnKillfocusMatNumTypesEdit();
116 afx_msg void OnKillfocusMatSpawn0Edit();
117 afx_msg void OnKillfocusMatSpawn1Edit();
118 afx_msg void OnKillfocusMatSpawn2Edit();
119 afx_msg void OnKillfocusMatSpawn3Edit();
120 afx_msg void OnMatRoomRadio();
121 afx_msg void OnMatObjectRadio();
122 afx_msg void OnMatUnassignedRadio();
123 afx_msg void OnKillfocusMatNumSpawnEdit();
124 afx_msg void OnKillfocusMatNameEdit();
125 afx_msg void OnMatMoveViewerButton();
126 afx_msg void OnMatPasteObjrefButton();
127 afx_msg void OnMatPrevButton();
128 afx_msg void OnMatNextButton();
129 afx_msg void OnMatNewButton();
130 afx_msg void OnMatDeleteButton();
131 afx_msg void OnMatCopyButton();
132 afx_msg void OnMatPasteButton();
133 afx_msg void OnMatApvRadio();
134 afx_msg void OnKillfocusMatEffectPostprodTimeEdit();
135 afx_msg void OnKillfocusMatProd7SecEdit();
136 afx_msg void OnKillfocusMaxObjProdEdit();
137 virtual BOOL OnInitDialog();
138 afx_msg void OnPaint();
139 afx_msg void OnSelendokMatProdTextureCombo();
140 afx_msg void OnMatNhpCheck();
141 afx_msg void OnSelendokMatRoomObjectCombo();
142 afx_msg void OnDestroy();
143 //}}AFX_MSG
144 DECLARE_MESSAGE_MAP()
145 };
146
147 //{{AFX_INSERT_LOCATION}}
148 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
149
150 #endif // !defined(AFX_MATCENKEYPAD_H__01EF05C6_3D9C_11D2_A13A_0060089A8026__INCLUDED_)