2001-04-30 23:49:54 +02:00
|
|
|
#if !defined(AFX_GUILAYERHAZARD_H__D2268E7C_1D7E_4C2F_AF3C_49BB374ED65B__INCLUDED_)
|
|
|
|
#define AFX_GUILAYERHAZARD_H__D2268E7C_1D7E_4C2F_AF3C_49BB374ED65B__INCLUDED_
|
2001-04-28 17:20:54 +02:00
|
|
|
|
|
|
|
#if _MSC_VER > 1000
|
|
|
|
#pragma once
|
|
|
|
#endif // _MSC_VER > 1000
|
2001-04-30 23:49:54 +02:00
|
|
|
// GUILayerHazard.h : header file
|
2001-04-28 17:20:54 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2001-04-30 23:49:54 +02:00
|
|
|
// CGUILayerHazard dialog
|
2001-04-28 17:20:54 +02:00
|
|
|
|
2001-04-30 23:49:54 +02:00
|
|
|
class CGUILayerHazard : public CDialog
|
2001-04-28 17:20:54 +02:00
|
|
|
{
|
|
|
|
// Construction
|
|
|
|
public:
|
2001-04-30 23:49:54 +02:00
|
|
|
CGUILayerHazard(CWnd* pParent = NULL); // standard constructor
|
2001-04-28 17:20:54 +02:00
|
|
|
|
|
|
|
// Dialog Data
|
2001-04-30 23:49:54 +02:00
|
|
|
//{{AFX_DATA(CGUILayerHazard)
|
|
|
|
enum { IDD = IDD_LAYER_HAZARD };
|
2001-04-28 17:20:54 +02:00
|
|
|
CSpinButtonCtrl m_TurnRateSpin;
|
|
|
|
CSpinButtonCtrl m_SpeedSpin;
|
|
|
|
CSpinButtonCtrl m_HealthSpin;
|
|
|
|
CSpinButtonCtrl m_AttackSpin;
|
2001-04-30 23:49:54 +02:00
|
|
|
CSpinButtonCtrl m_RespawnSpin;
|
2001-04-28 17:20:54 +02:00
|
|
|
CButton m_Collision;
|
|
|
|
CEdit m_TurnRate;
|
|
|
|
CEdit m_Speed;
|
|
|
|
CEdit m_Attack;
|
|
|
|
CEdit m_Health;
|
2001-04-30 23:49:54 +02:00
|
|
|
CEdit m_Respawn;
|
2001-04-28 17:20:54 +02:00
|
|
|
//}}AFX_DATA
|
|
|
|
|
|
|
|
|
|
|
|
// Overrides
|
|
|
|
// ClassWizard generated virtual function overrides
|
2001-04-30 23:49:54 +02:00
|
|
|
//{{AFX_VIRTUAL(CGUILayerHazard)
|
2001-04-28 17:20:54 +02:00
|
|
|
protected:
|
|
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
// Implementation
|
|
|
|
|
|
|
|
public:
|
|
|
|
void DisableCallback(bool f) {CallbackFlag=f;}
|
|
|
|
void SetVal(CEdit &Dlg,int Number);
|
|
|
|
int GetVal(CEdit &Dlg);
|
|
|
|
protected:
|
|
|
|
bool CallbackFlag;
|
|
|
|
|
|
|
|
// Generated message map functions
|
2001-04-30 23:49:54 +02:00
|
|
|
//{{AFX_MSG(CGUILayerHazard)
|
2001-04-28 17:20:54 +02:00
|
|
|
afx_msg void OnChangeParam();
|
|
|
|
//}}AFX_MSG
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
};
|
|
|
|
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
|
2001-04-30 23:49:54 +02:00
|
|
|
#endif // !defined(AFX_GUILAYERHAZARD_H__D2268E7C_1D7E_4C2F_AF3C_49BB374ED65B__INCLUDED_)
|