Debian Codegraph @

editor/WorldWeaponsDialog.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 // WorldWeaponsDialog.h : header file
20 //
21
22 #include "gr.h"
23
24 /////////////////////////////////////////////////////////////////////////////
25 // CWorldWeaponsDialog dialog
26
27 class CWorldWeaponsDialog : public CDialog {
28 // Construction
29 public:
30 CWorldWeaponsDialog(CWnd *pParent = NULL); // standard constructor
31
32 // Dialog Data
33 //{{AFX_DATA(CWorldWeaponsDialog)
34 enum { IDD = IDD_WORLDWEAPONS };
35 // NOTE: the ClassWizard will add data members here
36 //}}AFX_DATA
37
38 // Overrides
39 // ClassWizard generated virtual function overrides
40 //{{AFX_VIRTUAL(CWorldWeaponsDialog)
41 public:
42 virtual BOOL DestroyWindow();
43
44 protected:
45 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
46 //}}AFX_VIRTUAL
47
48 // Implementation
49 protected:
50 // Generated message map functions
51 //{{AFX_MSG(CWorldWeaponsDialog)
52 afx_msg void OnAddWeapon();
53 afx_msg void OnDeleteWeapon();
54 afx_msg void OnCheckinWeapon();
55 afx_msg void OnLockWeapon();
56 afx_msg void OnNextWeapon();
57 afx_msg void OnPrevWeapon();
58 afx_msg void OnLoadWeaponAnim();
59 afx_msg void OnSelendokWeaponPulldown();
60 afx_msg void OnWeaponsOut();
61 virtual BOOL OnInitDialog();
62 afx_msg void OnTimer(UINT nIDEvent);
63 afx_msg void OnLoadWeaponDischarge();
64 afx_msg void OnSelendokFireSoundPulldown();
65 afx_msg void OnSelendokWeaponWallSoundPulldown();
66 afx_msg void OnKillfocusWeaponFireDelayEdit();
67 afx_msg BOOL OnHelpInfo(HELPINFO *pHelpInfo);
68 afx_msg void OnWeaponHomingCheck();
69 afx_msg void OnWeaponCollideWithSiblingCheck();
70 afx_msg void OnWeaponUseParentVelocityCheck();
71 afx_msg void OnKillfocusWeaponThrustTimeEdit();
72 afx_msg void OnKillfocusWeaponBlobSizeEdit();
73 afx_msg void OnKillfocusWeaponImpactSizeEdit();
74 afx_msg void OnKillfocusWeaponLifeTimeEdit();
75 afx_msg void OnKillfocusWeaponDamageEdit();
76 afx_msg void OnSmokeCheck();
77 afx_msg void OnEditPhysics();
78 afx_msg void OnChangeName();
79 afx_msg void OnWeaponLightInfo();
80 afx_msg void OnEnergyRadio();
81 afx_msg void OnMatterRadio();
82 afx_msg void OnElectricalCheck();
83 afx_msg void OnDefaultSize();
84 afx_msg void OnKillfocusWeaponImpactTimeEdit();
85 afx_msg void OnSelendokSmokePulldown();
86 afx_msg void OnSelendokExplodePulldown();
87 afx_msg void OnSprayCheck();
88 afx_msg void OnInstantCheck();
89 afx_msg void OnInvisible();
90 afx_msg void OnRing();
91 afx_msg void OnExplodeRing();
92 afx_msg void OnPlanarBlast();
93 afx_msg void OnSaturateCheck();
94 afx_msg void OnKillfocusWeaponAlphaEdit();
95 afx_msg void OnPlanarCheck();
96 afx_msg void OnKillfocusExplodeSizeEdit();
97 afx_msg void OnKillfocusExplodeTimeEdit();
98 afx_msg void OnSelendokWeaponSpawnPulldown();
99 afx_msg void OnKillfocusWeaponSpawnEdit();
100 afx_msg void OnSpawnsOnImpact();
101 afx_msg void OnSpawnsOnTimeout();
102 afx_msg void OnOverride();
103 afx_msg void OnKillfocusParticleCountEdit();
104 afx_msg void OnKillfocusParticleLifeEdit();
105 afx_msg void OnKillfocusParticleSizeEdit();
106 afx_msg void OnSelendokParticlePulldown();
107 afx_msg void OnWeaponCopyButton();
108 afx_msg void OnWeaponPasteButton();
109 afx_msg void OnExpandingCheck();
110 afx_msg void OnMuzzleFlash();
111 afx_msg void OnMicrowave();
112 afx_msg void OnNapalm();
113 afx_msg void OnSelendokWeaponBounceSoundCombo();
114 afx_msg void OnKillfocusWeaponImpactTimeEdit2();
115 afx_msg void OnKillfocusWeaponImpactDamageEdit();
116 afx_msg void OnKillfocusWeaponImpactForceEdit();
117 afx_msg void OnSelendokScorchPulldown();
118 afx_msg void OnKillfocusWeaponScorchSizeEdit();
119 afx_msg void OnSelendokSmallimgPulldown();
120 afx_msg void OnSelendokSpawn2Pulldown();
121 afx_msg void OnKillfocusAlternateChanceEdit();
122 afx_msg void OnReverseSmokeCheck();
123 afx_msg void OnGravityFieldCheck();
124 afx_msg void OnKillfocusGravitySize();
125 afx_msg void OnKillfocusGravityTime();
126 afx_msg void OnCountermeasureCheck();
127 afx_msg void OnSpawnsRobotCheck();
128 afx_msg void OnSelendokSpawnRobotPulldown();
129 afx_msg void OnKillfocusTerrianDamageSize();
130 afx_msg void OnKillfocusTerrainDamageDepth();
131 afx_msg void OnFreezeCheck();
132 afx_msg void OnSilentHomingCheck();
133 afx_msg void OnHomedSplitCheck();
134 afx_msg void OnKillfocusHomingFovText();
135 afx_msg void OnNoRotateCheck();
136 afx_msg void OnCustomSizeCheck();
137 afx_msg void OnKillfocusCustomSizeEdit();
138 afx_msg void OnTimeoutWallCheck();
139 afx_msg void OnEnableCamera();
140 afx_msg void OnKillfocusWeaponGenericDamageEdit();
141 afx_msg void OnKillfocusWeaponImpactGenericDamageEdit();
142 afx_msg void OnPlanarSmokeCheck();
143 afx_msg void OnKillfocusWeaponRecoilForceEdit();
144 //}}AFX_MSG
145 DECLARE_MESSAGE_MAP()
146
147 private:
148 void UpdateDialog(void);
149 void SaveWeaponsOnClose();
150 void UpdateWeaponView();
151
152 grHardwareSurface m_WeaponSurf;
153 };