diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/editpathnodedlg.cpp | |
| download | archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip | |
Diffstat (limited to 'hammer/editpathnodedlg.cpp')
| -rw-r--r-- | hammer/editpathnodedlg.cpp | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/hammer/editpathnodedlg.cpp b/hammer/editpathnodedlg.cpp new file mode 100644 index 0000000..70a8958 --- /dev/null +++ b/hammer/editpathnodedlg.cpp @@ -0,0 +1,56 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +// EditPathNodeDlg.cpp : implementation file +// + +#include "stdafx.h" +#include "hammer.h" +#include "EditPathNodeDlg.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include <tier0/memdbgon.h> + +///////////////////////////////////////////////////////////////////////////// +// CEditPathNodeDlg dialog + + +CEditPathNodeDlg::CEditPathNodeDlg(CWnd* pParent /*=NULL*/) + : CDialog(CEditPathNodeDlg::IDD, pParent) +{ + //{{AFX_DATA_INIT(CEditPathNodeDlg) + m_bRetrigger = FALSE; + m_iSpeed = 0; + m_iWait = 0; + m_iYawSpeed = 0; + m_strName = _T(""); + //}}AFX_DATA_INIT +} + + +void CEditPathNodeDlg::DoDataExchange(CDataExchange* pDX) +{ + CDialog::DoDataExchange(pDX); + //{{AFX_DATA_MAP(CEditPathNodeDlg) + DDX_Check(pDX, IDC_RETRIGGER, m_bRetrigger); + DDX_Text(pDX, IDC_SPEED, m_iSpeed); + DDX_Text(pDX, IDC_PCWAIT, m_iWait); + DDX_Text(pDX, IDC_YAWSPEED, m_iYawSpeed); + DDX_Text(pDX, IDC_NAME, m_strName); + DDV_MaxChars(pDX, m_strName, 64); + //}}AFX_DATA_MAP +} + + +BEGIN_MESSAGE_MAP(CEditPathNodeDlg, CDialog) + //{{AFX_MSG_MAP(CEditPathNodeDlg) + // NOTE: the ClassWizard will add message map macros here + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + +///////////////////////////////////////////////////////////////////////////// +// CEditPathNodeDlg message handlers |