annotate CastSpellInfo.h @ 2488:e8130e8c116f

Слияние
author Ritor1
date Thu, 11 Sep 2014 17:26:30 +0600
parents 5d263539bbec
children
rev   line source
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
1 #pragma once
1519
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
2
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
3 #include <cstdint>
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
4
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 933
diff changeset
5 #include <array>
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
6
1517
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
7 namespace CastSpellInfoHelpers
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
8 {
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
9 void _427D48();
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
10 void _427E01_cast_spell();
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
11 };
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
12
bfb00599a133 New files
Ritor1
parents:
diff changeset
13 /* 271 */
bfb00599a133 New files
Ritor1
parents:
diff changeset
14 #pragma pack(push, 1)
bfb00599a133 New files
Ritor1
parents:
diff changeset
15 struct CastSpellInfo
bfb00599a133 New files
Ritor1
parents:
diff changeset
16 {
bfb00599a133 New files
Ritor1
parents:
diff changeset
17 //----- (00426987) --------------------------------------------------------
bfb00599a133 New files
Ritor1
parents:
diff changeset
18 inline CastSpellInfo()
bfb00599a133 New files
Ritor1
parents:
diff changeset
19 {
2195
70b63fe6587c fixing a few bugs reported by PVS
Grumpy7
parents: 1519
diff changeset
20 memset(this, 0, sizeof(*this));
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
21 }
bfb00599a133 New files
Ritor1
parents:
diff changeset
22
1455
bfe342ae0c1f DrawPaperdoll cleaning
Ritor1
parents: 1202
diff changeset
23 struct GUIWindow *GetCastSpellInInventoryWindow();
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
24
1519
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
25 uint16_t uSpellID;
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
26 uint16_t uPlayerID;
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
27 uint16_t uPlayerID_2;
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
28 __int16 field_6;
1519
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
29 uint16_t uFlags;
933
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)
2343
5d263539bbec Moving functions from unsorted_subs.h pt5
Grumpy7
parents: 2195
diff changeset
35
5d263539bbec Moving functions from unsorted_subs.h pt5
Grumpy7
parents: 2195
diff changeset
36 void _42777D_CastSpell_UseWand_ShootArrow(int a1, unsigned int uPlayerID, unsigned int a4, __int16 a5, int a6);