Mercurial > mm7
diff Engine/Objects/Player.cpp @ 2574:dd36326a9994
More texture refactoring
GetLeather -> DrawTextureCustomHeight
author | a.parshin |
---|---|
date | Mon, 07 Mar 2016 03:48:40 +0200 |
parents | d569340b05ff |
children |
line wrap: on
line diff
--- a/Engine/Objects/Player.cpp Sat Mar 05 16:25:53 2016 +0200 +++ b/Engine/Objects/Player.cpp Mon Mar 07 03:48:40 2016 +0200 @@ -768,7 +768,7 @@ //----- (00492528) -------------------------------------------------------- bool Player::CanFitItem(unsigned int uSlot, unsigned int uItemID) { - Texture *texture; // esi@1 + Texture_MM7 *texture; // esi@1 unsigned int slotWidth; // ebx@1 unsigned int slotHeight; // [sp+1Ch] [bp+Ch]@1 @@ -939,7 +939,7 @@ //----- (0049298B) -------------------------------------------------------- void Player::PutItemArInventoryIndex( int uItemID, int itemListPos, int index ) //originally accepted ItemGen* but needed only its uItemID { - Texture *item_texture; // esi@1 + Texture_MM7 *item_texture; // esi@1 int *pInvPos; // esi@4 unsigned int slot_width; // [sp+Ch] [bp-4h]@1 unsigned int slot_height; // [sp+18h] [bp+8h]@1 @@ -970,7 +970,7 @@ void Player::RemoveItemAtInventoryIndex( unsigned int index ) { ItemGen *item_in_slot; // ecx@1 - Texture *item_texture; // esi@1 + Texture_MM7 *item_texture; // esi@1 unsigned int slot_height; // ebp@1 int *pInvPos; // edx@4 unsigned int slot_width; // [sp+14h] [bp+4h]@1