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 19 ///////////////////////////////////////////////////////////////////////////// 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 }; 32 int m_shock_enabled; 33 int m_duration_enabled; 34 BOOL m_special_exp_enabled; 35 int m_inner_rad; 36 int m_outer_rad; 37 int m_damage; 38 int m_shock_speed; 39 int m_duration; 40 int m_blast; 41 int m_ship_num; 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_) 78