FS2_Open
Open source remastering of the Freespace 2 engine
shipspecialhitpoints.h
Go to the documentation of this file.
1 // ShipSpecialHitpoints.h
2 // Goober5000
3 
4 #if !defined(AFX_SHIPSPECIALHITPOINTS_H__D612D530_131C_4339_A417_AFCAA090258A__INCLUDED_)
5 #define AFX_SHIPSPECIALHITPOINTS_H__D612D530_131C_4339_A417_AFCAA090258A__INCLUDED_
6 
7 #if _MSC_VER > 1000
8 #pragma once
9 #endif // _MSC_VER > 1000
10 // ShipSpecialHitpoints.h : header file
11 //
12 
14 // ShipSpecialHitpoints dialog
15 
16 class ShipSpecialHitpoints : public CDialog
17 {
18 // Construction
19 public:
20  ShipSpecialHitpoints(CWnd* pParent = NULL); // standard constructor
21 
22 // Dialog Data
23  //{{AFX_DATA(ShipSpecialHitpoints)
27  int m_shields;
28  int m_hull;
29  //}}AFX_DATA
30 
31 private:
32  // variables to handle selection of multiple ships
33  int m_selected_ships[MAX_SHIPS];
34  int num_selected_ships;
35  int m_ship_num;
36 
37 // Overrides
38  // ClassWizard generated virtual function overrides
39  //{{AFX_VIRTUAL(ShipSpecialHitpoints)
40  protected:
41  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
42  //}}AFX_VIRTUAL
43 
44 // Implementation
45 protected:
46 
47  // Generated message map functions
48  //{{AFX_MSG(ShipSpecialHitpoints)
49  afx_msg void OnEnableSpecialHitpoints();
50  afx_msg void OnEnableSpecialShieldpoints();
51  virtual BOOL OnInitDialog();
52  afx_msg void DoGray();
53  virtual void OnCancel();
54  virtual void OnOk();
55  //}}AFX_MSG
56  DECLARE_MESSAGE_MAP()
57 };
58 
59 //{{AFX_INSERT_LOCATION}}
60 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
61 
62 #endif // !defined(AFX_SHIPSPECIALHITPOINTS_H__D612D530_131C_4339_A417_AFCAA090258A__INCLUDED_)
#define MAX_SHIPS
Definition: globals.h:37
virtual void DoDataExchange(CDataExchange *pDX)
ShipSpecialHitpoints(CWnd *pParent=NULL)
afx_msg void OnEnableSpecialShieldpoints()
int BOOL
Definition: config.h:80
#define IDD_SPECIAL_HITPOINTS
Definition: resource.h:99
afx_msg void OnEnableSpecialHitpoints()