diff CastSpellInfo.h @ 1517:c3da3c2985b8

Clean CastSpellInfo. (1)
author yoctozepto
date Wed, 04 Sep 2013 14:34:59 +0200
parents bfe342ae0c1f
children 4c787c28ddce
line wrap: on
line diff
--- a/CastSpellInfo.h	Tue Sep 03 21:23:39 2013 +0200
+++ b/CastSpellInfo.h	Wed Sep 04 14:34:59 2013 +0200
@@ -1,6 +1,11 @@
 #pragma once
 #include <array>
 
+namespace CastSpellInfoHelpers
+{
+  void _427D48();
+  void _427E01_cast_spell();
+};
 
 /*  271 */
 #pragma pack(push, 1)
@@ -17,10 +22,7 @@
     sound_id = 0;
   }
 
-  void _427D48(unsigned int uPlayerID);
-  unsigned int PushCastSpellInfo(__int16 a2, __int16 uPlayerID, __int16 skill_level, __int16 a5, int sound_id);
   struct GUIWindow *GetCastSpellInInventoryWindow();
-  void _427E01_cast_spell();
 
   __int16 spellnum;
   unsigned __int16 uPlayerID;
@@ -32,7 +34,3 @@
   int sound_id;
 };
 #pragma pack(pop)
-
-
-extern std::array<CastSpellInfo, 10> pCastSpellInfo;
-extern CastSpellInfo stru_50CDB4; // idb