15 #include "ShipSpecialDamage.h"
22 static char THIS_FILE[] = __FILE__;
39 CDialog::DoDataExchange(pDX);
49 DDV_MinMaxInt(pDX,
m_damage, 0, INT_MAX);
55 DDV_MinMaxInt(pDX,
m_blast, 0, INT_MAX);
109 num_selected_ships = 0;
115 m_selected_ships[num_selected_ships] = objp->
instance;
116 num_selected_ships++;
163 CDialog::OnInitDialog();
199 MessageBox(
"Inner radius must be less than outer radius");
203 for ( i = 0; i < num_selected_ships; i++ ) {
228 MessageBox(
"Shockwave speed must be defined! Setting this to 1 now");
235 MessageBox(
"Death roll time must be at least 2 milliseconds!");
void update_ship(int ship)
afx_msg void OnEnableDeathrollTime()
shockwave_create_info shockwave
#define IDC_SPECIAL_DAMAGE
ShipSpecialDamage(CWnd *pParent=NULL)
#define END_OF_LIST(head)
#define IDC_ENABLE_SHOCKWAVE
#define IDC_SPECIAL_INNER_RAD
#define IDC_ENABLE_DEATHROLL_TIME
bool use_special_explosion
typedef int(SCP_EXT_CALLCONV *SCPDLL_PFVERSION)(SCPDLL_Version *)
#define IDC_SPECIAL_DEATHROLL_TIME
int special_exp_deathroll_time
#define IDC_SPECIAL_BLAST
object Objects[MAX_OBJECTS]
BOOL m_special_exp_enabled
#define IDC_SPECIAL_OUTER_RAD
void set_modified(BOOL arg)
virtual BOOL OnInitDialog()
#define IDC_ENABLE_SPECIAL_EXP
virtual void DoDataExchange(CDataExchange *pDX)
afx_msg void OnEnableSpecialExp()
SCP_vector< ship_info > Ship_info
int MessageBox(HWND h, const char *s1, const char *s2, int i)
#define IDC_SPECIAL_SHOCK_SPEED
int special_exp_shockwave_speed