annotate stru6.h @ 126:2331a331d36a

3.11.12 palette
author Ritor1
date Sun, 04 Nov 2012 09:37:15 +0600
parents bcc051713d20
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "Render.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 /* 120 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 struct stru6_stru1_indoor_sw_billboard
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 //----- (004775B1) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 inline stru6_stru1_indoor_sw_billboard()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 field_10 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 uNumVec4sInArray1 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 uNumVec3sInArray2 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 pArray1 = nullptr;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 pArray2 = nullptr;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 //----- (004775C4) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 virtual ~stru6_stru1_indoor_sw_billboard()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 if (pArray1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 delete [] pArray1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 pArray1 = nullptr;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 if (pArray2)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 delete [] pArray2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 pArray2 = nullptr;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 int _4775ED(float a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 int _477927(float a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 int sub_477C61();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 bool sub_477F63();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 int sub_47802A();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 void Initialize(int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 void _47829F_fireball_collision(float arg0, float a3, float a4, float a5, int a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 unsigned int uNumVec4sInArray1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 struct stru16x *pArray1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 unsigned int uNumVec3sInArray2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 struct stru160 *pArray2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 int field_10;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 int field_14[80];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 /* 122 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 struct PlayerBuffAnim
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 __int16 bRender;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 __int16 field_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 int uSpellIconID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 __int16 uSpellID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 __int16 field_A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 int uSpellIconID_;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 /* 307 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 struct ProjectileAnim
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 float srcX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 float srcY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 float srcZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 float dstX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 float dstY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 float dstZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74 int uTextureID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 /* 306 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81 struct stru6_stru2
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 int uSpellAnimLength;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 float flt_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 float flt_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86 float flt_C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92 /* 121 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94 struct stru6
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96 //----- (004A7155) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97 stru6()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99 this->pPlayerBuffs[0].bRender = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100 this->pPlayerBuffs[1].bRender = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101 this->pPlayerBuffs[2].bRender = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 this->pPlayerBuffs[3].bRender = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103 this->field_204 = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 this->uFadeTime = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 this->uNumProjectiles = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 this->array_0[0].uSpellAnimLength = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 pStru1 = new stru6_stru1_indoor_sw_billboard;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 pStru1->Initialize(0xFF3C1Eu);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 //----- (004A71DC) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112 ~stru6()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114 if (pStru1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
115 delete pStru1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116 pStru1 = nullptr;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117 }
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
118
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
119 void DoAddProjectile(float srcX, float srcY, float srcZ, float dstX, float dstY, float dstZ, unsigned int uTextureID);
45
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
120 void DrawProjectiles();
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
121 void _4A73AA_hanging_trace_particles___like_fire_strike_ice_blast_etc(struct LayingItem *a2, unsigned int uDiffuse, unsigned int uTextureID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
122 void _4A75CC_single_spell_collision_particle(struct LayingItem *a1, unsigned int uDiffuse, unsigned int uTextureID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123 void _4A7688_fireball_collision_particle(struct LayingItem *a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124 void _4A77FD_some_stuff_d3d(struct LayingItem *a1);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125 void _4A78AE_sparks_spell(struct LayingItem *a1);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126 void _4A7948_mind_blast_after_effect(struct LayingItem *a1);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127 bool AddMobileLight(struct LayingItem *a1, unsigned int uDiffuse, int uRadius);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128 void _4A7A66_miltiple_spell_collision_partifles___like_after_sparks_or_lightning(LayingItem *a1, unsigned int uDiffuse, unsigned int uTextureID, float a4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 void _4A7C07(struct LayingItem *a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 void AddProjectile(struct LayingItem *a2, int a3, unsigned int uTextureID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 int _4A7E89_sparkles_on_actor_after_it_casts_buff(struct Actor *pActor, unsigned int uDiffuse);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 void _4A7F74(int x, int y, int z);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 int _4A806F(struct Actor *pActor);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 void _4A80DC_some_stuff_sw(struct LayingItem *a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135 bool _4A81CA(struct LayingItem *a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136 int SetPlayerBuffAnim(unsigned __int16 uSpellID, unsigned __int16 uPlayerID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 void FadeScreen__like_Turn_Undead_and_mb_Armageddon(unsigned int uDiffuseColor, unsigned int uFadeTime);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138 int _4A8BFC();
45
bcc051713d20 BLV render & seffects
Nomad
parents: 0
diff changeset
139 void RenderSpecialEffects();
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140 void DrawPlayerBuffAnims();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141 void LoadAnimations();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144 stru6_stru2 array_0[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
145 int field_200;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
146 int field_204;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
147 PlayerBuffAnim pPlayerBuffs[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
148 ProjectileAnim pProjectiles[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
149 int uNumProjectiles;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
150 stru6_stru1_indoor_sw_billboard *pStru1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
151 int field_5D0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
152 int uAnimLength;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
153 int uFadeTime;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
154 int uFadeTime2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
155 int uFadeColor;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
156 unsigned int uTextureID_effpar1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
157 unsigned int uTextureID_effpar2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
158 unsigned int uTextureID_effpar3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
159 unsigned int uSpriteID_sp57c;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
160 int field_5F4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
161 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164