NewMap.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_NEWMAP_H__868C3FC0_AF27_11D3_B63B_BE68077E9F41__INCLUDED_)
  17. #define AFX_NEWMAP_H__868C3FC0_AF27_11D3_B63B_BE68077E9F41__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // NewMap.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CNewMap
  25. class CNewMap : public CDialog
  26. {
  27. // Konstruktion
  28. public:
  29. CString m_MapToImport;
  30. void UpdateStrings();
  31. CNewMap(CWnd* pParent = NULL); // Standardkonstruktor
  32. // Dialogfelddaten
  33. //{{AFX_DATA(CNewMap)
  34. enum { IDD = IDD_NEWMAP };
  35. CButton m_OK;
  36. BOOL m_ImportOverlay;
  37. BOOL m_ImportTrees;
  38. BOOL m_ImportUnits;
  39. BOOL m_Multiplayer;
  40. CString m_House;
  41. BOOL m_PrepareHouses;
  42. BOOL m_AutoProduction;
  43. UINT m_Height;
  44. UINT m_Width;
  45. int m_Import;
  46. int m_Theater;
  47. int m_GroundHeight;
  48. //}}AFX_DATA
  49. // Überschreibungen
  50. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  51. //{{AFX_VIRTUAL(CNewMap)
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  54. //}}AFX_VIRTUAL
  55. // Implementierung
  56. protected:
  57. // Generierte Nachrichtenzuordnungsfunktionen
  58. //{{AFX_MSG(CNewMap)
  59. virtual BOOL OnInitDialog();
  60. afx_msg void OnBrowse();
  61. virtual void OnOK();
  62. afx_msg void OnMultiplayer();
  63. afx_msg void OnEditchangeImportfile();
  64. afx_msg void OnImport();
  65. afx_msg void OnNew();
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP()
  68. private:
  69. CMyComboBox m_ImportFile;
  70. };
  71. //{{AFX_INSERT_LOCATION}}
  72. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  73. #endif // AFX_NEWMAP_H__868C3FC0_AF27_11D3_B63B_BE68077E9F41__INCLUDED_