SingleplayerSettings.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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_SINGLEPLAYERSETTINGS_H__082D6780_CA89_11D3_B63B_00485453E8BA__INCLUDED_)
  17. #define AFX_SINGLEPLAYERSETTINGS_H__082D6780_CA89_11D3_B63B_00485453E8BA__INCLUDED_
  18. #if _MSC_VER > 1000
  19. #pragma once
  20. #endif // _MSC_VER > 1000
  21. // SingleplayerSettings.h : Header file
  22. //
  23. #include "resource.h"
  24. /////////////////////////////////////////////////////////////////////////////
  25. // dialog field CSingleplayerSettings
  26. class CSingleplayerSettings : public CDialog
  27. {
  28. DECLARE_DYNCREATE(CSingleplayerSettings)
  29. // construction
  30. public:
  31. void UpdateStrings();
  32. void UpdateDialog();
  33. CSingleplayerSettings();
  34. ~CSingleplayerSettings();
  35. // dialog field data
  36. //{{AFX_DATA(CSingleplayerSettings)
  37. enum { IDD = IDD_SINGLEPLAYER };
  38. CMyComboBox m_TimerInherit;
  39. CMyComboBox m_StartingDropships;
  40. CMyComboBox m_FillSilos;
  41. CFloatEdit m_CarryOverMoney;
  42. CMyComboBox m_Win;
  43. CMyComboBox m_PreMapSelect;
  44. CMyComboBox m_PostScore;
  45. CMyComboBox m_Lose;
  46. CMyComboBox m_Intro;
  47. CMyComboBox m_Brief;
  48. CMyComboBox m_Action;
  49. //}}AFX_DATA
  50. // overwriteables
  51. //{{AFX_VIRTUAL(CSingleplayerSettings)
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // ddx/ddv support
  54. virtual void PostNcDestroy();
  55. //}}AFX_VIRTUAL
  56. // implementation
  57. protected:
  58. // generated message maps
  59. //{{AFX_MSG(CSingleplayerSettings)
  60. afx_msg void OnEditchangeIntro();
  61. afx_msg void OnEditchangeBrief();
  62. afx_msg void OnEditchangeWin();
  63. afx_msg void OnEditchangeLose();
  64. afx_msg void OnEditchangeAction();
  65. afx_msg void OnEditchangePostscore();
  66. afx_msg void OnEditchangePremapselect();
  67. afx_msg void OnEditchangeStartingdropships();
  68. afx_msg void OnChangeCarryovermoney();
  69. afx_msg void OnEditchangeTimerinherit();
  70. afx_msg void OnEditchangeFillsilos();
  71. //}}AFX_MSG
  72. DECLARE_MESSAGE_MAP()
  73. };
  74. //{{AFX_INSERT_LOCATION}}
  75. #endif // AFX_SINGLEPLAYERSETTINGS_H__082D6780_CA89_11D3_B63B_00485453E8BA__INCLUDED_