| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#include "objinfo.h" |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
class CAnimStatesDialog : public CDialog { |
| 28 |
|
| 29 |
public: |
| 30 |
CAnimStatesDialog(int render_handle, anim_elem *anim_info, CWnd *pParent = NULL); |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
enum { IDD = IDD_ANIMSTATES }; |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
int m_render_handle; |
| 40 |
bool m_setup_sound_dialogs; |
| 41 |
|
| 42 |
|
| 43 |
anim_elem m_anim[NUM_MOVEMENT_CLASSES]; |
| 44 |
|
| 45 |
|
| 46 |
void GetAnimData(anim_elem *anim_info); |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
protected: |
| 52 |
virtual void DoDataExchange(CDataExchange *pDX); |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
private: |
| 57 |
void UpdateDialog(); |
| 58 |
void UpdateAnimStateView(); |
| 59 |
void KillFocusFroms(int); |
| 60 |
void KillFocusTos(int); |
| 61 |
void KillFocusSPC(int num); |
| 62 |
void KillFocusAnimSoundName(int num); |
| 63 |
|
| 64 |
int m_current_state; |
| 65 |
int m_current_anim; |
| 66 |
int m_SpinFrame; |
| 67 |
|
| 68 |
protected: |
| 69 |
|
| 70 |
|
| 71 |
afx_msg void OnAlertCheck(); |
| 72 |
afx_msg void OnDeathCheck(); |
| 73 |
afx_msg void OnFlinchCheck(); |
| 74 |
afx_msg void OnGotoFlyingCheck(); |
| 75 |
afx_msg void OnGotoJumpingCheck(); |
| 76 |
afx_msg void OnGotoRollingCheck(); |
| 77 |
afx_msg void OnGotoStandingCheck(); |
| 78 |
afx_msg void OnGotoWalkingCheck(); |
| 79 |
afx_msg void OnIdleCheck(); |
| 80 |
afx_msg void OnMelee1Check(); |
| 81 |
afx_msg void OnMelee1RecoilCheck(); |
| 82 |
afx_msg void OnMelee2Check(); |
| 83 |
afx_msg void OnMelee2RecoilCheck(); |
| 84 |
afx_msg void OnMissile1Check(); |
| 85 |
afx_msg void OnMissile1RecoilCheck(); |
| 86 |
afx_msg void OnMissile2Check(); |
| 87 |
afx_msg void OnMissile2RecoilCheck(); |
| 88 |
afx_msg void OnQuirkCheck(); |
| 89 |
afx_msg void OnSpecial1Check(); |
| 90 |
afx_msg void OnSpecial2Check(); |
| 91 |
afx_msg void OnSpecial3Check(); |
| 92 |
afx_msg void OnSpecial4Check(); |
| 93 |
afx_msg void OnSpecial5Check(); |
| 94 |
afx_msg void OnTauntCheck(); |
| 95 |
afx_msg void OnSelendokCurrentAnimationPulldown(); |
| 96 |
afx_msg void OnSelendokCurrentStatePulldown(); |
| 97 |
virtual BOOL OnInitDialog(); |
| 98 |
afx_msg void OnTimer(UINT nIDEvent); |
| 99 |
afx_msg void OnKillfocusAlertFromEdit(); |
| 100 |
afx_msg void OnKillfocusAlertToEdit(); |
| 101 |
afx_msg void OnKillfocusDeathFromEdit(); |
| 102 |
afx_msg void OnKillfocusDeathToEdit(); |
| 103 |
afx_msg void OnKillfocusFlinchFromEdit(); |
| 104 |
afx_msg void OnKillfocusFlinchToEdit(); |
| 105 |
afx_msg void OnKillfocusFlyingFromEdit(); |
| 106 |
afx_msg void OnKillfocusFlyingToEdit(); |
| 107 |
afx_msg void OnKillfocusIdleFromEdit(); |
| 108 |
afx_msg void OnKillfocusIdleToEdit(); |
| 109 |
afx_msg void OnKillfocusJumpingFromEdit(); |
| 110 |
afx_msg void OnKillfocusJumpingToEdit(); |
| 111 |
afx_msg void OnKillfocusMelee1FromEdit(); |
| 112 |
afx_msg void OnKillfocusMelee1ToEdit(); |
| 113 |
afx_msg void OnKillfocusMelee2FromEdit(); |
| 114 |
afx_msg void OnKillfocusMissile1FromEdit(); |
| 115 |
afx_msg void OnKillfocusMissile1ToEdit(); |
| 116 |
afx_msg void OnKillfocusMissile2FromEdit(); |
| 117 |
afx_msg void OnKillfocusMissile2ToEdit(); |
| 118 |
afx_msg void OnKillfocusMrecoil1ToEdit(); |
| 119 |
afx_msg void OnKillfocusMrecoil1FromEdit(); |
| 120 |
afx_msg void OnKillfocusMrecoil2FromEdit(); |
| 121 |
afx_msg void OnKillfocusMrecoil2ToEdit(); |
| 122 |
afx_msg void OnKillfocusQuirkFromEdit(); |
| 123 |
afx_msg void OnKillfocusQuirkToEdit(); |
| 124 |
afx_msg void OnKillfocusRecoil1FromEdit(); |
| 125 |
afx_msg void OnKillfocusRecoil1ToEdit(); |
| 126 |
afx_msg void OnKillfocusRecoil2FromEdit(); |
| 127 |
afx_msg void OnKillfocusRecoil2ToEdit(); |
| 128 |
afx_msg void OnKillfocusRollingFromEdit(); |
| 129 |
afx_msg void OnKillfocusRollingToEdit(); |
| 130 |
afx_msg void OnKillfocusSpecial1FromEdit(); |
| 131 |
afx_msg void OnKillfocusSpecial1ToEdit(); |
| 132 |
afx_msg void OnKillfocusSpecial2FromEdit(); |
| 133 |
afx_msg void OnKillfocusSpecial2ToEdit(); |
| 134 |
afx_msg void OnKillfocusSpecial3FromEdit(); |
| 135 |
afx_msg void OnKillfocusSpecial3ToEdit(); |
| 136 |
afx_msg void OnKillfocusSpecial4FromEdit(); |
| 137 |
afx_msg void OnKillfocusSpecial4ToEdit(); |
| 138 |
afx_msg void OnKillfocusSpecial5FromEdit(); |
| 139 |
afx_msg void OnKillfocusSpecial5ToEdit(); |
| 140 |
afx_msg void OnKillfocusStandingFromEdit(); |
| 141 |
afx_msg void OnKillfocusStandingToEdit(); |
| 142 |
afx_msg void OnKillfocusTauntFromEdit(); |
| 143 |
afx_msg void OnKillfocusTauntToEdit(); |
| 144 |
afx_msg void OnKillfocusWalkingFromEdit(); |
| 145 |
afx_msg void OnKillfocusWalkingToEdit(); |
| 146 |
afx_msg void OnKillfocusMelee2ToEdit(); |
| 147 |
afx_msg void OnResetAnimZero(); |
| 148 |
afx_msg void OnRotLeft(); |
| 149 |
afx_msg void OnRotRight(); |
| 150 |
afx_msg void OnKillfocusSecPerCycleEdit1(); |
| 151 |
afx_msg void OnKillfocusSecPerCycleEdit2(); |
| 152 |
afx_msg void OnKillfocusSecPerCycleEdit3(); |
| 153 |
afx_msg void OnKillfocusSecPerCycleEdit4(); |
| 154 |
afx_msg void OnKillfocusSecPerCycleEdit5(); |
| 155 |
afx_msg void OnKillfocusSecPerCycleEdit6(); |
| 156 |
afx_msg void OnKillfocusSecPerCycleEdit7(); |
| 157 |
afx_msg void OnKillfocusSecPerCycleEdit8(); |
| 158 |
afx_msg void OnKillfocusSecPerCycleEdit9(); |
| 159 |
afx_msg void OnKillfocusSecPerCycleEdit10(); |
| 160 |
afx_msg void OnKillfocusSecPerCycleEdit11(); |
| 161 |
afx_msg void OnKillfocusSecPerCycleEdit12(); |
| 162 |
afx_msg void OnKillfocusSecPerCycleEdit13(); |
| 163 |
afx_msg void OnKillfocusSecPerCycleEdit14(); |
| 164 |
afx_msg void OnKillfocusSecPerCycleEdit15(); |
| 165 |
afx_msg void OnKillfocusSecPerCycleEdit16(); |
| 166 |
afx_msg void OnKillfocusSecPerCycleEdit17(); |
| 167 |
afx_msg void OnKillfocusSecPerCycleEdit18(); |
| 168 |
afx_msg void OnKillfocusSecPerCycleEdit19(); |
| 169 |
afx_msg void OnKillfocusSecPerCycleEdit20(); |
| 170 |
afx_msg void OnKillfocusSecPerCycleEdit21(); |
| 171 |
afx_msg void OnKillfocusSecPerCycleEdit22(); |
| 172 |
afx_msg void OnKillfocusSecPerCycleEdit23(); |
| 173 |
afx_msg void OnKillfocusSecPerCycleEdit24(); |
| 174 |
afx_msg void OnSelendokAnimSound0Pulldown(); |
| 175 |
afx_msg void OnSelendokAnimSound1Pulldown(); |
| 176 |
afx_msg void OnSelendokAnimSound2Pulldown(); |
| 177 |
afx_msg void OnSelendokAnimSound10Pulldown(); |
| 178 |
afx_msg void OnSelendokAnimSound11Pulldown(); |
| 179 |
afx_msg void OnSelendokAnimSound12Pulldown(); |
| 180 |
afx_msg void OnSelendokAnimSound13Pulldown(); |
| 181 |
afx_msg void OnSelendokAnimSound14Pulldown(); |
| 182 |
afx_msg void OnSelendokAnimSound15Pulldown(); |
| 183 |
afx_msg void OnSelendokAnimSound16Pulldown(); |
| 184 |
afx_msg void OnSelendokAnimSound17Pulldown(); |
| 185 |
afx_msg void OnSelendokAnimSound18Pulldown(); |
| 186 |
afx_msg void OnSelendokAnimSound19Pulldown(); |
| 187 |
afx_msg void OnSelendokAnimSound20Pulldown(); |
| 188 |
afx_msg void OnSelendokAnimSound21Pulldown(); |
| 189 |
afx_msg void OnSelendokAnimSound22Pulldown(); |
| 190 |
afx_msg void OnSelendokAnimSound23Pulldown(); |
| 191 |
afx_msg void OnSelendokAnimSound3Pulldown(); |
| 192 |
afx_msg void OnSelendokAnimSound4Pulldown(); |
| 193 |
afx_msg void OnSelendokAnimSound5Pulldown(); |
| 194 |
afx_msg void OnSelendokAnimSound6Pulldown(); |
| 195 |
afx_msg void OnSelendokAnimSound7Pulldown(); |
| 196 |
afx_msg void OnSelendokAnimSound8Pulldown(); |
| 197 |
afx_msg void OnSelendokAnimSound9Pulldown(); |
| 198 |
|
| 199 |
DECLARE_MESSAGE_MAP() |
| 200 |
}; |