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.
60 lines
1.6 KiB
C++
60 lines
1.6 KiB
C++
#if !defined(AFX_RESOURCEDLG_H__B84BED7E_74FD_400E_8FD9_A6B002FFF03A__INCLUDED_)
|
|
#define AFX_RESOURCEDLG_H__B84BED7E_74FD_400E_8FD9_A6B002FFF03A__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// ResourceDlg.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CResourceDlg dialog
|
|
class ObjectManager;
|
|
|
|
class CResourceDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
void GetGameData();
|
|
CResourceDlg(ObjectManager *objman,CWnd* pParent = NULL); // standard constructor
|
|
ObjectManager *ObjMan;
|
|
int BuildList,VehList,MiscList,MechList,LightList,CultList;
|
|
void LoadFromReg();
|
|
void SaveToReg();
|
|
// Dialog Data
|
|
//{{AFX_DATA(CResourceDlg)
|
|
enum { IDD = IDD_RESOURES };
|
|
CTabCtrl m_TTab;
|
|
CListBox m_RList;
|
|
//}}AFX_DATA
|
|
|
|
bool Initalized;
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CResourceDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CResourceDlg)
|
|
virtual void OnCancel();
|
|
virtual void OnOK();
|
|
afx_msg void OnClose();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSelchangeResourcelist();
|
|
afx_msg void OnSelchangeTypetab(NMHDR* pNMHDR, LRESULT* pResult);
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_RESOURCEDLG_H__B84BED7E_74FD_400E_8FD9_A6B002FFF03A__INCLUDED_)
|