Files
Client/GameTools/WORLDCREATOR/DlgGrass.cpp
LGram16 dd97ddec92 Restructure repository to include all source folders
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>
2025-11-29 20:17:20 +09:00

63 lines
1.3 KiB
C++

// DlgGrass.cpp : implementation file
//
#include "stdafx.h"
#include "worldcreator.h"
#include "DlgGrass.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgGrass dialog
CDlgGrass::CDlgGrass(CWnd* pParent /*=NULL*/)
: CDialog(CDlgGrass::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgGrass)
m_bAddGrass = FALSE;
m_bDelGrass = FALSE;
//}}AFX_DATA_INIT
}
void CDlgGrass::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgGrass)
DDX_Check(pDX, IDC_CHECK_ADDGRASS, m_bAddGrass);
DDX_Check(pDX, IDC_CHECK_DELGRASS, m_bDelGrass);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgGrass, CDialog)
//{{AFX_MSG_MAP(CDlgGrass)
ON_BN_CLICKED(IDC_CHECK_ADDGRASS, OnCheckAddgrass)
ON_BN_CLICKED(IDC_CHECK_DELGRASS, OnCheckDelgrass)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgGrass message handlers
void CDlgGrass::OnCheckAddgrass()
{
// TODO: Add your control notification handler code here
m_bAddGrass=TRUE;
m_bDelGrass=FALSE;
UpdateData(FALSE);
}
void CDlgGrass::OnCheckDelgrass()
{
// TODO: Add your control notification handler code here
m_bAddGrass=FALSE;
m_bDelGrass=TRUE;
UpdateData(FALSE);
}