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.
70 lines
1.9 KiB
C++
70 lines
1.9 KiB
C++
// MapCopyDlg.h : header file
|
|
//
|
|
|
|
#if !defined(AFX_MAPCOPYDLG_H__F88D99D3_7DC5_4944_95E4_831E0718DDBE__INCLUDED_)
|
|
#define AFX_MAPCOPYDLG_H__F88D99D3_7DC5_4944_95E4_831E0718DDBE__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CMapCopyDlg dialog
|
|
|
|
class CMapCopyDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
int CopyContent(CString,CString,CString);
|
|
int CopyDirectory(CString,CString,CString = "");
|
|
int SyncDirectory(CString,CString);
|
|
int m_copymode;
|
|
int ScanDestMaps();
|
|
CString m_strGameDir;
|
|
int ScanContentMaps();
|
|
CMapCopyDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CMapCopyDlg)
|
|
enum { IDD = IDD_MAPCOPY_DIALOG };
|
|
CListBox m_listStatus;
|
|
CListBox m_listDestination;
|
|
CListBox m_listContent;
|
|
CEdit m_editDirectory;
|
|
CButton m_btnBrowse;
|
|
//}}AFX_DATA
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CMapCopyDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CMapCopyDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
afx_msg void OnBrowse();
|
|
afx_msg void OnRadio1();
|
|
afx_msg void OnRadio2();
|
|
afx_msg void OnRadio3();
|
|
afx_msg void OnAddtemp();
|
|
afx_msg void OnAddcontent();
|
|
afx_msg void OnUpdate();
|
|
afx_msg void OnExecute();
|
|
afx_msg void OnSyncBuildings();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_MAPCOPYDLG_H__F88D99D3_7DC5_4944_95E4_831E0718DDBE__INCLUDED_)
|