Mercurial > mm7
diff Engine/Spells/Spells.cpp @ 2549:3121fb54a110
Rest & Spelbook refactored into class
author | a.parshin |
---|---|
date | Tue, 12 May 2015 11:07:32 +0200 |
parents | a902abdfc7f2 |
children | 30eb6dcac768 |
line wrap: on
line diff
--- a/Engine/Spells/Spells.cpp Tue May 12 03:24:19 2015 +0200 +++ b/Engine/Spells/Spells.cpp Tue May 12 11:07:32 2015 +0200 @@ -200,19 +200,6 @@ }; -std::array<std::array<unsigned char, 12>, 9> pSpellbookSpellIndices = // 4E2430 - {{ //0 1 2 3 4 5 6 7 8 9 10 11 - {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} -}}; - std::array<std::array<struct SpellBookIconPos, 12>, 9> pIconPos={{ { 0, 0, 17, 13, 115, 2, 217, 15,