]> icculus.org git repositories - taylor/freespace2.git/blob - include/initialstatus.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / initialstatus.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 // InitialStatus.h : header file
10 //
11
12 /////////////////////////////////////////////////////////////////////////////
13 // initial_status dialog
14
15 class initial_status : public CDialog
16 {
17 // Construction
18 public:
19         void undock(int obj);
20         void OnOK();
21         int inited;
22         void change_subsys();
23         initial_status(CWnd* pParent = NULL);   // standard constructor
24         void initialize_docker_points();
25         void initialize_dockee_points();
26
27         int m_ship;
28         int m_docked_with;
29         int m_multi_edit;
30
31 // Dialog Data
32         //{{AFX_DATA(initial_status)
33         enum { IDD = IDD_INITIAL_STATUS };
34         CSpinButtonCtrl m_hull_spin;
35         CSpinButtonCtrl m_velocity_spin;
36         CSpinButtonCtrl m_shields_spin;
37         CSpinButtonCtrl m_damage_spin;
38         int             m_damage;
39         int             m_docked;
40         int             m_shields;
41         int             m_velocity;
42         int             m_hull;
43         int             m_dockee_point;
44         int             m_docker_point;
45         BOOL    m_has_shields;
46         int             m_locked;
47         CString m_cargo_name;
48         //}}AFX_DATA
49
50
51 // Overrides
52         // ClassWizard generated virtual function overrides
53         //{{AFX_VIRTUAL(initial_status)
54         protected:
55         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
56         //}}AFX_VIRTUAL
57
58 // Implementation
59 protected:
60
61         // Generated message map functions
62         //{{AFX_MSG(initial_status)
63         virtual BOOL OnInitDialog();
64         afx_msg void OnSelchangeSubsys();
65         afx_msg void OnSelchangeDocked();
66         afx_msg void OnSelchangeDockerPoint();
67         afx_msg void OnHasShields();
68         afx_msg void OnLocked();
69         //}}AFX_MSG
70         DECLARE_MESSAGE_MAP()
71
72 private:
73         void reset_arrival_to_false( int shipnum );
74         int cur_subsys;
75         int m_docker_index;
76         int m_dockee_index;
77 };
78