Files
firestorm/Gameleap/code/mw4/Code/MW4GameEd2/CameraSettings.cpp
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

58 lines
1.3 KiB
C++

// 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();
}