DialogAFView.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. ===========================================================================
  3. Doom 3 GPL Source Code
  4. Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
  5. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
  6. Doom 3 Source Code is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Doom 3 Source Code 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. You should have received a copy of the GNU General Public License
  15. along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
  16. 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.
  17. 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.
  18. ===========================================================================
  19. */
  20. #pragma once
  21. // DialogAFView dialog
  22. class DialogAFView : public CDialog {
  23. DECLARE_DYNAMIC(DialogAFView)
  24. public:
  25. DialogAFView(CWnd* pParent = NULL); // standard constructor
  26. virtual ~DialogAFView();
  27. enum { IDD = IDD_DIALOG_AF_VIEW };
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. virtual int OnToolHitTest( CPoint point, TOOLINFO* pTI ) const;
  31. afx_msg BOOL OnToolTipNotify( UINT id, NMHDR *pNMHDR, LRESULT *pResult );
  32. afx_msg void OnBnClickedCheckViewBodies();
  33. afx_msg void OnBnClickedCheckViewBodynames();
  34. afx_msg void OnBnClickedCheckViewBodyMass();
  35. afx_msg void OnBnClickedCheckViewTotalMass();
  36. afx_msg void OnBnClickedCheckViewInertiatensor();
  37. afx_msg void OnBnClickedCheckViewVelocity();
  38. afx_msg void OnBnClickedCheckViewConstraints();
  39. afx_msg void OnBnClickedCheckViewConstraintnames();
  40. afx_msg void OnBnClickedCheckViewPrimaryonly();
  41. afx_msg void OnBnClickedCheckViewLimits();
  42. afx_msg void OnBnClickedCheckViewConstrainedBodies();
  43. afx_msg void OnBnClickedCheckViewTrees();
  44. afx_msg void OnBnClickedCheckMd5Skeleton();
  45. afx_msg void OnBnClickedCheckMd5Skeletononly();
  46. afx_msg void OnBnClickedCheckLinesDepthtest();
  47. afx_msg void OnBnClickedCheckLinesUsearrows();
  48. afx_msg void OnBnClickedCheckPhysicsNofriction();
  49. afx_msg void OnBnClickedCheckPhysicsNolimits();
  50. afx_msg void OnBnClickedCheckPhysicsNogravity();
  51. afx_msg void OnBnClickedCheckPhysicsNoselfcollision();
  52. afx_msg void OnBnClickedCheckPhysicsTiming();
  53. afx_msg void OnBnClickedCheckPhysicsDragEntities();
  54. afx_msg void OnBnClickedCheckPhysicsShowDragSelection();
  55. DECLARE_MESSAGE_MAP()
  56. private:
  57. //{{AFX_DATA(DialogAFView)
  58. BOOL m_showBodies;
  59. BOOL m_showBodyNames;
  60. BOOL m_showMass;
  61. BOOL m_showTotalMass;
  62. BOOL m_showInertia;
  63. BOOL m_showVelocity;
  64. BOOL m_showConstraints;
  65. BOOL m_showConstraintNames;
  66. BOOL m_showPrimaryOnly;
  67. BOOL m_showLimits;
  68. BOOL m_showConstrainedBodies;
  69. BOOL m_showTrees;
  70. BOOL m_showSkeleton;
  71. BOOL m_showSkeletonOnly;
  72. BOOL m_debugLineDepthTest;
  73. BOOL m_debugLineUseArrows;
  74. BOOL m_noFriction;
  75. BOOL m_noLimits;
  76. BOOL m_noGravity;
  77. BOOL m_noSelfCollision;
  78. BOOL m_showTimings;
  79. BOOL m_dragEntity;
  80. BOOL m_dragShowSelection;
  81. //}}AFX_DATA
  82. float m_gravity;
  83. static toolTip_t toolTips[];
  84. };