Aircraft.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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_AIRCRAFT_H__15BD6160_8953_11D3_B63B_A583BFBD8C41__INCLUDED_)
  17. #define AFX_AIRCRAFT_H__15BD6160_8953_11D3_B63B_A583BFBD8C41__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // Aircraft.h : Header-Datei
  22. //
  23. class CAircraft : public CDialog
  24. {
  25. // construction
  26. public:
  27. void UpdateStrings();
  28. CString m_strength;
  29. void Init(CString house="", CString strength="256", CString direction="64", CString action="Guard", CString tag="None", CString flag1="0", CString flag2="0", CString flag3="0", CString flag4="0");
  30. CAircraft(CWnd* pParent = NULL); // standard constructor
  31. // dialog field data
  32. //{{AFX_DATA(CAircraft)
  33. enum { IDD = IDD_AIRCRAFT };
  34. CSliderCtrl m_strength_ctrl;
  35. CString m_direction;
  36. CString m_house;
  37. CString m_flag1;
  38. CString m_flag2;
  39. CString m_flag3;
  40. CString m_flag4;
  41. CString m_action;
  42. CString m_tag;
  43. //}}AFX_DATA
  44. // overwriteables
  45. // generated from class assistant
  46. //{{AFX_VIRTUAL(CAircraft)
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // implementation
  51. protected:
  52. // generated message maps
  53. //{{AFX_MSG(CAircraft)
  54. virtual BOOL OnInitDialog();
  55. virtual void OnOK();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. #endif // AFX_AIRCRAFT_H__15BD6160_8953_11D3_B63B_A583BFBD8C41__INCLUDED_