annotate CastSpellInfo.h @ 1291:1577d75db258

m
author Ritor1
date Fri, 14 Jun 2013 16:06:20 +0600
parents 0dbf6c4dd029
children bfe342ae0c1f
rev   line source
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
1 #pragma once
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 933
diff changeset
2 #include <array>
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
3
bfb00599a133 New files
Ritor1
parents:
diff changeset
4
bfb00599a133 New files
Ritor1
parents:
diff changeset
5 /* 271 */
bfb00599a133 New files
Ritor1
parents:
diff changeset
6 #pragma pack(push, 1)
bfb00599a133 New files
Ritor1
parents:
diff changeset
7 struct CastSpellInfo
bfb00599a133 New files
Ritor1
parents:
diff changeset
8 {
bfb00599a133 New files
Ritor1
parents:
diff changeset
9 //----- (00426987) --------------------------------------------------------
bfb00599a133 New files
Ritor1
parents:
diff changeset
10 inline CastSpellInfo()
bfb00599a133 New files
Ritor1
parents:
diff changeset
11 {
bfb00599a133 New files
Ritor1
parents:
diff changeset
12 field_8 = 0;
bfb00599a133 New files
Ritor1
parents:
diff changeset
13 spellnum = 0;
bfb00599a133 New files
Ritor1
parents:
diff changeset
14 field_6 = 0;
bfb00599a133 New files
Ritor1
parents:
diff changeset
15 uPlayerID_2 = 0;
bfb00599a133 New files
Ritor1
parents:
diff changeset
16 uPlayerID = 0;
bfb00599a133 New files
Ritor1
parents:
diff changeset
17 sound_id = 0;
bfb00599a133 New files
Ritor1
parents:
diff changeset
18 }
bfb00599a133 New files
Ritor1
parents:
diff changeset
19
bfb00599a133 New files
Ritor1
parents:
diff changeset
20 void _427D48(unsigned int uPlayerID);
bfb00599a133 New files
Ritor1
parents:
diff changeset
21 unsigned int PushCastSpellInfo(__int16 a2, __int16 uPlayerID, __int16 skill_level, __int16 a5, int sound_id);
bfb00599a133 New files
Ritor1
parents:
diff changeset
22 struct GUIWindow *sub_4219BE();
bfb00599a133 New files
Ritor1
parents:
diff changeset
23 void _427E01_cast_spell();
bfb00599a133 New files
Ritor1
parents:
diff changeset
24
bfb00599a133 New files
Ritor1
parents:
diff changeset
25 __int16 spellnum;
bfb00599a133 New files
Ritor1
parents:
diff changeset
26 unsigned __int16 uPlayerID;
bfb00599a133 New files
Ritor1
parents:
diff changeset
27 __int16 uPlayerID_2;
bfb00599a133 New files
Ritor1
parents:
diff changeset
28 __int16 field_6;
bfb00599a133 New files
Ritor1
parents:
diff changeset
29 __int16 field_8;
bfb00599a133 New files
Ritor1
parents:
diff changeset
30 __int16 forced_spell_skill_level;
bfb00599a133 New files
Ritor1
parents:
diff changeset
31 int spell_target_pid;
bfb00599a133 New files
Ritor1
parents:
diff changeset
32 int sound_id;
bfb00599a133 New files
Ritor1
parents:
diff changeset
33 };
bfb00599a133 New files
Ritor1
parents:
diff changeset
34 #pragma pack(pop)
bfb00599a133 New files
Ritor1
parents:
diff changeset
35
bfb00599a133 New files
Ritor1
parents:
diff changeset
36
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 933
diff changeset
37 extern std::array<CastSpellInfo, 10> pCastSpellInfo;
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
38 extern CastSpellInfo stru_50CDB4; // idb