Mercurial > might-and-magic-trilogy
comparison stru6.cpp @ 23:509744251c8e
Player-related members
author | Nomad |
---|---|
date | Sun, 14 Oct 2012 00:27:38 +0200 |
parents | 8b8875f5b359 |
children | bcc051713d20 |
comparison
equal
deleted
inserted
replaced
22:e7ee737cd473 | 23:509744251c8e |
---|---|
1658 unsigned __int8 v4; // zf@3 | 1658 unsigned __int8 v4; // zf@3 |
1659 char v5; // sf@3 | 1659 char v5; // sf@3 |
1660 unsigned __int8 v6; // of@3 | 1660 unsigned __int8 v6; // of@3 |
1661 IconFrame *v7; // eax@4 | 1661 IconFrame *v7; // eax@4 |
1662 | 1662 |
1663 uint _it = 0; | |
1663 v1 = pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing; | 1664 v1 = pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing; |
1664 v2 = (char *)&this->pPlayerBuffs[0].uSpellIconID; | 1665 v2 = (char *)&this->pPlayerBuffs[0].uSpellIconID; |
1665 do | 1666 do |
1666 { | 1667 { |
1667 if ( *((short *)v2 - 2) ) | 1668 if ( *((short *)v2 - 2) ) |
1683 } | 1684 } |
1684 } | 1685 } |
1685 v2 += 16; | 1686 v2 += 16; |
1686 ++v1; | 1687 ++v1; |
1687 } | 1688 } |
1688 while ( (signed int)v1 < (signed int)pBaseHealthByClass ); | 1689 //while ( (signed int)v1 < (signed int)pBaseHealthByClass ); |
1690 while (++_it != 4); | |
1689 } | 1691 } |
1690 | 1692 |
1691 //----- (004A90A0) -------------------------------------------------------- | 1693 //----- (004A90A0) -------------------------------------------------------- |
1692 void stru6::LoadAnimations() | 1694 void stru6::LoadAnimations() |
1693 { | 1695 { |