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.
106 lines
2.7 KiB
C++
106 lines
2.7 KiB
C++
// autoconfigDlg.h : header file
|
|
//
|
|
|
|
#if !defined(AFX_AUTOCONFIGDLG_H__3FCF4961_163C_4234_90A2_673C4C804F74__INCLUDED_)
|
|
#define AFX_AUTOCONFIGDLG_H__3FCF4961_163C_4234_90A2_673C4C804F74__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
|
|
#if !defined(STUFF_STUFF_HPP)
|
|
#include "Stuff\Stuff.hpp"
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CAutoconfigDlg dialog
|
|
|
|
class CAutoconfigDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CAutoconfigDlg(CWnd* pParent = NULL); // standard constructor
|
|
~CAutoconfigDlg();
|
|
// Dialog Data
|
|
//{{AFX_DATA(CAutoconfigDlg)
|
|
enum { IDD = IDD_AUTOCONFIG_DIALOG };
|
|
CComboBox m_FontSize;
|
|
CComboBox m_AntiAliasList;
|
|
CComboBox m_MachineList;
|
|
CButton m_SimBut;
|
|
CButton m_AdvBut;
|
|
CComboBox m_ShadowList;
|
|
CComboBox m_WaterList;
|
|
CComboBox m_VideCardList;
|
|
CComboBox m_VertexLightList;
|
|
CComboBox m_TextureLevelList;
|
|
CComboBox m_TerrainLevelList;
|
|
CComboBox m_SDetailList;
|
|
CComboBox m_ScreenResList;
|
|
CComboBox m_NoBlendList;
|
|
CComboBox m_MusicList;
|
|
CComboBox m_MultiTextureList;
|
|
CComboBox m_MaxLightsList;
|
|
CComboBox m_LODLevelList;
|
|
CComboBox m_LightMapList;
|
|
CComboBox m_FootStepList;
|
|
CComboBox m_EffectList;
|
|
CComboBox m_DetailList;
|
|
CComboBox m_CultList;
|
|
//}}AFX_DATA
|
|
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CAutoconfigDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
void AutoDetectLevel(int device);
|
|
void Save(bool killgame=false);
|
|
void InitComboBoxes(void);
|
|
void InitGos(void);
|
|
void GetResList();
|
|
void DefaultToLevel(int lev);
|
|
DWORD GetDeviceMemory(int dev);
|
|
int BestDevice();
|
|
int GetModeInList(int xval,int yval,int dep);
|
|
|
|
HWND Window;
|
|
bool gosCreated;
|
|
CRect OrgRect;
|
|
bool BadCard[16];
|
|
|
|
// Implementation
|
|
protected:
|
|
HICON m_hIcon;
|
|
void SetDlgMode(bool simple);
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CAutoconfigDlg)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
afx_msg void OnTest();
|
|
afx_msg void OnClose();
|
|
afx_msg void OnExit();
|
|
afx_msg void OnSelchangeVideocard();
|
|
afx_msg void OnAdvanced();
|
|
afx_msg void OnSimple();
|
|
afx_msg void OnSelchangeMachine();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_AUTOCONFIGDLG_H__3FCF4961_163C_4234_90A2_673C4C804F74__INCLUDED_)
|