Mercurial > might-and-magic-trilogy
comparison Player.cpp @ 45:bcc051713d20
BLV render & seffects
author | Nomad |
---|---|
date | Mon, 22 Oct 2012 20:45:14 +0200 |
parents | 7071e4688db6 |
children | 79a30ee1ecdb |
comparison
equal
deleted
inserted
replaced
43:484492a6dd28 | 45:bcc051713d20 |
---|---|
5 #include "Texture.h" | 5 #include "Texture.h" |
6 #include "AudioPlayer.h" | 6 #include "AudioPlayer.h" |
7 #include "Party.h" | 7 #include "Party.h" |
8 #include "GUIButton.h" | 8 #include "GUIButton.h" |
9 #include "LOD.h" | 9 #include "LOD.h" |
10 #include "Monsters.h" | 10 #include "Monsters.h" |
11 #include "GUIWindow.h" | 11 #include "GUIWindow.h" |
12 #include "Viewport.h" | 12 #include "Viewport.h" |
13 #include "Actor.h" | 13 #include "Actor.h" |
14 #include "Game.h" | 14 #include "Game.h" |
15 #include "Mouse.h" | 15 #include "Mouse.h" |
4654 v3 = 0; | 4654 v3 = 0; |
4655 while ( 1 ) | 4655 while ( 1 ) |
4656 { | 4656 { |
4657 if ( !HasItemEquipped((ITEM_EQUIP_TYPE)v3) ) | 4657 if ( !HasItemEquipped((ITEM_EQUIP_TYPE)v3) ) |
4658 goto LABEL_11; | 4658 goto LABEL_11; |
4659 v5 = *(int *)v4 - 1; // BUG | 4659 v5 = pEquipment.uOffHand - 1; // BUG |
4660 // v5 = _this->cEquippedItems.uOffHand - 1; | 4660 // v5 = _this->cEquippedItems.uOffHand - 1; |
4661 if ( a2 != 17 ) | 4661 if ( a2 != 17 ) |
4662 break; | 4662 break; |
4663 v6 = (char *)this + 36 * v5; | 4663 v6 = (char *)this + 36 * v5; |
4664 if ( *((int *)v6 + 133) == 533 || *((int *)v6 + 136) == 17 ) | 4664 if ( *((int *)v6 + 133) == 533 || *((int *)v6 + 136) == 17 ) |