mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@3157 387891d4-d844-0410-90c0-e4c51a9137d3
78 lines
1.6 KiB
C++
78 lines
1.6 KiB
C++
/*
|
|
* Created by Ian "Goober5000" Warfield for the FreeSpace2 Source Code Project.
|
|
* You may not sell or otherwise commercially exploit the source or things you
|
|
* create based on the source.
|
|
*/
|
|
|
|
/*
|
|
* $Logfile: /Freespace2/code/FRED2/RestrictPaths.h $
|
|
* $Revision: 1.3 $
|
|
* $Date: 2006-06-04 01:01:52 $
|
|
* $Author: Goober5000 $
|
|
*
|
|
* Code for restricting arrival/departure to specific bays
|
|
*
|
|
* $Log: not supported by cvs2svn $
|
|
* Revision 1.2 2006/05/30 06:01:05 Goober5000
|
|
* fix up CVS headers
|
|
* --Goober5000
|
|
*
|
|
* Revision 1.1 2006/05/30 05:58:59 Goober5000
|
|
* I should probably add these files too
|
|
* --Goober5000
|
|
*
|
|
* $NoKeywords: $
|
|
*/
|
|
|
|
#include "model/model.h"
|
|
#include "parse/parselo.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// restrict_paths dialog
|
|
|
|
class restrict_paths : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
restrict_paths(CWnd* pParent = NULL); // standard constructor
|
|
|
|
// parameters for the dialog
|
|
bool m_arrival;
|
|
int m_ship_class;
|
|
int *m_path_mask;
|
|
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(restrict_paths)
|
|
enum { IDD = IDD_RESTRICT_PATHS };
|
|
CCheckListBox m_path_list;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(restrict_paths)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(restrict_paths)
|
|
virtual BOOL OnInitDialog();
|
|
void OnCancel();
|
|
void OnOK();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
// model info
|
|
polymodel *m_model;
|
|
int m_num_paths;
|
|
|
|
// regenerate all controls
|
|
void reset_controls();
|
|
};
|