MainFrm.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  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. // MainFrm.h : interface of the CMainFrame class
  19. //
  20. /////////////////////////////////////////////////////////////////////////////
  21. #if !defined(AFX_MAINFRM_H__2AE09FD9_FBEF_11D2_9BD9_00A0C9988171__INCLUDED_)
  22. #define AFX_MAINFRM_H__2AE09FD9_FBEF_11D2_9BD9_00A0C9988171__INCLUDED_
  23. #if _MSC_VER > 1000
  24. #pragma once
  25. #endif // _MSC_VER > 1000
  26. class CMainFrame : public CFrameWnd
  27. {
  28. protected: // create from serialization only
  29. CMainFrame();
  30. DECLARE_DYNCREATE(CMainFrame)
  31. // Attributes
  32. public:
  33. // Operations
  34. public:
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CMainFrame)
  38. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. public:
  42. virtual ~CMainFrame();
  43. #ifdef _DEBUG
  44. virtual void AssertValid() const;
  45. virtual void Dump(CDumpContext& dc) const;
  46. #endif
  47. protected: // control bar embedded members
  48. CStatusBar m_wndStatusBar;
  49. // CToolBar m_wndToolBar;
  50. // Generated message map functions
  51. protected:
  52. //{{AFX_MSG(CMainFrame)
  53. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  54. afx_msg void OnCurveCardinal();
  55. afx_msg void OnUpdateCurveCardinal(CCmdUI* pCmdUI);
  56. afx_msg void OnCurveCatmullRom();
  57. afx_msg void OnUpdateCurveCatmullRom(CCmdUI* pCmdUI);
  58. afx_msg void OnCurveLinear();
  59. afx_msg void OnUpdateCurveLinear(CCmdUI* pCmdUI);
  60. afx_msg void OnCurveTcb();
  61. afx_msg void OnUpdateCurveTcb(CCmdUI* pCmdUI);
  62. afx_msg void OnCurveReset();
  63. afx_msg void OnCurveDrawTangents();
  64. afx_msg void OnUpdateCurveDrawTangents(CCmdUI* pCmdUI);
  65. afx_msg void OnCurveLoop();
  66. afx_msg void OnUpdateCurveLoop(CCmdUI* pCmdUI);
  67. afx_msg void OnVehicleCurve();
  68. afx_msg void OnUpdateVehicleCurve(CCmdUI* pCmdUI);
  69. //}}AFX_MSG
  70. DECLARE_MESSAGE_MAP()
  71. };
  72. /////////////////////////////////////////////////////////////////////////////
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_MAINFRM_H__2AE09FD9_FBEF_11D2_9BD9_00A0C9988171__INCLUDED_)