Basic.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /*
  2. FinalSun/FinalAlert 2 Mission Editor
  3. Copyright (C) 1999-2024 Electronic Arts, Inc.
  4. Authored by Matthias Wagner
  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. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <https://www.gnu.org/licenses/>.
  15. */
  16. #if !defined(AFX_BASIC_H__C350C7AC_63C3_11D3_99E0_C30F10710B17__INCLUDED_)
  17. #define AFX_BASIC_H__C350C7AC_63C3_11D3_99E0_C30F10710B17__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // Basic.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CBasic
  25. class CBasic : public CDialog
  26. {
  27. DECLARE_DYNCREATE(CBasic)
  28. // Konstruktion
  29. public:
  30. void UpdateStrings();
  31. void UpdateData();
  32. void UpdateDialog();
  33. CBasic();
  34. ~CBasic();
  35. // Dialogfelddaten
  36. //{{AFX_DATA(CBasic)
  37. enum { IDD = IDD_BASIC };
  38. CMyComboBox m_RequiredAddOn;
  39. CMyComboBox m_VeinGrowthEnabled;
  40. CMyComboBox m_TruckCrate;
  41. CMyComboBox m_TrainCrate;
  42. CMyComboBox m_TiberiumGrowthEnabled;
  43. CMyComboBox m_TiberiumDeathToVisceroid;
  44. CMyComboBox m_SkipScore;
  45. CMyComboBox m_SkipMapSelect;
  46. CMyComboBox m_OneTimeOnly;
  47. CMyComboBox m_Official;
  48. CMyComboBox m_NextScenario;
  49. CEdit m_Percent;
  50. CEdit m_NewINIFormat;
  51. CEdit m_Name;
  52. CEdit m_MultiplayerOnly;
  53. CEdit m_InitTime;
  54. CMyComboBox m_IgnoreGlobalAITriggers;
  55. CMyComboBox m_IceGrowthEnabled;
  56. CMyComboBox m_FreeRadar;
  57. CMyComboBox m_EndOfGame;
  58. CEdit m_CarryOverCap;
  59. CMyComboBox m_AltNextScenario;
  60. //}}AFX_DATA
  61. // Überschreibungen
  62. // Der Klassen-Assistent generiert virtuelle Funktionsüberschreibungen
  63. //{{AFX_VIRTUAL(CBasic)
  64. protected:
  65. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  66. virtual void PostNcDestroy();
  67. //}}AFX_VIRTUAL
  68. // Implementierung
  69. protected:
  70. // Generierte Nachrichtenzuordnungsfunktionen
  71. //{{AFX_MSG(CBasic)
  72. afx_msg void OnChangeName();
  73. afx_msg void OnEditchangeNextscenario();
  74. afx_msg void OnEditchangeAltnextscenario();
  75. afx_msg void OnChangeNewiniformat();
  76. afx_msg void OnChangeCarryovercap();
  77. afx_msg void OnEditchangeEndofgame();
  78. afx_msg void OnEditchangeSkipscore();
  79. afx_msg void OnEditchangeOnetimeonly();
  80. afx_msg void OnEditchangeSkipmapselect();
  81. afx_msg void OnEditchangeOfficial();
  82. afx_msg void OnEditchangeIgnoreglobalaitriggers();
  83. afx_msg void OnEditchangeTruckcrate();
  84. afx_msg void OnEditchangeTraincrate();
  85. afx_msg void OnChangePercent();
  86. afx_msg void OnChangeMultiplayeronly();
  87. afx_msg void OnEditchangeTiberiumgrowthenabled();
  88. afx_msg void OnEditchangeVeingrowthenabled();
  89. afx_msg void OnEditchangeIcegrowthenabled();
  90. afx_msg void OnEditchangeTiberiumdeathtovisceroid();
  91. afx_msg void OnEditchangeFreeradar();
  92. afx_msg void OnChangeInittime();
  93. afx_msg void OnEditchangeRequiredaddon();
  94. //}}AFX_MSG
  95. DECLARE_MESSAGE_MAP()
  96. };
  97. //{{AFX_INSERT_LOCATION}}
  98. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  99. #endif // AFX_BASIC_H__C350C7AC_63C3_11D3_99E0_C30F10710B17__INCLUDED_