Debian Codegraph @

editor/WorldObjectsRobotDialog.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 // WorldObjectsRobotDialog.h : header file
20 //
21
22 #include "gr.h"
23
24 /////////////////////////////////////////////////////////////////////////////
25 // CWorldObjectsRobotDialog dialog
26
27 class CWorldObjectsRobotDialog : public CDialog {
28 // Construction
29 public:
30 CWorldObjectsRobotDialog(CWnd *pParent = NULL); // standard constructor
31
32 // Dialog Data
33 //{{AFX_DATA(CWorldObjectsRobotDialog)
34 enum { IDD = IDD_WORLDOBJECTSROBOT };
35 // NOTE: the ClassWizard will add data members here
36 //}}AFX_DATA
37
38 // Overrides
39 // ClassWizard generated virtual function overrides
40 //{{AFX_VIRTUAL(CWorldObjectsRobotDialog)
41 public:
42 virtual BOOL DestroyWindow();
43
44 protected:
45 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
46 //}}AFX_VIRTUAL
47
48 // Implementation
49
50 private:
51 void UpdateDialog(void);
52 void SaveRobotsOnClose();
53 void UpdateRobotView();
54
55 grHardwareSurface m_RobotSurf;
56
57 protected:
58 // Generated message map functions
59 //{{AFX_MSG(CWorldObjectsRobotDialog)
60 afx_msg void OnAddNewRobot();
61 afx_msg void OnCheckinRobot();
62 afx_msg void OnDeleteRobot();
63 afx_msg void OnLockRobot();
64 afx_msg void OnNextRobot();
65 afx_msg void OnPrevRobot();
66 afx_msg void OnRobotModel();
67 afx_msg void OnKillfocusRobotNameEdit();
68 afx_msg void OnSelendokRobotPulldown();
69 virtual BOOL OnInitDialog();
70 afx_msg void OnTimer(UINT nIDEvent);
71 afx_msg void OnKillfocusRobotSizeEdit();
72 afx_msg void OnRobotsOut();
73 afx_msg void OnDefineAnimstates();
74 afx_msg BOOL OnHelpInfo(HELPINFO *pHelpInfo);
75 afx_msg void OnRobotEditPhysics();
76 afx_msg void OnRobotUsesPhysics();
77 afx_msg void OnRobotUsesAI();
78 afx_msg void OnRobotEditAI();
79 afx_msg void OnKillfocusScriptid();
80 //}}AFX_MSG
81 DECLARE_MESSAGE_MAP()
82 };