2 * $Logfile: /Freespace2/code/FRED2/ship_select.h $
7 * Object selection (marking) dialog box handling code
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 2 10/07/98 6:28p Dave
15 * Initial checkin. Renamed all relevant stuff to be Fred2 instead of
16 * Fred. Globalized mission and campaign file extensions. Removed Silent
17 * Threat specific code.
19 * 1 10/07/98 3:01p Dave
21 * 1 10/07/98 3:00p Dave
23 * 10 9/09/97 10:29a Hoffoss
24 * Added support for neutral team, and fixed changes made to how team is
25 * used in ship structure.
27 * 9 8/26/97 11:08a Hoffoss
28 * Added waypoint paths to object selection dialog.
30 * 8 7/28/97 5:10p Hoffoss
31 * Removed all occurances of neutral team from Fred.
33 * 7 7/24/97 2:43p Hoffoss
34 * Made changes whiteside requested. Double clicking acts as clicking ok
37 * 6 5/26/97 10:30a Hoffoss
38 * Added select wing to object select dialog.
40 * 5 2/17/97 5:28p Hoffoss
41 * Checked RCS headers, added them were missing, changing description to
42 * something better, etc where needed.
47 /////////////////////////////////////////////////////////////////////////////
50 #include "shipchecklistbox.h"
53 class ship_select : public CDialog
60 ship_select(CWnd* pParent = NULL); // standard constructor
63 //{{AFX_DATA(ship_select)
64 enum { IDD = IDD_SHIP_SELECT };
69 BOOL m_filter_waypoints;
70 int m_filter_friendly;
78 // ClassWizard generated virtual function overrides
79 //{{AFX_VIRTUAL(ship_select)
81 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
87 // Generated message map functions
88 //{{AFX_MSG(ship_select)
89 virtual BOOL OnInitDialog();
90 afx_msg void OnSelchangeWingDisplayFilter();
91 afx_msg void OnFilterShips();
92 afx_msg void OnFilterStarts();
93 afx_msg void OnFilterWaypoints();
94 afx_msg void OnFilterShipsFriendly();
95 afx_msg void OnFilterShipsHostile();
96 afx_msg void OnFilterShipsNeutral();
97 afx_msg void OnFilterShipsUnknown();
98 afx_msg void OnClear();
100 afx_msg void OnInvert();
101 afx_msg void OnDblclkShipList();
102 afx_msg void OnSelchangeWingList();
103 afx_msg void OnSelchangeShipList();
104 afx_msg void OnDblclkWingList();
106 DECLARE_MESSAGE_MAP()
109 int activity, list_size, wlist_size, wplist_size;
110 object *obj_index[MAX_OBJECTS];
111 int wing_index[MAX_WINGS + MAX_WAYPOINT_LISTS];
112 int wing_sel_last[MAX_WINGS + MAX_WAYPOINT_LISTS];