Mercurial > mm7
comparison mm7_5.cpp @ 244:bb9e946cbcbf
cleaning, ring fixed
author | zipi |
---|---|
date | Sun, 17 Feb 2013 23:59:30 +0000 |
parents | a6a8fa73b4ec |
children | fb8a876f41e1 |
comparison
equal
deleted
inserted
replaced
243:a6a8fa73b4ec | 244:bb9e946cbcbf |
---|---|
8584 void __fastcall CharacterUI_DrawPaperdollWithRingOverlay(unsigned int uPlayerID) | 8584 void __fastcall CharacterUI_DrawPaperdollWithRingOverlay(unsigned int uPlayerID) |
8585 { | 8585 { |
8586 unsigned int v1; // ebx@1 | 8586 unsigned int v1; // ebx@1 |
8587 Player *pPlayer; // edi@1 | 8587 Player *pPlayer; // edi@1 |
8588 int v3; // ecx@1 | 8588 int v3; // ecx@1 |
8589 int v4; // edi@3 | 8589 int *v4; // edi@3 |
8590 unsigned int v5; // ebx@3 | 8590 unsigned int v5; // ebx@3 |
8591 int v6; // eax@3 | 8591 int v6; // eax@3 |
8592 LODFile_IconsBitmaps *v7; // ecx@7 | 8592 LODFile_IconsBitmaps *v7; // ecx@7 |
8593 double v8; // st7@16 | 8593 double v8; // st7@16 |
8594 int v9; // edi@17 | 8594 int v9; // edi@17 |
8626 int v41; // [sp+10h] [bp-20h]@26 | 8626 int v41; // [sp+10h] [bp-20h]@26 |
8627 Texture *v42; // [sp+10h] [bp-20h]@37 | 8627 Texture *v42; // [sp+10h] [bp-20h]@37 |
8628 int v43; // [sp+10h] [bp-20h]@47 | 8628 int v43; // [sp+10h] [bp-20h]@47 |
8629 unsigned int a3; // [sp+14h] [bp-1Ch]@3 | 8629 unsigned int a3; // [sp+14h] [bp-1Ch]@3 |
8630 unsigned int a2; // [sp+18h] [bp-18h]@3 | 8630 unsigned int a2; // [sp+18h] [bp-18h]@3 |
8631 int v46; // [sp+1Ch] [bp-14h]@1 | 8631 unsigned int *v46; // [sp+1Ch] [bp-14h]@1 |
8632 Player *v47; // [sp+20h] [bp-10h]@1 | 8632 Player *v47; // [sp+20h] [bp-10h]@1 |
8633 int v48; // [sp+24h] [bp-Ch]@1 | 8633 int v48; // [sp+24h] [bp-Ch]@1 |
8634 int v49; // [sp+24h] [bp-Ch]@26 | 8634 int v49; // [sp+24h] [bp-Ch]@26 |
8635 | 8635 |
8636 v1 = uPlayerID; | 8636 v1 = uPlayerID; |
8641 pRenderer->DrawTextureTransparent(0x1D9u, 0, (Texture *)(uTextureID_BACKHAND != -1 ? &pIcons_LOD->pTextures[uTextureID_BACKHAND] : 0)); | 8641 pRenderer->DrawTextureTransparent(0x1D9u, 0, (Texture *)(uTextureID_BACKHAND != -1 ? &pIcons_LOD->pTextures[uTextureID_BACKHAND] : 0)); |
8642 pRenderer->DrawTextureTransparent(0x1D4u, 0, (Texture *)(uTextureID_507B04 != -1 ? &pIcons_LOD->pTextures[uTextureID_507B04] : 0)); | 8642 pRenderer->DrawTextureTransparent(0x1D4u, 0, (Texture *)(uTextureID_507B04 != -1 ? &pIcons_LOD->pTextures[uTextureID_507B04] : 0)); |
8643 pRenderer->DrawTextureIndexed(pCharacterScreen_DetalizBtn->uX, pCharacterScreen_DetalizBtn->uY, | 8643 pRenderer->DrawTextureIndexed(pCharacterScreen_DetalizBtn->uX, pCharacterScreen_DetalizBtn->uY, |
8644 (Texture *)(uTextureID_5118C8 != -1 ? &pIcons_LOD->pTextures[uTextureID_5118C8] : 0)); | 8644 (Texture *)(uTextureID_5118C8 != -1 ? &pIcons_LOD->pTextures[uTextureID_5118C8] : 0)); |
8645 v3 = 0; | 8645 v3 = 0; |
8646 v46 = (int)&pPlayer->pEquipment.field_28; | 8646 v46 = &pPlayer->pEquipment.field_28; |
8647 v48 = 0; | 8647 v48 = 0; |
8648 do | 8648 do |
8649 { | 8649 { |
8650 if ( !*(int *)v46 ) | 8650 if ( !*v46 ) |
8651 goto LABEL_24; | 8651 goto LABEL_24; |
8652 v39 = *(int *)v46; | 8652 v39 = *v46; |
8653 v4 = (int)&pPlayer->spellbook.pDarkSpellbook.bIsSpellAvailable[36 * *(int *)v46 + 5]; | 8653 v4 = (int *)&pPlayer->pInventoryItems[*v46-1].uItemID; |
8654 a3 = pPaperdollRingsY[v3]; | 8654 a3 = pPaperdollRingsY[v3]; |
8655 a2 = pPaperdollRingsX[v3]; | 8655 a2 = pPaperdollRingsX[v3]; |
8656 v5 = pIcons_LOD->LoadTexture(pItemsTable->pItems[*(int *)v4].pIconName, TEXTURE_16BIT_PALETTE); | 8656 v5 = pIcons_LOD->LoadTexture(pItemsTable->pItems[*v4].pIconName, TEXTURE_16BIT_PALETTE); |
8657 v6 = *(int *)(v4 + 20); | 8657 v6 = *(int *)(v4 + 20); |
8658 if ( *(int *)(v4 + 20) & 0xF0 ) | 8658 if ( *(int *)(v4 + 20) & 0xF0 ) |
8659 { | 8659 { |
8660 if ( (*(int *)(v4 + 20) & 0xF0) != 16 ) | 8660 if ( (*(int *)(v4 + 20) & 0xF0) != 16 ) |
8661 { | 8661 { |