Mercurial > mm7
annotate stru6.h @ 1224:23632c91ed0a
m
author | Ritor1 |
---|---|
date | Wed, 05 Jun 2013 21:00:11 +0600 |
parents | ad89d1905b48 |
children | b9747d9e9b4e |
rev | line source |
---|---|
0 | 1 #pragma once |
2 #include "Render.h" | |
3 | |
4 | |
5 /* 120 */ | |
6 #pragma pack(push, 1) | |
7 struct stru6_stru1_indoor_sw_billboard | |
8 { | |
9 //----- (004775B1) -------------------------------------------------------- | |
10 inline stru6_stru1_indoor_sw_billboard() | |
11 { | |
12 field_10 = 0; | |
13 uNumVec4sInArray1 = 0; | |
14 uNumVec3sInArray2 = 0; | |
15 pArray1 = nullptr; | |
16 pArray2 = nullptr; | |
17 } | |
18 | |
19 //----- (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
|
20 virtual ~stru6_stru1_indoor_sw_billboard(); |
0 | 21 |
22 int _4775ED(float a2); | |
23 int _477927(float a2); | |
24 int sub_477C61(); | |
25 bool sub_477F63(); | |
26 int sub_47802A(); | |
27 void Initialize(int a2); | |
28 void _47829F_fireball_collision(float arg0, float a3, float a4, float a5, int a2); | |
29 | |
30 | |
31 unsigned int uNumVec4sInArray1; | |
32 struct stru16x *pArray1; | |
33 unsigned int uNumVec3sInArray2; | |
34 struct stru160 *pArray2; | |
35 int field_10; | |
1117
ad89d1905b48
* stru6_stru1_indoor_sw_billboard::sub_47802A() cleaned, fireball working
zipi
parents:
1106
diff
changeset
|
36 int field_14[40]; |
ad89d1905b48
* stru6_stru1_indoor_sw_billboard::sub_47802A() cleaned, fireball working
zipi
parents:
1106
diff
changeset
|
37 float field_B4[40]; |
0 | 38 }; |
39 #pragma pack(pop) | |
40 | |
41 | |
42 /* 122 */ | |
43 #pragma pack(push, 1) | |
44 struct PlayerBuffAnim | |
45 { | |
486 | 46 inline PlayerBuffAnim(): |
47 bRender(false), uSpellAnimTime(0), uSpellIconID(0) | |
48 {} | |
49 | |
0 | 50 __int16 bRender; |
51 __int16 field_2; | |
491 | 52 int uSpellAnimTimeElapsed; |
486 | 53 int uSpellAnimTime; |
0 | 54 int uSpellIconID; |
55 }; | |
56 #pragma pack(pop) | |
57 | |
58 | |
59 /* 307 */ | |
60 #pragma pack(push, 1) | |
61 struct ProjectileAnim | |
62 { | |
63 float srcX; | |
64 float srcY; | |
65 float srcZ; | |
66 float dstX; | |
67 float dstY; | |
68 float dstZ; | |
69 int uTextureID; | |
70 }; | |
71 #pragma pack(pop) | |
72 | |
73 | |
74 /* 306 */ | |
75 #pragma pack(push, 1) | |
76 struct stru6_stru2 | |
77 { | |
486 | 78 //int field_0; |
79 float flt_0_x; | |
80 float flt_4_y; | |
81 float flt_8_z; | |
82 int field_C; | |
0 | 83 }; |
84 #pragma pack(pop) | |
85 | |
86 | |
87 | |
88 /* 121 */ | |
89 #pragma pack(push, 1) | |
90 struct stru6 | |
91 { | |
92 //----- (004A7155) -------------------------------------------------------- | |
93 stru6() | |
94 { | |
95 this->field_204 = 0; | |
96 this->uFadeTime = 0; | |
97 this->uNumProjectiles = 0; | |
486 | 98 this->field_0 = 0; |
0 | 99 |
100 pStru1 = new stru6_stru1_indoor_sw_billboard; | |
101 pStru1->Initialize(0xFF3C1Eu); | |
102 } | |
103 //----- (004A71DC) -------------------------------------------------------- | |
104 ~stru6() | |
105 { | |
106 if (pStru1) | |
107 delete pStru1; | |
108 pStru1 = nullptr; | |
109 } | |
110 | |
111 void DoAddProjectile(float srcX, float srcY, float srcZ, float dstX, float dstY, float dstZ, unsigned int uTextureID); | |
112 void DrawProjectiles(); | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
113 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
|
114 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
|
115 void _4A7688_fireball_collision_particle(struct SpriteObject *a2); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
116 void _4A77FD_some_stuff_d3d(struct SpriteObject *a1); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
117 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
|
118 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
|
119 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
|
120 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
|
121 void _4A7C07(struct SpriteObject *a2); |
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
122 void AddProjectile(struct SpriteObject *a2, int a3, unsigned int uTextureID); |
142 | 123 void _4A7E89_sparkles_on_actor_after_it_casts_buff(struct Actor *pActor, unsigned int uDiffuse); |
0 | 124 void _4A7F74(int x, int y, int z); |
125 int _4A806F(struct Actor *pActor); | |
515
cb0ad52d6a26
LayingItem -> SpriteObject (long-waited rename, old name was inaccurate and confused people)
Nomad
parents:
491
diff
changeset
|
126 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
|
127 bool _4A81CA(struct SpriteObject *a2); |
486 | 128 void SetPlayerBuffAnim(unsigned __int16 uSpellID, unsigned __int16 uPlayerID); |
0 | 129 void FadeScreen__like_Turn_Undead_and_mb_Armageddon(unsigned int uDiffuseColor, unsigned int uFadeTime); |
130 int _4A8BFC(); | |
131 void RenderSpecialEffects(); | |
132 void DrawPlayerBuffAnims(); | |
133 void LoadAnimations(); | |
134 | |
135 | |
486 | 136 int field_0; |
137 stru6_stru2 array_4[31]; | |
138 int field_1F4; | |
139 int field_1F8; | |
140 int field_1FC; | |
0 | 141 int field_200; |
142 int field_204; | |
143 PlayerBuffAnim pPlayerBuffs[4]; | |
144 ProjectileAnim pProjectiles[32]; | |
145 int uNumProjectiles; | |
146 stru6_stru1_indoor_sw_billboard *pStru1; | |
147 int field_5D0; | |
148 int uAnimLength; | |
149 int uFadeTime; | |
150 int uFadeTime2; | |
151 int uFadeColor; | |
152 unsigned int uTextureID_effpar1; | |
153 unsigned int uTextureID_effpar2; | |
154 unsigned int uTextureID_effpar3; | |
155 unsigned int uSpriteID_sp57c; | |
156 int field_5F4; | |
157 }; | |
158 #pragma pack(pop) | |
159 | |
160 |