// CameraSettings.cpp : implementation file
//

#include "stdafx.h"
#include "mw4gameed2.h"
#include "CameraSettings.h"


/////////////////////////////////////////////////////////////////////////////
// CCameraSettings dialog

CCameraSettings::CCameraSettings(CWnd* pParent /*=NULL*/)
	: CDialog(CCameraSettings::IDD, pParent)
{
	//{{AFX_DATA_INIT(CCameraSettings)
	m_RevMouse = FALSE;
	m_Speed = 0.0f;
	m_FollowTerain = FALSE;
	//}}AFX_DATA_INIT

}


void CCameraSettings::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CCameraSettings)
	DDX_Check(pDX, IDC_REVMOUSE, m_RevMouse);
	DDX_Text(pDX, IDC_SPEED, m_Speed);
	DDV_MinMaxFloat(pDX, m_Speed, 0.f, 1000.f);
	DDX_Check(pDX, IDC_TFOLLOW, m_FollowTerain);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CCameraSettings, CDialog)
	//{{AFX_MSG_MAP(CCameraSettings)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCameraSettings message handlers


BOOL CCameraSettings::OnInitDialog() 
{
	CDialog::OnInitDialog();
	

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CCameraSettings::OnOK() 
{
	CDialog::OnOK();
}
