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.
73 lines
1.4 KiB
C++
73 lines
1.4 KiB
C++
// LoadingLogDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLoadingLogDlg dialog
|
|
|
|
|
|
#if !defined (LOADINGLOGDLG_HPP)
|
|
# define LOADINGLOGDLG_HPP
|
|
|
|
|
|
class CLoadingLogDlg;
|
|
|
|
#include "LabRatDoc.h"
|
|
#include "resource.h"
|
|
|
|
class CLoadingLogDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
volatile int loading_timer;
|
|
volatile LONG maxCount;
|
|
volatile int count;
|
|
volatile BOOL stopProcess;
|
|
|
|
BOOL loading;
|
|
CArchive *ar;
|
|
CLabRatDoc *document;
|
|
|
|
public:
|
|
CLoadingLogDlg(CWnd* pParent = NULL); // standard constructor
|
|
|
|
void CancelRecived();
|
|
|
|
void SetMaxCount(LONG max_count)
|
|
{
|
|
maxCount = max_count;
|
|
};
|
|
|
|
void AddString(CString message);
|
|
void SetTopIndex(int index);
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CLoadingLogDlg)
|
|
enum { IDD = IDD_LOAD_DIALOG };
|
|
// NOTE: the ClassWizard will add data members here
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CLoadingLogDlg)
|
|
public:
|
|
virtual int DoModal(CArchive& ar, CLabRatDoc *document);
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CLoadingLogDlg)
|
|
virtual void OnCancel();
|
|
afx_msg void OnTimer(UINT nIDEvent);
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
#endif
|