15 #include "CreateWingDlg.h"
24 static char THIS_FILE[] = __FILE__;
40 CDialog::DoDataExchange(pDX);
66 if (m_name.IsEmpty()) {
67 MessageBox(
"You must give a name before you can continue.");
73 msg.Format(
"The name \"%s\" is already being used by another wing", m_name);
97 MessageBox(
"This wing name is already being used by a ship");
108 msg.Format(
"The name \"%s\" is already being used by a team", m_name);
116 msg.Format(
"The name \"%s\" is already being used by a target priority group", m_name);
124 MessageBox(
"This wing name is already being used by a waypoint path");
128 if (!
stricmp(m_name.Left(1),
"<")) {
129 MessageBox(
"Wing names not allowed to begin with <");
char * drop_white_space(char *str)
#define END_OF_LIST(head)
iff_info Iff_info[MAX_IFFS]
typedef int(SCP_EXT_CALLCONV *SCPDLL_PFVERSION)(SCPDLL_Version *)
#define strnicmp(s1, s2, n)
GLuint const GLchar * name
waypoint_list * find_matching_waypoint_list(const char *name)
virtual void DoDataExchange(CDataExchange *pDX)
int MessageBox(HWND h, const char *s1, const char *s2, int i)
create_wing_dlg(CWnd *pParent=NULL)
SCP_vector< ai_target_priority > Ai_tp_list
char ship_name[NAME_LENGTH]