Mercurial > mm7
comparison IO/Mouse.cpp @ 2524:c7264ab7132f
Main menu rendered using d3d11
author | a.parshin |
---|---|
date | Fri, 10 Oct 2014 17:42:05 +0300 |
parents | a77c34acdbc9 |
children | 1bcadc6dd203 |
comparison
equal
deleted
inserted
replaced
2523:c532d5242055 | 2524:c7264ab7132f |
---|---|
408 if (pParty->pPickedItem.IsBroken()) | 408 if (pParty->pPickedItem.IsBroken()) |
409 pRenderer->DrawTransparentRedShade(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture); | 409 pRenderer->DrawTransparentRedShade(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture); |
410 else if (!pParty->pPickedItem.IsIdentified()) | 410 else if (!pParty->pPickedItem.IsIdentified()) |
411 pRenderer->DrawTransparentGreenShade(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture); | 411 pRenderer->DrawTransparentGreenShade(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture); |
412 else | 412 else |
413 pRenderer->DrawTextureTransparent(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture); | 413 pRenderer->DrawTextureIndexedAlpha(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture); |
414 } | 414 } |
415 } | 415 } |
416 else | 416 else |
417 { | 417 { |
418 free(this->pCursorBitmap3_sysmembits_16bit); | 418 free(this->pCursorBitmap3_sysmembits_16bit); |