| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 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 |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 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 |
|
| 38 |
public: |
| 39 |
CPropertyPhysicsDlg(CWnd *pParent = NULL); |
| 40 |
void Enable(UINT control); |
| 41 |
void Disable(UINT control); |
| 42 |
void UpdateCheckBoxes(); |
| 43 |
|
| 44 |
|
| 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 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
protected: |
| 86 |
virtual void DoDataExchange(CDataExchange *pDX); |
| 87 |
|
| 88 |
|
| 89 |
|
| 90 |
protected: |
| 91 |
|
| 92 |
|
| 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 |
|
| 106 |
DECLARE_MESSAGE_MAP() |
| 107 |
}; |
| 108 |
|
| 109 |
#endif |
| 110 |
|
| 111 |
|
| 112 |
|
| 113 |
#endif |