Houses.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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_HOUSES_H__80D09600_8932_11D3_B63B_A583BFBD8C41__INCLUDED_)
  17. #define AFX_HOUSES_H__80D09600_8932_11D3_B63B_A583BFBD8C41__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // Houses.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CHouses
  25. class CHouses : public CDialog
  26. {
  27. DECLARE_DYNCREATE(CHouses)
  28. // Konstruktion
  29. public:
  30. void UpdateStrings();
  31. void AddHouse(const char* name);
  32. void UpdateDialog();
  33. CHouses();
  34. ~CHouses();
  35. // Dialogfelddaten
  36. //{{AFX_DATA(CHouses)
  37. enum { IDD = IDD_HOUSES };
  38. CComboBox m_HumanPlayer;
  39. CComboBox m_TechLevel;
  40. CComboBox m_Side;
  41. CComboBox m_PlayerControl;
  42. CComboBox m_PercentBuilt;
  43. CComboBox m_Nodecount;
  44. CComboBox m_IQ;
  45. CComboBox m_Edge;
  46. CEdit m_Credits;
  47. CComboBox m_Color;
  48. CEdit m_Allies;
  49. CComboBox m_ActsLike;
  50. CComboBox m_houses;
  51. //}}AFX_DATA
  52. // Überschreibungen
  53. // Der Klassen-Assistent generiert virtuelle Funktionsüberschreibungen
  54. //{{AFX_VIRTUAL(CHouses)
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  57. virtual void PostNcDestroy();
  58. //}}AFX_VIRTUAL
  59. // Implementierung
  60. protected:
  61. // Generierte Nachrichtenzuordnungsfunktionen
  62. //{{AFX_MSG(CHouses)
  63. virtual BOOL OnInitDialog();
  64. afx_msg void OnSelchangeHouses();
  65. afx_msg void OnPreparehouses();
  66. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  67. afx_msg void OnAddhouse();
  68. afx_msg void OnDeletehouse();
  69. afx_msg void OnKillfocusIq();
  70. afx_msg void OnKillfocusEdge();
  71. afx_msg void OnKillfocusSide();
  72. afx_msg void OnKillfocusColor();
  73. afx_msg void OnKillfocusAllies();
  74. afx_msg void OnKillfocusCredits();
  75. afx_msg void OnEditchangeActslike();
  76. afx_msg void OnKillfocusNodecount();
  77. afx_msg void OnKillfocusTechlevel();
  78. afx_msg void OnKillfocusPercentbuilt();
  79. afx_msg void OnKillfocusPlayercontrol();
  80. afx_msg void OnSelchangeHumanplayer();
  81. afx_msg void OnSelchangeActslike();
  82. afx_msg void OnSetfocusAllies();
  83. //}}AFX_MSG
  84. DECLARE_MESSAGE_MAP()
  85. };
  86. //{{AFX_INSERT_LOCATION}}
  87. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  88. #endif // AFX_HOUSES_H__80D09600_8932_11D3_B63B_A583BFBD8C41__INCLUDED_