TeamObjectProperties.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*
  2. ** Command & Conquer Generals Zero Hour(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. // TeamObjectProperties.h
  19. // Mike Lytle
  20. // January, 2003
  21. // (c) Electronic Arts 2003
  22. #ifndef TEAM_OBJECT_PROPERTIES_H
  23. #define TEAM_OBJECT_PROPERTIES_H
  24. #if _MSC_VER > 1000
  25. #pragma once
  26. #endif // _MSC_VER > 1000
  27. #include "Resource.h"
  28. // Forward declarations.
  29. class Dict;
  30. // External Defines
  31. class TeamObjectProperties : public CPropertyPage
  32. {
  33. // Construction
  34. public:
  35. TeamObjectProperties(Dict* dictToEdit = NULL);
  36. ~TeamObjectProperties();
  37. // Dialog Data
  38. //{{AFX_DATA(MapObjectProps)
  39. enum { IDD = IDD_TeamObjectProperties };
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(TeamObjectProperties)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  47. //}}AFX_VIRTUAL
  48. // Implementation
  49. protected:
  50. Dict* m_dictToEdit;
  51. #if 0 // Keys not implemented yet. jba. [3/26/2003]//
  52. void updateTheUI(void);
  53. // Generated message map functions
  54. //{{AFX_MSG(TeamObjectProperties)
  55. virtual BOOL OnInitDialog();
  56. virtual void OnOK();
  57. afx_msg void _HealthToDict(void);
  58. afx_msg void _EnabledToDict(void);
  59. afx_msg void _IndestructibleToDict(void);
  60. afx_msg void _UnsellableToDict(void);
  61. afx_msg void _PoweredToDict(void);
  62. afx_msg void _AggressivenessToDict(void);
  63. afx_msg void _VisibilityToDict(void);
  64. afx_msg void _VeterancyToDict(void);
  65. afx_msg void _ShroudClearingDistanceToDict(void);
  66. afx_msg void _RecruitableAIToDict(void);
  67. afx_msg void _SelectableToDict(void);
  68. afx_msg void _WeatherToDict(void);
  69. afx_msg void _TimeToDict(void);
  70. afx_msg void _HPsToDict();
  71. afx_msg void _StoppingDistanceToDict(void);
  72. afx_msg void _UpdateTeamMembers(void);
  73. //}}AFX_MSG
  74. DECLARE_MESSAGE_MAP()
  75. void _DictToHealth(void);
  76. void _DictToHPs(void);
  77. void _DictToEnabled(void);
  78. void _DictToDestructible(void);
  79. void _DictToUnsellable(void);
  80. void _DictToPowered(void);
  81. void _DictToAggressiveness(void);
  82. void _DictToVisibilityRange(void);
  83. void _DictToVeterancy(void);
  84. void _DictToShroudClearingDistance(void);
  85. void _DictToRecruitableAI();
  86. void _DictToSelectable(void);
  87. void _DictToWeather(void);
  88. void _DictToTime(void);
  89. void _DictToStoppingDistance(void);
  90. void _PropertiesToDict(void);
  91. #endif
  92. };
  93. //{{AFX_INSERT_LOCATION}}
  94. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  95. #endif //TEAM_OBJECT_PROPERTIES_H