SmaugWizard/Backup/
SmaugWizard/Backup/L/
SmaugWizard/Boards/
SmaugWizard/Building/
SmaugWizard/Corpses/
SmaugWizard/Councils/
SmaugWizard/Deity/
SmaugWizard/Gods/
SmaugWizard/MudProgs/
SmaugWizard/Player/L/
SmaugWizard/Src/
SmaugWizard/Src/res/
// AutoStart.cpp : implementation file
//

#include	"stdafx.h"
#include	"SmaugWiz.h"
#include	"AutoStart.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAutoStart dialog


CAutoStart::CAutoStart(CWnd* pParent /*=NULL*/)
	: CDialog(CAutoStart::IDD, pParent)
{
	//{{AFX_DATA_INIT(CAutoStart)
	m_Time = 0;
	//}}AFX_DATA_INIT

	m_pParent = pParent;
	m_nID = CAutoStart::IDD;
	m_bCancel = m_bStartNow = FALSE;
}


void CAutoStart::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAutoStart)
	DDX_Text(pDX, IDC_SCOUNT, m_Time);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAutoStart, CDialog)
	//{{AFX_MSG_MAP(CAutoStart)
	ON_BN_CLICKED(IDC_STNOW, OnStartNow)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAutoStart message handlers

void CAutoStart::OnCancel () 
{
	m_bCancel = TRUE;
}

void CAutoStart::OnStartNow() 
{
	m_bStartNow = TRUE;
}