diff Spells.h @ 363:2bc1c8d68f41

Allocator and SpellCost Tip
author Gloval
date Fri, 22 Feb 2013 00:48:54 +0400
parents b07cf89108d5
children 7887a9cf9e7b
line wrap: on
line diff
--- a/Spells.h	Thu Feb 21 17:24:15 2013 +0600
+++ b/Spells.h	Fri Feb 22 00:48:54 2013 +0400
@@ -126,10 +126,17 @@
 #pragma pack(push, 1)
 struct SpellData
 {
+union
+	{
+  unsigned __int16 mana_per_skill[4];
+  struct
+	  {
   unsigned __int16 uNormalLevelMana;
   unsigned __int16 uExpertLevelMana;
   unsigned __int16 uMasterLevelMana;
   unsigned __int16 uMagisterLevelMana;
+	  };
+	};
   unsigned __int16 field_8;
   __int16 field_A;
   __int16 field_C;
@@ -154,7 +161,7 @@
 
 extern struct SpellStats *pSpellStats;
 
-extern struct SpellBookIconPos pIconPos[108];
+extern struct SpellBookIconPos pIconPos[9][12];
 
 extern stru324_spell stru_4E3ACC[];
 extern SpellData pSpellDatas[100];
\ No newline at end of file