annotate CastSpellInfo.h @ 1156:bca3f865990b

Render::DrawProjectile restoring cleanup
author Grumpy7
date Mon, 03 Jun 2013 23:20:42 +0200
parents bfb00599a133
children 0dbf6c4dd029
rev   line source
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
1 #pragma once
bfb00599a133 New files
Ritor1
parents:
diff changeset
2
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
bfb00599a133 New files
Ritor1
parents:
diff changeset
37 extern CastSpellInfo pCastSpellInfo[10];
bfb00599a133 New files
Ritor1
parents:
diff changeset
38 extern CastSpellInfo stru_50CDB4; // idb