Infantry.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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_INFANTRIE_H__F5A248C4_84A5_11D3_B63B_F881F458F743__INCLUDED_)
  17. #define AFX_INFANTRIE_H__F5A248C4_84A5_11D3_B63B_F881F458F743__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // Infantrie.h : Header-Datei
  22. //
  23. /////////////////////////////////////////////////////////////////////////////
  24. // Dialogfeld CInfantrie
  25. class CInfantrie : public CDialog
  26. {
  27. // Konstruktion
  28. public:
  29. void UpdateStrings();
  30. CString m_strength;
  31. void Init(CString house="", CString strength="256", CString action="Guard", CString direction="64", CString tag="None", CString p1="0", CString p2="-1", CString p3="0", CString p4="0", CString p5="0");
  32. CInfantrie(CWnd* pParent = NULL); // Standardkonstruktor
  33. // Dialogfelddaten
  34. //{{AFX_DATA(CInfantrie)
  35. enum { IDD = IDD_INFANTRY };
  36. CSliderCtrl m_strength_ctrl;
  37. CString m_direction;
  38. CString m_house;
  39. CString m_flag1;
  40. CString m_flag2;
  41. CString m_flag3;
  42. CString m_flag4;
  43. CString m_action;
  44. CString m_tag;
  45. CString m_flag5;
  46. //}}AFX_DATA
  47. // Überschreibungen
  48. // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
  49. //{{AFX_VIRTUAL(CInfantrie)
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
  52. //}}AFX_VIRTUAL
  53. // Implementierung
  54. protected:
  55. // Generierte Nachrichtenzuordnungsfunktionen
  56. //{{AFX_MSG(CInfantrie)
  57. virtual BOOL OnInitDialog();
  58. virtual void OnOK();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
  64. #endif // AFX_INFANTRIE_H__F5A248C4_84A5_11D3_B63B_F881F458F743__INCLUDED_