diff 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
line wrap: on
line diff
--- a/Engine/Spells/CastSpellInfo.h	Wed May 20 15:12:33 2015 +0200
+++ b/Engine/Spells/CastSpellInfo.h	Wed May 20 21:05:07 2015 +0200
@@ -1,8 +1,9 @@
 #pragma once
 
 #include <cstdint>
+#include <array>
 
-#include <array>
+#include "Spells.h"
 
 namespace CastSpellInfoHelpers
 {
@@ -33,4 +34,14 @@
 };
 #pragma pack(pop)
 
-void _42777D_CastSpell_UseWand_ShootArrow(int a1, unsigned int uPlayerID, unsigned int a4, __int16 a5, int a6);
\ No newline at end of file
+
+// flags
+#define ON_CAST_WholeParty_BigImprovementAnim 0x0002
+#define ON_CAST_TargetCrosshair               0x0008
+#define ON_CAST_NoRecoverySpell           0x0020
+#define ON_CAST_Telekenesis                   0x0040
+#define ON_CAST_Enchantment                   0x0080
+#define ON_CAST_MonsterSparkles               0x0100
+#define ON_CAST_DarkSacrifice                 0x0200
+#define ON_CAST_CastingInProgress (ON_CAST_WholeParty_BigImprovementAnim | ON_CAST_TargetCrosshair | ON_CAST_Telekenesis | ON_CAST_Enchantment | ON_CAST_MonsterSparkles | ON_CAST_DarkSacrifice)
+void _42777D_CastSpell_UseWand_ShootArrow(SPELL_TYPE spell, unsigned int uPlayerID, unsigned int a4, __int16 flags, int a6);
\ No newline at end of file