17 static char THIS_FILE[] = __FILE__;
31 CDialog::DoDataExchange(pDX);
50 m_num_paths = m_model->ship_bay->num_paths;
54 CDialog::OnInitDialog();
63 void restrict_paths::reset_controls()
70 for (i = 0; i < m_num_paths; i++)
87 label->SetWindowText(
"Restrict arrival paths to the following:");
89 label->SetWindowText(
"Restrict departure paths to the following:");
108 int i, num_allowed = 0;
115 for (i = 0; i < m_num_paths; i++)
125 if (num_allowed == m_num_paths)
void record_window_data(window_data *wndd, CWnd *wnd)
polymodel * model_get(int model_num)
CCheckListBox m_path_list
int init_window(window_data *wndd, CWnd *wnd, int adjust=0, int pre=0)
virtual void DoDataExchange(CDataExchange *pDX)
restrict_paths(CWnd *pParent=NULL)
SCP_vector< ship_info > Ship_info
#define IDC_RESTRICT_PATHS_LABEL
window_data Player_wnd_data
int path_indexes[MAX_SHIP_BAY_PATHS]