Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.5 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Implements a dialog that allows the user to type in a brush ID
// to select the corresponding brush. Used for locating errors
// reported by the map compile tools.
//
//=============================================================================//
#include "stdafx.h"
#include "hammer.h"
#include "GotoBrushDlg.h"
// memdbgon must be the last include file in a .cpp file!!!
#include <tier0/memdbgon.h>
BEGIN_MESSAGE_MAP(CGotoBrushDlg, CDialog)
//{{AFX_MSG_MAP(CGotoBrushDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
CGotoBrushDlg::CGotoBrushDlg(CWnd *pParent)
: CDialog(CGotoBrushDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CGotoBrushDlg)
m_nBrushID = 0;
//}}AFX_DATA_INIT
}
//-----------------------------------------------------------------------------
// Purpose:
// Input : pDX -
//-----------------------------------------------------------------------------
void CGotoBrushDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGotoBrushDlg)
DDX_Text(pDX, IDC_BRUSH_NUMBER, m_nBrushID);
//}}AFX_DATA_MAP
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CGotoBrushDlg::OnOK()
{
CDialog::OnOK();
}