| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
#if !defined(AFX_WORLDOBJECTSGENERICDIALOG_H__631E2882_0E6D_11D1_86CC_004033312F7C__INCLUDED_) |
| 20 |
#define AFX_WORLDOBJECTSGENERICDIALOG_H__631E2882_0E6D_11D1_86CC_004033312F7C__INCLUDED_ |
| 21 |
|
| 22 |
#if _MSC_VER >= 1000 |
| 23 |
#pragma once |
| 24 |
#endif |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
#include "gr.h" |
| 29 |
#include "SoundListCombo.h" |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
class CWorldObjectsGenericDialog : public CDialog { |
| 35 |
|
| 36 |
public: |
| 37 |
CWorldObjectsGenericDialog(CWnd *pParent = NULL); |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
enum { IDD = IDD_WORLDOBJECTSGENERIC }; |
| 42 |
CSoundListCombo m_ambient_sound_combo; |
| 43 |
CSoundListCombo m_explosion_sound_combo; |
| 44 |
CString m_type_name; |
| 45 |
int m_current; |
| 46 |
CString m_sInvenDescription; |
| 47 |
CString m_sInvenIconName; |
| 48 |
|
| 49 |
|
| 50 |
int m_type; |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
public: |
| 56 |
virtual BOOL DestroyWindow(); |
| 57 |
|
| 58 |
protected: |
| 59 |
virtual void DoDataExchange(CDataExchange *pDX); |
| 60 |
|
| 61 |
|
| 62 |
private: |
| 63 |
void UpdateDialog(void); |
| 64 |
void SaveGenericsOnClose(); |
| 65 |
void EnableDisableAll(bool flag); |
| 66 |
void SaveObjectsOnClose(void); |
| 67 |
void UpdateObjectView(void); |
| 68 |
bool IsLocked(int n); |
| 69 |
int CountLockedItems(void); |
| 70 |
int GetTextureUsageForPolymodel(int); |
| 71 |
|
| 72 |
grHardwareSurface m_ObjectSurf; |
| 73 |
int m_locked_count; |
| 74 |
int m_lod; |
| 75 |
|
| 76 |
|
| 77 |
protected: |
| 78 |
|
| 79 |
|
| 80 |
virtual BOOL OnInitDialog(); |
| 81 |
afx_msg void OnGenericEditAI(); |
| 82 |
afx_msg void OnGenericEditPhysics(); |
| 83 |
afx_msg void OnGenericUsesAI(); |
| 84 |
afx_msg void OnGenericUsesPhysics(); |
| 85 |
afx_msg void OnGenericAddNew(); |
| 86 |
afx_msg void OnGenericCheckedOut(); |
| 87 |
afx_msg void OnGenericCheckIn(); |
| 88 |
afx_msg void OnGenericDefineAnimStates(); |
| 89 |
afx_msg void OnGenericDelete(); |
| 90 |
afx_msg void OnGenericLock(); |
| 91 |
afx_msg void OnGenericNext(); |
| 92 |
afx_msg void OnGenericPrev(); |
| 93 |
afx_msg void OnGenericChangeModel(); |
| 94 |
afx_msg void OnGenericChangeName(); |
| 95 |
afx_msg void OnTimer(UINT nIDEvent); |
| 96 |
afx_msg void OnSelendokGenericNamePulldown(); |
| 97 |
afx_msg void OnKillfocusGenericSizeEdit(); |
| 98 |
afx_msg void OnGenericCopy(); |
| 99 |
afx_msg void OnGenericPaste(); |
| 100 |
afx_msg void OnKillfocusGenericScriptIDEdit(); |
| 101 |
afx_msg void OnGenericUndoLock(); |
| 102 |
afx_msg void OnGenericDestroyable(); |
| 103 |
afx_msg void OnKillfocusGenericHitpointEdit(); |
| 104 |
afx_msg void OnDestroy(); |
| 105 |
afx_msg void OnGenericWeaponInfoButton(); |
| 106 |
afx_msg void OnGenericLightButton(); |
| 107 |
afx_msg void OnDefaultRadiusButton(); |
| 108 |
afx_msg void OnSelScript(); |
| 109 |
afx_msg void OnGenericConcussiveCheck(); |
| 110 |
afx_msg void OnKillfocusGenericImpactDamageEdit(); |
| 111 |
afx_msg void OnKillfocusGenericImpactSizeEdit(); |
| 112 |
afx_msg void OnNolod(); |
| 113 |
afx_msg void OnHiresRadio(); |
| 114 |
afx_msg void OnMedresRadio(); |
| 115 |
afx_msg void OnLoresRadio(); |
| 116 |
afx_msg void OnKillfocusGenericImpactTimeEdit(); |
| 117 |
afx_msg void OnSelendokGenericExplosionSoundCombo(); |
| 118 |
afx_msg void OnSelendokGenericAmbientSoundCombo(); |
| 119 |
afx_msg void OnKillfocusGenericInvenDescription(); |
| 120 |
afx_msg void OnKillfocusGenericInvenIconname(); |
| 121 |
afx_msg void OnOverride(); |
| 122 |
afx_msg void OnGenericInvenSelectable(); |
| 123 |
afx_msg void OnGenericInvenNonuseable(); |
| 124 |
afx_msg void OnKillfocusLodDistanceEdit(); |
| 125 |
afx_msg void OnInvtypeGame(); |
| 126 |
afx_msg void OnInvtypeMission(); |
| 127 |
afx_msg void OnInvenNoremove(); |
| 128 |
afx_msg void OnInvenViswhenused(); |
| 129 |
afx_msg void OnSelendokDeathPowerup1Pulldown(); |
| 130 |
afx_msg void OnKillfocusDeathPowerup1NumEdit(); |
| 131 |
afx_msg void OnKillfocusDeathPowerup1PercentEdit(); |
| 132 |
afx_msg void OnKillfocusDeathPowerup2NumEdit(); |
| 133 |
afx_msg void OnKillfocusDeathPowerup2PercentEdit(); |
| 134 |
afx_msg void OnSelendokDeathPowerup2Pulldown(); |
| 135 |
afx_msg void OnDeathPowerupUse2IfHave1Check(); |
| 136 |
afx_msg void OnGenericDeathSpew2IfZero1(); |
| 137 |
afx_msg void OnKillfocusScriptname(); |
| 138 |
afx_msg void OnCompilemodule(); |
| 139 |
afx_msg void OnKillfocusScriptOverride(); |
| 140 |
afx_msg void OnGenericAiScriptedDeath(); |
| 141 |
afx_msg void OnKillfocusRespawnScalarEdit(); |
| 142 |
afx_msg void OnGenericDeaths(); |
| 143 |
afx_msg void OnKillfocusGenericScoreEdit(); |
| 144 |
afx_msg void OnKillfocusGenericAmmoEdit(); |
| 145 |
afx_msg void OnObjCeilingCheck(); |
| 146 |
afx_msg void OnObjectFlyThroughRenderedPortals(); |
| 147 |
afx_msg void OnNscButton(); |
| 148 |
afx_msg void OnDsmpbdCheck(); |
| 149 |
afx_msg void OnGenericAmbient(); |
| 150 |
|
| 151 |
DECLARE_MESSAGE_MAP() |
| 152 |
}; |
| 153 |
|
| 154 |
|
| 155 |
|
| 156 |
|
| 157 |
#endif |