| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#include "gr.h" |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
class CWorldWeaponsDialog : public CDialog { |
| 28 |
|
| 29 |
public: |
| 30 |
CWorldWeaponsDialog(CWnd *pParent = NULL); |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
enum { IDD = IDD_WORLDWEAPONS }; |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
public: |
| 42 |
virtual BOOL DestroyWindow(); |
| 43 |
|
| 44 |
protected: |
| 45 |
virtual void DoDataExchange(CDataExchange *pDX); |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
protected: |
| 50 |
|
| 51 |
|
| 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 |
|
| 145 |
DECLARE_MESSAGE_MAP() |
| 146 |
|
| 147 |
private: |
| 148 |
void UpdateDialog(void); |
| 149 |
void SaveWeaponsOnClose(); |
| 150 |
void UpdateWeaponView(); |
| 151 |
|
| 152 |
grHardwareSurface m_WeaponSurf; |
| 153 |
}; |