Mercurial > mm7
comparison stru6.h @ 486:7887a9cf9e7b
Spells
author | Nomad |
---|---|
date | Wed, 27 Feb 2013 17:29:05 +0200 |
parents | 8b8fd4d83fdc |
children | e01730a207c3 |
comparison
equal
deleted
inserted
replaced
485:b6bdfaa3ae0f | 486:7887a9cf9e7b |
---|---|
49 | 49 |
50 /* 122 */ | 50 /* 122 */ |
51 #pragma pack(push, 1) | 51 #pragma pack(push, 1) |
52 struct PlayerBuffAnim | 52 struct PlayerBuffAnim |
53 { | 53 { |
54 inline PlayerBuffAnim(): | |
55 bRender(false), uSpellAnimTime(0), uSpellIconID(0) | |
56 {} | |
57 | |
54 __int16 bRender; | 58 __int16 bRender; |
55 __int16 field_2; | 59 __int16 field_2; |
60 int field_4; | |
61 int uSpellAnimTime; | |
56 int uSpellIconID; | 62 int uSpellIconID; |
57 __int16 uSpellID; | |
58 __int16 field_A; | |
59 int uSpellIconID_; | |
60 }; | 63 }; |
61 #pragma pack(pop) | 64 #pragma pack(pop) |
62 | 65 |
63 | 66 |
64 /* 307 */ | 67 /* 307 */ |
78 | 81 |
79 /* 306 */ | 82 /* 306 */ |
80 #pragma pack(push, 1) | 83 #pragma pack(push, 1) |
81 struct stru6_stru2 | 84 struct stru6_stru2 |
82 { | 85 { |
83 int uSpellAnimLength; | 86 //int field_0; |
84 float flt_4; | 87 float flt_0_x; |
85 float flt_8; | 88 float flt_4_y; |
86 float flt_C; | 89 float flt_8_z; |
90 int field_C; | |
87 }; | 91 }; |
88 #pragma pack(pop) | 92 #pragma pack(pop) |
89 | 93 |
90 | 94 |
91 | 95 |
94 struct stru6 | 98 struct stru6 |
95 { | 99 { |
96 //----- (004A7155) -------------------------------------------------------- | 100 //----- (004A7155) -------------------------------------------------------- |
97 stru6() | 101 stru6() |
98 { | 102 { |
99 this->pPlayerBuffs[0].bRender = 0; | |
100 this->pPlayerBuffs[1].bRender = 0; | |
101 this->pPlayerBuffs[2].bRender = 0; | |
102 this->pPlayerBuffs[3].bRender = 0; | |
103 this->field_204 = 0; | 103 this->field_204 = 0; |
104 this->uFadeTime = 0; | 104 this->uFadeTime = 0; |
105 this->uNumProjectiles = 0; | 105 this->uNumProjectiles = 0; |
106 this->array_0[0].uSpellAnimLength = 0; | 106 this->field_0 = 0; |
107 | 107 |
108 pStru1 = new stru6_stru1_indoor_sw_billboard; | 108 pStru1 = new stru6_stru1_indoor_sw_billboard; |
109 pStru1->Initialize(0xFF3C1Eu); | 109 pStru1->Initialize(0xFF3C1Eu); |
110 } | 110 } |
111 //----- (004A71DC) -------------------------------------------------------- | 111 //----- (004A71DC) -------------------------------------------------------- |
131 void _4A7E89_sparkles_on_actor_after_it_casts_buff(struct Actor *pActor, unsigned int uDiffuse); | 131 void _4A7E89_sparkles_on_actor_after_it_casts_buff(struct Actor *pActor, unsigned int uDiffuse); |
132 void _4A7F74(int x, int y, int z); | 132 void _4A7F74(int x, int y, int z); |
133 int _4A806F(struct Actor *pActor); | 133 int _4A806F(struct Actor *pActor); |
134 void _4A80DC_some_stuff_sw(struct LayingItem *a2); | 134 void _4A80DC_some_stuff_sw(struct LayingItem *a2); |
135 bool _4A81CA(struct LayingItem *a2); | 135 bool _4A81CA(struct LayingItem *a2); |
136 int SetPlayerBuffAnim(unsigned __int16 uSpellID, unsigned __int16 uPlayerID); | 136 void SetPlayerBuffAnim(unsigned __int16 uSpellID, unsigned __int16 uPlayerID); |
137 void FadeScreen__like_Turn_Undead_and_mb_Armageddon(unsigned int uDiffuseColor, unsigned int uFadeTime); | 137 void FadeScreen__like_Turn_Undead_and_mb_Armageddon(unsigned int uDiffuseColor, unsigned int uFadeTime); |
138 int _4A8BFC(); | 138 int _4A8BFC(); |
139 void RenderSpecialEffects(); | 139 void RenderSpecialEffects(); |
140 void DrawPlayerBuffAnims(); | 140 void DrawPlayerBuffAnims(); |
141 void LoadAnimations(); | 141 void LoadAnimations(); |
142 | 142 |
143 | 143 |
144 stru6_stru2 array_0[32]; | 144 int field_0; |
145 stru6_stru2 array_4[31]; | |
146 int field_1F4; | |
147 int field_1F8; | |
148 int field_1FC; | |
145 int field_200; | 149 int field_200; |
146 int field_204; | 150 int field_204; |
147 PlayerBuffAnim pPlayerBuffs[4]; | 151 PlayerBuffAnim pPlayerBuffs[4]; |
148 ProjectileAnim pProjectiles[32]; | 152 ProjectileAnim pProjectiles[32]; |
149 int uNumProjectiles; | 153 int uNumProjectiles; |