diff mm7_data.cpp @ 198:e6e348d66a75

Some work on spellbook
author Nomad
date Sat, 16 Feb 2013 21:46:07 +0200
parents 650d96af8855
children 0c64754c7fd4
line wrap: on
line diff
--- a/mm7_data.cpp	Sat Feb 16 20:24:31 2013 +0200
+++ b/mm7_data.cpp	Sat Feb 16 21:46:07 2013 +0200
@@ -384,9 +384,19 @@
 __int16 pTownPortalBook_ws[6];
 __int16 pTownPortalBook_hs[6];
 int dword_4E20D0[777]; // idb
-char byte_4E2430[777]; // weak
-char byte_4E2431[777]; // weak
-unsigned int pLloydsBeaconsPreviewXs[5] = {61, 281,  61, 281, 171};
+unsigned char pSpellbookSpellIndices[9][12] = // 4E2430
+{
+   {0,  3,  1,  8, 11,  7,  4, 10,  6,  2,  5,  9},
+   {0, 11,  2,  9,  6,  8,  5, 10,  3,  7,  1,  4},
+   {0,  4,  8,  9,  1, 10,  3, 11,  7,  6,  2,  5}, 
+   {0,  7, 10,  8,  2, 11,  1,  5,  3,  6,  4,  9},
+   {0,  5, 10, 11,  7,  2,  8,  1,  4,  9,  3,  6},
+   {0,  5,  9,  8,  3,  7,  6,  4,  1, 11,  2, 10}, 
+   {0,  1,  6,  9,  3,  5,  8, 11,  7, 10,  4,  2},
+   {0,  1, 10, 11,  9,  4,  3,  6,  5,  7,  8,  2},
+   {0,  9,  3,  7,  1,  5,  2, 10, 11,  8,  6,  4}
+};
+unsigned int pLloydsBeaconsPreviewXs[5] = {61, 281,  61, 281, 171}; // 004E249C
 unsigned int pLloydsBeaconsPreviewYs[5] = {84,  84, 228, 228, 155};
 unsigned int pLloydsBeacons_SomeXs[5] = {59, 279, 59, 279, 169};
 unsigned int pLloydsBeacons_SomeYs[5] = {82, 82, 226, 226, 153};