comparison mm7_5.cpp @ 125:b5c3f448cd74

pPaperdollRings
author Ritor1
date Mon, 11 Feb 2013 21:09:13 +0600
parents bf7ea4c330b3
children 9daf9c85b0c4
comparison
equal deleted inserted replaced
124:eeb0a8222d59 125:b5c3f448cd74
8632 v1 = uPlayerID; 8632 v1 = uPlayerID;
8633 pPlayer = pPlayers[uPlayerID]; 8633 pPlayer = pPlayers[uPlayerID];
8634 v47 = pPlayers[uPlayerID]; 8634 v47 = pPlayers[uPlayerID];
8635 pIcons_LOD->LoadTexture("sptext01", TEXTURE_16BIT_PALETTE); 8635 pIcons_LOD->LoadTexture("sptext01", TEXTURE_16BIT_PALETTE);
8636 CharacterUI_DrawPaperdoll(v1); 8636 CharacterUI_DrawPaperdoll(v1);
8637 pRenderer->DrawTextureTransparent(0x1D9u, 0, 8637 pRenderer->DrawTextureTransparent(0x1D9u, 0, (Texture *)(uTextureID_BACKHAND != -1 ? &pIcons_LOD->pTextures[uTextureID_BACKHAND] : 0));
8638 (Texture *)(uTextureID_BACKHAND != -1 ? &pIcons_LOD->pTextures[uTextureID_BACKHAND] : 0)); 8638 pRenderer->DrawTextureTransparent(0x1D4u, 0, (Texture *)(uTextureID_507B04 != -1 ? &pIcons_LOD->pTextures[uTextureID_507B04] : 0));
8639 pRenderer->DrawTextureTransparent(0x1D4u, 0,
8640 (Texture *)(uTextureID_507B04 != -1 ? &pIcons_LOD->pTextures[uTextureID_507B04] : 0));
8641 pRenderer->DrawTextureIndexed(pCharacterScreen_DetalizBtn->uX, pCharacterScreen_DetalizBtn->uY, 8639 pRenderer->DrawTextureIndexed(pCharacterScreen_DetalizBtn->uX, pCharacterScreen_DetalizBtn->uY,
8642 (Texture *)(uTextureID_5118C8 != -1 ? &pIcons_LOD->pTextures[uTextureID_5118C8] : 0)); 8640 (Texture *)(uTextureID_5118C8 != -1 ? &pIcons_LOD->pTextures[uTextureID_5118C8] : 0));
8643 v3 = 0; 8641 v3 = 0;
8644 v46 = (int)&pPlayer->pEquipment.field_28; 8642 v46 = (int)&pPlayer->pEquipment.field_28;
8645 v48 = 0; 8643 v48 = 0;
8647 { 8645 {
8648 if ( !*(int *)v46 ) 8646 if ( !*(int *)v46 )
8649 goto LABEL_24; 8647 goto LABEL_24;
8650 v39 = *(int *)v46; 8648 v39 = *(int *)v46;
8651 v4 = (int)&pPlayer->spellbook.pDarkSpellbook.bIsSpellAvailable[36 * *(int *)v46 + 5]; 8649 v4 = (int)&pPlayer->spellbook.pDarkSpellbook.bIsSpellAvailable[36 * *(int *)v46 + 5];
8652 a3 = *(int *)((char *)dword_4E5C34 + v3); 8650 a3 = pPaperdollRingsX[v3];
8653 a2 = *(int *)((char *)dword_4E5C1C + v3); 8651 a2 = pPaperdollRingsX[v3];
8654 v5 = pIcons_LOD->LoadTexture(pItemsTable->pItems[*(int *)v4].pIconName, TEXTURE_16BIT_PALETTE); 8652 v5 = pIcons_LOD->LoadTexture(pItemsTable->pItems[*(int *)v4].pIconName, TEXTURE_16BIT_PALETTE);
8655 v6 = *(int *)(v4 + 20); 8653 v6 = *(int *)(v4 + 20);
8656 if ( *(int *)(v4 + 20) & 0xF0 ) 8654 if ( *(int *)(v4 + 20) & 0xF0 )
8657 { 8655 {
8658 if ( (*(int *)(v4 + 20) & 0xF0) != 16 ) 8656 if ( (*(int *)(v4 + 20) & 0xF0) != 16 )