Debian Codegraph @

editor/PlayerWeaponsDialog.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #if !defined(AFX_PLAYERWEAPONSDIALOG_H__C8CA18E3_545B_11D1_97A7_004095AA4FAE__INCLUDED_)
20 #define AFX_PLAYERWEAPONSDIALOG_H__C8CA18E3_545B_11D1_97A7_004095AA4FAE__INCLUDED_
21
22 #if _MSC_VER >= 1000
23 #pragma once
24 #endif // _MSC_VER >= 1000
25 // PlayerWeaponsDialog.h : header file
26 //
27
28 /////////////////////////////////////////////////////////////////////////////
29 // PlayerWeaponsDialog dialog
30
31 class PlayerWeaponsDialog : public CDialog {
32 // Construction
33 public:
34 PlayerWeaponsDialog(int current_ship, CWnd *pParent = NULL); // standard constructor
35
36 // Dialog Data
37 //{{AFX_DATA(PlayerWeaponsDialog)
38 enum { IDD = IDD_PLAYER_WEAPONS };
39 CString m_current_wb_text;
40 //}}AFX_DATA
41
42 // Overrides
43 // ClassWizard generated virtual function overrides
44 //{{AFX_VIRTUAL(PlayerWeaponsDialog)
45 protected:
46 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
47 //}}AFX_VIRTUAL
48
49 // Implementation
50 protected:
51 void UpdateDialog(void);
52 int CurrentWBIndex(void);
53
54 int m_current_ship;
55
56 // Generated message map functions
57 //{{AFX_MSG(PlayerWeaponsDialog)
58 afx_msg void OnEditWbButton();
59 virtual BOOL OnInitDialog();
60 afx_msg void OnSelendokCurrentWeaponBatteryCombo();
61 afx_msg void OnFiresFusion();
62 afx_msg void OnContinuousFiringSound();
63 afx_msg void OnFiringReleaseSound();
64 afx_msg void OnSelchangeFiringSoundPulldown();
65 afx_msg void OnSelchangeReleaseSoundPulldown();
66 afx_msg void OnSelchangeSpewPowerupPulldown();
67 afx_msg void OnOnoff();
68 afx_msg void OnZoom();
69 afx_msg void OnKillfocusMaxAmmo();
70 afx_msg void OnShowTenths();
71 //}}AFX_MSG
72 DECLARE_MESSAGE_MAP()
73 };
74
75 //{{AFX_INSERT_LOCATION}}
76 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
77
78 #endif // !defined(AFX_PLAYERWEAPONSDIALOG_H__C8CA18E3_545B_11D1_97A7_004095AA4FAE__INCLUDED_)