Debian Codegraph @

editor/PropertyPhysicsDlg.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_PROPERTYPHYSICSDLG_H__412CCAE5_F849_11D0_8901_0020A90CB6F2__INCLUDED_)
20 #define AFX_PROPERTYPHYSICSDLG_H__412CCAE5_F849_11D0_8901_0020A90CB6F2__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // PropertyPhysicsDlg.h : header file
26 //
27
28 /////////////////////////////////////////////////////////////////////////////
29 // CPropertyPhysicsDlg dialog
30
31 #ifndef _PROP_PHYSICS_DLG_H_
32 #define _PROP_PHYSICS_DLG_H_
33
34 #include "KeyPadDialog.h"
35
36 class CPropertyPhysicsDlg : public CKeypadDialog {
37 // Construction
38 public:
39 CPropertyPhysicsDlg(CWnd *pParent = NULL); // standard constructor
40 void Enable(UINT control);
41 void Disable(UINT control);
42 void UpdateCheckBoxes();
43 // Dialog Data
44 //{{AFX_DATA(CPropertyPhysicsDlg)
45 enum { IDD = IDD_PROPPHYSICS };
46 BOOL m_bBounce;
47 float m_fDrag;
48 float m_fFullRotThrust;
49 float m_fFullThrust;
50 BOOL m_bGravity;
51 BOOL m_bLevelling;
52 BOOL m_bMagnetism;
53 float m_fMass;
54 float m_fMaxTurnrollrate;
55 int m_iNumBounces;
56 BOOL m_bPersistent;
57 float m_fRotDrag;
58 float m_fRotThrustX;
59 float m_fRotThrustY;
60 float m_fRotThrustZ;
61 float m_fRotVelX;
62 float m_fRotVelY;
63 float m_fRotVelZ;
64 BOOL m_bSticks;
65 float m_fThrustX;
66 float m_fThrustY;
67 float m_fThrustZ;
68 BOOL m_bTurnroll;
69 float m_fTurnrollRatio;
70 int16_t m_sTurnrollAngle;
71 BOOL m_bUsesThrust;
72 float m_fVelocityX;
73 float m_fVelocityY;
74 float m_fVelocityZ;
75 BOOL m_bWiggle;
76 float m_fWiggleAmplitude;
77 float m_fWigglesPerSecond;
78 BOOL m_bWind;
79 BOOL m_bUnlimitedBounce;
80 //}}AFX_DATA
81
82 // Overrides
83 // ClassWizard generated virtual function overrides
84 //{{AFX_VIRTUAL(CPropertyPhysicsDlg)
85 protected:
86 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
87 //}}AFX_VIRTUAL
88
89 // Implementation
90 protected:
91 // Generated message map functions
92 //{{AFX_MSG(CPropertyPhysicsDlg)
93 afx_msg void OnPturnroll();
94 afx_msg void OnPlevelling();
95 afx_msg void OnPbounce();
96 afx_msg void OnPwiggle();
97 afx_msg void OnPsticks();
98 afx_msg void OnPpersistent();
99 afx_msg void OnPusesthrust();
100 afx_msg void OnPgravity();
101 afx_msg void OnPmagnetism();
102 afx_msg void OnPwind();
103 virtual BOOL OnInitDialog();
104 afx_msg void OnPunlimbounce();
105 //}}AFX_MSG
106 DECLARE_MESSAGE_MAP()
107 };
108
109 #endif
110 //{{AFX_INSERT_LOCATION}}
111 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
112
113 #endif // !defined(AFX_PROPERTYPHYSICSDLG_H__412CCAE5_F849_11D0_8901_0020A90CB6F2__INCLUDED_)