diff Engine/Spells/CastSpellInfo.h @ 2499:68cdef6879a0

engine folder
author Ritor1
date Fri, 19 Sep 2014 02:57:42 +0600
parents
children 30eb6dcac768
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Engine/Spells/CastSpellInfo.h	Fri Sep 19 02:57:42 2014 +0600
@@ -0,0 +1,36 @@
+#pragma once
+
+#include <cstdint>
+
+#include <array>
+
+namespace CastSpellInfoHelpers
+{
+  void _427D48();
+  void _427E01_cast_spell();
+};
+
+/*  271 */
+#pragma pack(push, 1)
+struct CastSpellInfo
+{
+  //----- (00426987) --------------------------------------------------------
+  inline CastSpellInfo()
+  {
+    memset(this, 0, sizeof(*this));
+  }
+
+  struct GUIWindow *GetCastSpellInInventoryWindow();
+
+  uint16_t uSpellID;
+  uint16_t uPlayerID;
+  uint16_t uPlayerID_2;
+  __int16 field_6;
+  uint16_t uFlags;
+  __int16 forced_spell_skill_level;
+  int spell_target_pid;
+  int sound_id;
+};
+#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