933
|
1 #pragma once
|
1202
|
2 #include <array>
|
933
|
3
|
|
4
|
|
5 /* 271 */
|
|
6 #pragma pack(push, 1)
|
|
7 struct CastSpellInfo
|
|
8 {
|
|
9 //----- (00426987) --------------------------------------------------------
|
|
10 inline CastSpellInfo()
|
|
11 {
|
|
12 field_8 = 0;
|
|
13 spellnum = 0;
|
|
14 field_6 = 0;
|
|
15 uPlayerID_2 = 0;
|
|
16 uPlayerID = 0;
|
|
17 sound_id = 0;
|
|
18 }
|
|
19
|
|
20 void _427D48(unsigned int uPlayerID);
|
|
21 unsigned int PushCastSpellInfo(__int16 a2, __int16 uPlayerID, __int16 skill_level, __int16 a5, int sound_id);
|
|
22 struct GUIWindow *sub_4219BE();
|
|
23 void _427E01_cast_spell();
|
|
24
|
|
25 __int16 spellnum;
|
|
26 unsigned __int16 uPlayerID;
|
|
27 __int16 uPlayerID_2;
|
|
28 __int16 field_6;
|
|
29 __int16 field_8;
|
|
30 __int16 forced_spell_skill_level;
|
|
31 int spell_target_pid;
|
|
32 int sound_id;
|
|
33 };
|
|
34 #pragma pack(pop)
|
|
35
|
|
36
|
1202
|
37 extern std::array<CastSpellInfo, 10> pCastSpellInfo;
|
933
|
38 extern CastSpellInfo stru_50CDB4; // idb
|