Mercurial > mm7
annotate stru6.h @ 1794:3f1e09a71726
Merge
author | Grumpy7 |
---|---|
date | Sun, 06 Oct 2013 09:21:09 +0200 |
parents | 613c77e51e38 |
children | 9bd7522cdbbb |
rev | line source |
---|---|
0 | 1 #pragma once |
2 | |
3 | |
4 /* 120 */ | |
5 #pragma pack(push, 1) | |
6 struct stru6_stru1_indoor_sw_billboard | |
7 { | |
8 //----- (004775B1) -------------------------------------------------------- | |
9 inline stru6_stru1_indoor_sw_billboard() | |
10 { | |
1390 | 11 uNumVertices = 0; |
0 | 12 uNumVec4sInArray1 = 0; |
13 uNumVec3sInArray2 = 0; | |
14 pArray1 = nullptr; | |
15 pArray2 = nullptr; | |
16 } | |
17 | |
18 //----- (004775C4) -------------------------------------------------------- | |
1106
3395579f6c4d
stru6_stru1_indoor_sw_billboard destructor fix, removing "extern" from struct definition, fixing probable typo in SPELL_AIR_SPARKS
Grumpy7
parents:
515
diff
changeset
|
19 virtual ~stru6_stru1_indoor_sw_billboard(); |
0 | 20 |
21 int _4775ED(float a2); | |
22 int _477927(float a2); | |
23 int sub_477C61(); | |
24 bool sub_477F63(); | |
25 int sub_47802A(); | |
26 void Initialize(int a2); | |
1390 | 27 void _47829F_sphere_particle(float x_offset, float y_offset, float z_offset, float scale, int diffuse); |
28 | |
0 | 29 |
1390 | 30 struct local_01 |
31 { | |
32 float x; | |
33 float y; | |
34 float z; | |
35 int diffuse; | |
36 }; | |
0 | 37 |
38 unsigned int uNumVec4sInArray1; | |
39 struct stru16x *pArray1; | |
40 unsigned int uNumVec3sInArray2; | |
41 struct stru160 *pArray2; | |
1390 | 42 int uNumVertices; |
43 local_01 field_14[5]; | |
44 int field_64[20]; | |
45 float field_B4[20]; | |
46 local_01 field_104[5]; | |
0 | 47 }; |
48 #pragma pack(pop) | |
49 | |
50 | |
51 /* 122 */ | |
52 #pragma pack(push, 1) | |
53 struct PlayerBuffAnim | |
54 { | |
486 | 55 inline PlayerBuffAnim(): |
56 bRender(false), uSpellAnimTime(0), uSpellIconID(0) | |
57 {} | |
58 | |
0 | 59 __int16 bRender; |
60 __int16 field_2; | |
491 | 61 int uSpellAnimTimeElapsed; |
486 | 62 int uSpellAnimTime; |
0 | 63 int uSpellIconID; |
64 }; | |
65 #pragma pack(pop) | |
66 | |
67 | |
68 /* 307 */ | |
69 #pragma pack(push, 1) | |
70 struct ProjectileAnim | |
71 { | |
72 float srcX; | |
73 float srcY; | |
74 float srcZ; | |
75 float dstX; | |
76 float dstY; | |
77 float dstZ; | |
78 int uTextureID; | |
79 }; | |
80 #pragma pack(pop) | |
81 | |
82 | |
83 /* 306 */ | |
84 #pragma pack(push, 1) | |
85 struct stru6_stru2 | |
86 { | |
486 | 87 //int field_0; |
88 float flt_0_x; | |
89 float flt_4_y; | |
90 float flt_8_z; | |
91 int field_C; | |
0 | 92 }; |
93 #pragma pack(pop) | |
94 | |
95 | |
96 | |
97 /* 121 */ | |
98 #pragma pack(push, 1) | |
99 struct stru6 | |
100 { | |
101 //----- (004A7155) -------------------------------------------------------- | |
102 stru6() | |
103 { | |
104 this->field_204 = 0; | |
105 this->uFadeTime = 0; | |
106 this->uNumProjectiles = 0; | |
486 | 107 this->field_0 = 0; |
0 | 108 |
109 pStru1 = new stru6_stru1_indoor_sw_billboard; | |
110 pStru1->Initialize(0xFF3C1Eu); | |
111 } | |
112 //----- (004A71DC) -------------------------------------------------------- | |
113 ~stru6() | |
114 { | |
115 if (pStru1) | |
116 delete pStru1; | |
117 pStru1 = nullptr; | |
118 } | |
119 | |
120 void DoAddProjectile(float srcX, float srcY, float srcZ, float dstX, float dstY, float dstZ, unsigned int uTextureID); | |
121 void DrawProjectiles(); | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
122 void _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(struct SpriteObject *a2, unsigned int uDiffuse, unsigned int uTextureID); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
123 void _4A75CC_single_spell_collision_particle(struct SpriteObject *a1, unsigned int uDiffuse, unsigned int uTextureID); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
124 void _4A7688_fireball_collision_particle(struct SpriteObject *a2); |
1390 | 125 void _4A77FD_implosion_particle(struct SpriteObject *a1); |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
126 void _4A78AE_sparks_spell(struct SpriteObject *a1); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
127 void _4A7948_mind_blast_after_effect(struct SpriteObject *a1); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
128 bool AddMobileLight(struct SpriteObject *a1, unsigned int uDiffuse, int uRadius); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
129 void _4A7A66_miltiple_spell_collision_partifles___like_after_sparks_or_lightning(SpriteObject *a1, unsigned int uDiffuse, unsigned int uTextureID, float a4); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
130 void _4A7C07(struct SpriteObject *a2); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
131 void AddProjectile(struct SpriteObject *a2, int a3, unsigned int uTextureID); |
142 | 132 void _4A7E89_sparkles_on_actor_after_it_casts_buff(struct Actor *pActor, unsigned int uDiffuse); |
0 | 133 void _4A7F74(int x, int y, int z); |
134 int _4A806F(struct Actor *pActor); | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
135 void _4A80DC_some_stuff_sw(struct SpriteObject *a2); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
136 bool _4A81CA(struct SpriteObject *a2); |
486 | 137 void SetPlayerBuffAnim(unsigned __int16 uSpellID, unsigned __int16 uPlayerID); |
0 | 138 void FadeScreen__like_Turn_Undead_and_mb_Armageddon(unsigned int uDiffuseColor, unsigned int uFadeTime); |
139 int _4A8BFC(); | |
140 void RenderSpecialEffects(); | |
141 void DrawPlayerBuffAnims(); | |
142 void LoadAnimations(); | |
143 | |
144 | |
486 | 145 int field_0; |
146 stru6_stru2 array_4[31]; | |
147 int field_1F4; | |
148 int field_1F8; | |
149 int field_1FC; | |
0 | 150 int field_200; |
151 int field_204; | |
152 PlayerBuffAnim pPlayerBuffs[4]; | |
153 ProjectileAnim pProjectiles[32]; | |
154 int uNumProjectiles; | |
155 stru6_stru1_indoor_sw_billboard *pStru1; | |
156 int field_5D0; | |
157 int uAnimLength; | |
158 int uFadeTime; | |
159 int uFadeTime2; | |
160 int uFadeColor; | |
161 unsigned int uTextureID_effpar1; | |
162 unsigned int uTextureID_effpar2; | |
163 unsigned int uTextureID_effpar3; | |
164 unsigned int uSpriteID_sp57c; | |
165 int field_5F4; | |
166 }; | |
167 #pragma pack(pop) | |
168 | |
169 |