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.
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
#if !defined(AFX_LIMITEDFILEDIALOG_H__76210A85_6FE0_11D2_8409_00A0C933BCAC__INCLUDED_)
|
|
#define AFX_LIMITEDFILEDIALOG_H__76210A85_6FE0_11D2_8409_00A0C933BCAC__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// LimitedFileDialog.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLimitedFileDialog dialog
|
|
|
|
class CLimitedFileDialog : public CFileDialog
|
|
{
|
|
DECLARE_DYNAMIC(CLimitedFileDialog)
|
|
|
|
public:
|
|
void SetDir(CString &dir);
|
|
void OnFolderChange();
|
|
CLimitedFileDialog(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
|
|
LPCTSTR lpszDefExt = NULL,
|
|
LPCTSTR lpszFileName = NULL,
|
|
DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
|
|
LPCTSTR lpszFilter = NULL,
|
|
CWnd* pParentWnd = NULL);
|
|
CString wstr;
|
|
|
|
protected:
|
|
CString Path;
|
|
//{{AFX_MSG(CLimitedFileDialog)
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_LIMITEDFILEDIALOG_H__76210A85_6FE0_11D2_8409_00A0C933BCAC__INCLUDED_)
|