]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/tools/af/DialogAFView.h
hello world
[icculus/iodoom3.git] / neo / tools / af / DialogAFView.h
1 /*
2 ===========================================================================
3
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. 
6
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).  
8
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code.  If not, see <http://www.gnu.org/licenses/>.
21
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code.  If not, please request a copy in writing from id Software at the address below.
23
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25
26 ===========================================================================
27 */
28 #pragma once
29
30 // DialogAFView dialog
31
32 class DialogAFView : public CDialog {
33
34         DECLARE_DYNAMIC(DialogAFView)
35
36 public:
37                                                 DialogAFView(CWnd* pParent = NULL);   // standard constructor
38         virtual                         ~DialogAFView();
39
40         enum                            { IDD = IDD_DIALOG_AF_VIEW };
41
42 protected:
43         virtual void            DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
44         virtual int                     OnToolHitTest( CPoint point, TOOLINFO* pTI ) const;
45         afx_msg BOOL            OnToolTipNotify( UINT id, NMHDR *pNMHDR, LRESULT *pResult );
46         afx_msg void            OnBnClickedCheckViewBodies();
47         afx_msg void            OnBnClickedCheckViewBodynames();
48         afx_msg void            OnBnClickedCheckViewBodyMass();
49         afx_msg void            OnBnClickedCheckViewTotalMass();
50         afx_msg void            OnBnClickedCheckViewInertiatensor();
51         afx_msg void            OnBnClickedCheckViewVelocity();
52         afx_msg void            OnBnClickedCheckViewConstraints();
53         afx_msg void            OnBnClickedCheckViewConstraintnames();
54         afx_msg void            OnBnClickedCheckViewPrimaryonly();
55         afx_msg void            OnBnClickedCheckViewLimits();
56         afx_msg void            OnBnClickedCheckViewConstrainedBodies();
57         afx_msg void            OnBnClickedCheckViewTrees();
58         afx_msg void            OnBnClickedCheckMd5Skeleton();
59         afx_msg void            OnBnClickedCheckMd5Skeletononly();
60         afx_msg void            OnBnClickedCheckLinesDepthtest();
61         afx_msg void            OnBnClickedCheckLinesUsearrows();
62         afx_msg void            OnBnClickedCheckPhysicsNofriction();
63         afx_msg void            OnBnClickedCheckPhysicsNolimits();
64         afx_msg void            OnBnClickedCheckPhysicsNogravity();
65         afx_msg void            OnBnClickedCheckPhysicsNoselfcollision();
66         afx_msg void            OnBnClickedCheckPhysicsTiming();
67         afx_msg void            OnBnClickedCheckPhysicsDragEntities();
68         afx_msg void            OnBnClickedCheckPhysicsShowDragSelection();
69
70         DECLARE_MESSAGE_MAP()
71
72 private:
73         //{{AFX_DATA(DialogAFView)
74         BOOL                            m_showBodies;
75         BOOL                            m_showBodyNames;
76         BOOL                            m_showMass;
77         BOOL                            m_showTotalMass;
78         BOOL                            m_showInertia;
79         BOOL                            m_showVelocity;
80         BOOL                            m_showConstraints;
81         BOOL                            m_showConstraintNames;
82         BOOL                            m_showPrimaryOnly;
83         BOOL                            m_showLimits;
84         BOOL                            m_showConstrainedBodies;
85         BOOL                            m_showTrees;
86         BOOL                            m_showSkeleton;
87         BOOL                            m_showSkeletonOnly;
88         BOOL                            m_debugLineDepthTest;
89         BOOL                            m_debugLineUseArrows;
90         BOOL                            m_noFriction;
91         BOOL                            m_noLimits;
92         BOOL                            m_noGravity;
93         BOOL                            m_noSelfCollision;
94         BOOL                            m_showTimings;
95         BOOL                            m_dragEntity;
96         BOOL                            m_dragShowSelection;
97         //}}AFX_DATA
98
99         float                           m_gravity;
100
101         static toolTip_t        toolTips[];
102 };