Debian Codegraph @

editor/WorldObjectsPlayerDialog.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 // WorldObjectsPlayerDialog.h : header file
20 //
21
22 #include "gr.h"
23
24 /////////////////////////////////////////////////////////////////////////////
25 // CWorldObjectsPlayerDialog dialog
26
27 class CWorldObjectsPlayerDialog : public CDialog {
28 // Construction
29 public:
30 CWorldObjectsPlayerDialog(CWnd *pParent = NULL); // standard constructor
31
32 // Dialog Data
33 //{{AFX_DATA(CWorldObjectsPlayerDialog)
34 enum { IDD = IDD_WORLDOBJECTSPLAYER };
35 // NOTE: the ClassWizard will add data members here
36 //}}AFX_DATA
37
38 // Overrides
39 // ClassWizard generated virtual function overrides
40 //{{AFX_VIRTUAL(CWorldObjectsPlayerDialog)
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 protected:
50 // Generated message map functions
51 //{{AFX_MSG(CWorldObjectsPlayerDialog)
52 afx_msg void OnAddPship();
53 afx_msg void OnPshipCheckin();
54 afx_msg void OnPshipDelete();
55 afx_msg void OnPshipLoadModel();
56 afx_msg void OnPshipLock();
57 afx_msg void OnKillfocusPshipNameEdit();
58 afx_msg void OnPshipNext();
59 afx_msg void OnPshipPrev();
60 afx_msg void OnPshipsOut();
61 afx_msg void OnSelendokPshipPulldown();
62 virtual BOOL OnInitDialog();
63 afx_msg void OnTimer(UINT nIDEvent);
64 afx_msg BOOL OnHelpInfo(HELPINFO *pHelpInfo);
65 afx_msg void OnPshipEditPhysics();
66 afx_msg void OnPshipDyingModel();
67 afx_msg void OnNullDying();
68 afx_msg void OnEditWeapons();
69 afx_msg void OnPshipCockpit();
70 afx_msg void OnKillfocusPshipCockpitEdit();
71 afx_msg void OnDestroy();
72 afx_msg void OnKillfocusShipArmorEdit();
73 afx_msg void OnDefaultallow();
74 afx_msg void OnHiresRadio();
75 afx_msg void OnMedresRadio();
76 afx_msg void OnLoresRadio();
77 afx_msg void OnNolod();
78 afx_msg void OnKillfocusLodDistanceEdit();
79 //}}AFX_MSG
80 DECLARE_MESSAGE_MAP()
81
82 private:
83 void UpdateDialog(void);
84 void SaveShipsOnClose();
85 void UpdateShipView();
86 int m_lod;
87
88 grHardwareSurface m_ShipSurf;
89 };