Debian Codegraph @

editor/TriggerDialog.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 --- HISTORICAL COMMENTS FOLLOW ---
19
20 * $Logfile: /DescentIII/Main/editor/TriggerDialog.h $
21 * $Revision: 1.1.1.1 $
22 * $Date: 2003-08-26 03:57:39 $
23 * $Author: kevinb $
24 *
25 * Trigger keypad dialog
26 *
27 * $Log: not supported by cvs2svn $
28 *
29 * 8 4/03/99 7:55p Matt
30 * Use new keypad update system instead of timer to update.
31 *
32 * 7 3/23/99 5:52p Matt
33 * Added clutter activators for triggers
34 *
35 * 6 1/14/99 11:06a Matt
36 * Added names to triggers
37 *
38 * 5 1/08/99 2:56p Samir
39 * Ripped out OSIRIS1.
40 *
41 * 4 9/15/97 11:38a Matt
42 * Added better trigger selection functions
43 *
44 * 3 9/12/97 3:59p Matt
45 * Lots of changes to trigger dialog
46 *
47 * 2 9/08/97 10:01a Matt
48 * Ripped out old trigger code
49 *
50 * $NoKeywords: $
51 */
52
53 #include "KeypadDialog.h"
54 #include "trigger.h"
55
56 /////////////////////////////////////////////////////////////////////////////
57 // CTriggerDialog dialog
58
59 class CTriggerDialog : public CKeypadDialog {
60 // Construction
61 public:
62 CTriggerDialog(CWnd *pParent = NULL); // standard constructor
63 void UpdateKeypad(int mask);
64
65 // Dialog Data
66 //{{AFX_DATA(CTriggerDialog)
67 enum { IDD = IDD_TRIGGERKEYPAD };
68 // NOTE: the ClassWizard will add data members here
69 //}}AFX_DATA
70
71 // Overrides
72 // ClassWizard generated virtual function overrides
73 //{{AFX_VIRTUAL(CTriggerDialog)
74 protected:
75 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
76 //}}AFX_VIRTUAL
77
78 // Implementation
79 protected:
80 // Generated message map functions
81 //{{AFX_MSG(CTriggerDialog)
82 afx_msg void OnSize(UINT nType, int cx, int cy);
83 afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
84 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar);
85 afx_msg void OnPaint();
86 virtual BOOL OnInitDialog();
87 afx_msg BOOL OnHelpInfo(HELPINFO *pHelpInfo);
88 afx_msg void OnTrigAddToCurface();
89 afx_msg void OnTrigGoto();
90 afx_msg void OnTrigDelete();
91 afx_msg void OnTrigAddToCurportal();
92 afx_msg void OnTrigAddFloating();
93 afx_msg void OnTrigRenderFloating();
94 afx_msg void OnTrigActivPlayer();
95 afx_msg void OnTrigActivPlayerWeapons();
96 afx_msg void OnTrigActivRobotWeapons();
97 afx_msg void OnTrigActivRobots();
98 afx_msg void OnTrigFloatNarrower();
99 afx_msg void OnTrigFloatShorter();
100 afx_msg void OnTrigFloatTaller();
101 afx_msg void OnTrigFloatWider();
102 afx_msg void OnTrigOneShot();
103 afx_msg void OnTrigNextPortal();
104 afx_msg void OnTrigNextInMine();
105 afx_msg void OnTrigNextInRoom();
106 afx_msg void OnTrigPrevInMine();
107 afx_msg void OnTrigPrevInRoom();
108 afx_msg void OnTrigEditName();
109 afx_msg void OnTrigEditScript();
110 afx_msg void OnTrigActivClutter();
111 //}}AFX_MSG
112 DECLARE_MESSAGE_MAP()
113
114 virtual void OnOK(); // prevent auto closing of dialog when in edit control
115
116 private:
117 void UpdateDialog();
118 };