Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
57 lines
1.2 KiB
C++
57 lines
1.2 KiB
C++
// DlgTriggerPoint.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "worldcreator.h"
|
|
#include "DlgTriggerPoint.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgTriggerPoint dialog
|
|
|
|
|
|
CDlgTriggerPoint::CDlgTriggerPoint(CWnd* pParent /*=NULL*/)
|
|
: CDialog(CDlgTriggerPoint::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(CDlgTriggerPoint)
|
|
m_xPos = 0.0f;
|
|
m_yPos = 0.0f;
|
|
m_zPos = 0.0f;
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
void CDlgTriggerPoint::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CDlgTriggerPoint)
|
|
DDX_Text(pDX, IDC_EDIT_XPOS, m_xPos);
|
|
DDX_Text(pDX, IDC_EDIT_YPOS, m_yPos);
|
|
DDX_Text(pDX, IDC_EDIT_ZPOS, m_zPos);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CDlgTriggerPoint, CDialog)
|
|
//{{AFX_MSG_MAP(CDlgTriggerPoint)
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgTriggerPoint message handlers
|
|
|
|
BOOL CDlgTriggerPoint::OnInitDialog()
|
|
{
|
|
CDialog::OnInitDialog();
|
|
|
|
UpdateData( FALSE );
|
|
|
|
return TRUE; // return TRUE unless you set the focus to a control
|
|
// EXCEPTION: OCX Property Pages should return FALSE
|
|
}
|