comparison Engine/Spells/CastSpellInfo.h @ 2566:30eb6dcac768

big spell fx overhaul
author a.parshin
date Wed, 20 May 2015 21:05:07 +0200
parents 68cdef6879a0
children
comparison
equal deleted inserted replaced
2565:117c219bf913 2566:30eb6dcac768
1 #pragma once 1 #pragma once
2 2
3 #include <cstdint> 3 #include <cstdint>
4 #include <array>
4 5
5 #include <array> 6 #include "Spells.h"
6 7
7 namespace CastSpellInfoHelpers 8 namespace CastSpellInfoHelpers
8 { 9 {
9 void _427D48(); 10 void _427D48();
10 void _427E01_cast_spell(); 11 void _427E01_cast_spell();
31 int spell_target_pid; 32 int spell_target_pid;
32 int sound_id; 33 int sound_id;
33 }; 34 };
34 #pragma pack(pop) 35 #pragma pack(pop)
35 36
36 void _42777D_CastSpell_UseWand_ShootArrow(int a1, unsigned int uPlayerID, unsigned int a4, __int16 a5, int a6); 37
38 // flags
39 #define ON_CAST_WholeParty_BigImprovementAnim 0x0002
40 #define ON_CAST_TargetCrosshair 0x0008
41 #define ON_CAST_NoRecoverySpell 0x0020
42 #define ON_CAST_Telekenesis 0x0040
43 #define ON_CAST_Enchantment 0x0080
44 #define ON_CAST_MonsterSparkles 0x0100
45 #define ON_CAST_DarkSacrifice 0x0200
46 #define ON_CAST_CastingInProgress (ON_CAST_WholeParty_BigImprovementAnim | ON_CAST_TargetCrosshair | ON_CAST_Telekenesis | ON_CAST_Enchantment | ON_CAST_MonsterSparkles | ON_CAST_DarkSacrifice)
47 void _42777D_CastSpell_UseWand_ShootArrow(SPELL_TYPE spell, unsigned int uPlayerID, unsigned int a4, __int16 flags, int a6);