2567
|
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 {
|
|
11 uNumVertices = 0;
|
|
12 uNumVec4sInArray1 = 0;
|
|
13 uNumVec3sInArray2 = 0;
|
|
14 pArray1 = nullptr;
|
|
15 pArray2 = nullptr;
|
|
16 }
|
|
17
|
|
18 //----- (004775C4) --------------------------------------------------------
|
|
19 virtual ~stru6_stru1_indoor_sw_billboard();
|
|
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);
|
|
27 void _47829F_sphere_particle(float x_offset, float y_offset, float z_offset, float scale, int diffuse);
|
|
28
|
|
29
|
|
30 struct local_01
|
|
31 {
|
|
32 float x;
|
|
33 float y;
|
|
34 float z;
|
|
35 int diffuse;
|
|
36 };
|
|
37
|
|
38 unsigned int uNumVec4sInArray1;
|
|
39 struct stru16x *pArray1;
|
|
40 unsigned int uNumVec3sInArray2;
|
|
41 struct stru160 *pArray2;
|
|
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];
|
|
47 };
|
|
48 #pragma pack(pop)
|
|
49
|
|
50
|
|
51 /* 122 */
|
|
52 #pragma pack(push, 1)
|
|
53 struct PlayerBuffAnim
|
|
54 {
|
|
55 inline PlayerBuffAnim():
|
|
56 bRender(false), uSpellAnimTime(0), uSpellIconID(0)
|
|
57 {}
|
|
58
|
|
59 __int16 bRender;
|
|
60 __int16 field_2;
|
|
61 int uSpellAnimTimeElapsed;
|
|
62 int uSpellAnimTime;
|
|
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 {
|
|
87 //int field_0;
|
|
88 float flt_0_x;
|
|
89 float flt_4_y;
|
|
90 float flt_8_z;
|
|
91 int field_C;
|
|
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;
|
|
107 this->field_0 = 0;
|
|
108 this->uAnimLength = 0;
|
|
109
|
|
110 pStru1 = new stru6_stru1_indoor_sw_billboard;
|
|
111 pStru1->Initialize(0xFF3C1Eu);
|
|
112 }
|
|
113 //----- (004A71DC) --------------------------------------------------------
|
|
114 ~stru6()
|
|
115 {
|
|
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();
|
|
122 void _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(struct SpriteObject *a2, unsigned int uDiffuse, unsigned int uTextureID);
|
|
123 void _4A75CC_single_spell_collision_particle(struct SpriteObject *a1, unsigned int uDiffuse, unsigned int uTextureID);
|
|
124 void _4A7688_fireball_collision_particle(struct SpriteObject *a2);
|
|
125 void _4A77FD_implosion_particle_d3d(struct SpriteObject *a1);
|
|
126 void _4A78AE_sparks_spell(struct SpriteObject *a1);
|
|
127 void _4A7948_mind_blast_after_effect(struct SpriteObject *a1);
|
|
128 bool AddMobileLight(struct SpriteObject *a1, unsigned int uDiffuse, int uRadius);
|
|
129 void _4A7A66_miltiple_spell_collision_partifles___like_after_sparks_or_lightning(SpriteObject *a1, unsigned int uDiffuse, unsigned int uTextureID, float a4);
|
|
130 void _4A7C07_stun_spell_fx(struct SpriteObject *a2);
|
|
131 void AddProjectile(struct SpriteObject *a2, int a3, unsigned int uTextureID);
|
|
132 void _4A7E89_sparkles_on_actor_after_it_casts_buff(struct Actor *pActor, unsigned int uDiffuse);
|
|
133 void _4A7F74(int x, int y, int z);
|
|
134 int _4A806F(struct Actor *pActor);
|
|
135 //void _4A80DC_implosion_particle_sw(struct SpriteObject *a2);
|
|
136 bool RenderAsSprite(struct SpriteObject *a2);
|
|
137 void SetPlayerBuffAnim(unsigned __int16 uSpellID, unsigned __int16 uPlayerID);
|
|
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
|
|
145 int field_0;
|
|
146 stru6_stru2 array_4[31];
|
|
147 int field_1F4;
|
|
148 int field_1F8;
|
|
149 int field_1FC;
|
|
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 uFadeLength;
|
|
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
|