Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
58 lines
1.4 KiB
C++
58 lines
1.4 KiB
C++
// WizCopyMission.cpp : implementation file
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "contenttrack.h"
|
|
#include "mainfrm.h"
|
|
#include "WizCopyMission.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWizCopyMission
|
|
|
|
IMPLEMENT_DYNAMIC(CWizCopyMission, CPropertySheet)
|
|
|
|
CWizCopyMission::CWizCopyMission(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
|
|
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
|
|
{
|
|
}
|
|
|
|
CWizCopyMission::CWizCopyMission(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
|
|
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
|
|
{
|
|
}
|
|
|
|
CWizCopyMission::~CWizCopyMission()
|
|
{
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CWizCopyMission, CPropertySheet)
|
|
//{{AFX_MSG_MAP(CWizCopyMission)
|
|
// NOTE - the ClassWizard will add and remove mapping macros here.
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWizCopyMission message handlers
|
|
|
|
BOOL CWizCopyMission::OnInitDialog()
|
|
{
|
|
BOOL bResult = CPropertySheet::OnInitDialog();
|
|
|
|
CFrameWnd *pFrame = GetParentFrame();
|
|
CMainFrame *pMainFrame = (CMainFrame *)pFrame;
|
|
CDocument *pDoc = pMainFrame->MDIGetActive()->GetActiveDocument();
|
|
m_pSrcDoc = (CNodeDataValueFileDoc *)pDoc;
|
|
|
|
m_pDstDoc = NULL;
|
|
m_bRename = false;
|
|
|
|
return bResult;
|
|
}
|