FS2_Open
Open source remastering of the Freespace 2 engine
shipspecialdamage.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 #if !defined(AFX_SHIPSPECIALDAMAGE_H__89610237_C0F4_11D2_A8B6_0060088FAE88__INCLUDED_)
11 #define AFX_SHIPSPECIALDAMAGE_H__89610237_C0F4_11D2_A8B6_0060088FAE88__INCLUDED_
12 
13 #if _MSC_VER > 1000
14 #pragma once
15 #endif // _MSC_VER > 1000
16 // ShipSpecialDamage.h : header file
17 //
18 
20 // ShipSpecialDamage dialog
21 
22 class ShipSpecialDamage : public CDialog
23 {
24 // Construction
25 public:
26  ShipSpecialDamage(CWnd* pParent = NULL); // standard constructor
27  void update_ship(int ship);
28 
29 // Dialog Data
30  //{{AFX_DATA(ShipSpecialDamage)
31  enum { IDD = IDD_SPECIAL_DAMAGE };
37  int m_damage;
40  int m_blast;
42 
43 private:
44  // variables to handle selection of multiple ships
45  int m_selected_ships[MAX_SHIPS];
46  int num_selected_ships;
47 
48  //}}AFX_DATA
49 
50 
51 // Overrides
52  // ClassWizard generated virtual function overrides
53  //{{AFX_VIRTUAL(ShipSpecialDamage)
54  protected:
55  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
56  //}}AFX_VIRTUAL
57 
58 // Implementation
59 protected:
60 
61  // Generated message map functions
62  //{{AFX_MSG(ShipSpecialDamage)
63  afx_msg void OnEnableShockwave();
64  afx_msg void OnEnableDeathrollTime();
65  afx_msg void OnEnableSpecialExp();
66  virtual BOOL OnInitDialog();
67  afx_msg void DoGray();
68  virtual void OnCancel();
69  virtual void OnOK();
70  //}}AFX_MSG
71  DECLARE_MESSAGE_MAP()
72 };
73 
74 //{{AFX_INSERT_LOCATION}}
75 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
76 
77 #endif // !defined(AFX_SHIPSPECIALDAMAGE_H__89610237_C0F4_11D2_A8B6_0060088FAE88__INCLUDED_)
void update_ship(int ship)
afx_msg void OnEnableDeathrollTime()
virtual void OnCancel()
#define MAX_SHIPS
Definition: globals.h:37
ShipSpecialDamage(CWnd *pParent=NULL)
afx_msg void OnEnableShockwave()
#define IDD_SPECIAL_DAMAGE
Definition: resource.h:96
Definition: ship.h:534
virtual BOOL OnInitDialog()
int BOOL
Definition: config.h:80
virtual void DoDataExchange(CDataExchange *pDX)
afx_msg void OnEnableSpecialExp()