#ifndef __GamePageTeam_h__
#define __GamePageTeam_h__
#if _MSC_VER > 1000
#pragma once
#endif #include "ComboValueTranslator.h"
class CGameParamsSheet;
class CGamePageTeam : public CPropertyPage
{
public:
DECLARE_DYNAMIC(CGamePageTeam)
DECLARE_MESSAGE_MAP()
public:
CGamePageTeam();
enum { IDD = IDD_TEAM_DYNAMICS };
int m_eTeamCount;
int m_eMaxTeamInbalance;
int m_eMinTeamPlayers;
int m_eMaxTeamPlayers;
int m_eSkillLevels;
int m_eTeamLives;
int m_eStartingMoney;
int m_eTotalMoney;
public:
public:
public:
virtual void OnOK();
virtual BOOL OnSetActive();
protected:
virtual void DoDataExchange(CDataExchange* pDX); protected:
#if 0
BEGIN_ComboTranslator(TeamCount, 1)
2, 3, 4, 5, 6
END_ComboTranslator(TeamCount)
BEGIN_ComboTranslator(MaxTeamInbalance, 2)
1, 2, -1
END_ComboTranslator(MaxTeamInbalance)
BEGIN_ComboTranslator(MinTeamPlayers, 0)
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 30, 40, 50
END_ComboTranslator(MinTeamPlayers)
BEGIN_ComboTranslator(MaxTeamPlayers, 10)
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 30, 40, 50
END_ComboTranslator(MaxTeamPlayers)
BEGIN_ComboTranslator(SkillLevels, 5)
1, 2, -1
END_ComboTranslator(SkillLevels)
#endif
protected:
virtual BOOL OnInitDialog();
protected:
};
#endif