Mercurial > mm7
comparison GUI/UI/UIRest.cpp @ 2575:a76d408c5132 tip
DrawTranslucent -> DrawTextureGrayShade
Removed old texture drawing stuff
author | a.parshin |
---|---|
date | Wed, 09 Mar 2016 01:39:52 +0200 |
parents | dd36326a9994 |
children |
comparison
equal
deleted
inserted
replaced
2574:dd36326a9994 | 2575:a76d408c5132 |
---|---|
45 GUIButton2.uY = 161; | 45 GUIButton2.uY = 161; |
46 GUIButton2.uWidth = 171; | 46 GUIButton2.uWidth = 171; |
47 GUIButton2.uHeight = 37; | 47 GUIButton2.uHeight = 37; |
48 GUIButton2.pParent = pButton_RestUI_WaitUntilDawn->pParent; | 48 GUIButton2.pParent = pButton_RestUI_WaitUntilDawn->pParent; |
49 pAudioPlayer->PlaySound(SOUND_StartMainChoice02, 0, 0, -1, 0, 0, 0, 0); | 49 pAudioPlayer->PlaySound(SOUND_StartMainChoice02, 0, 0, -1, 0, 0, 0, 0); |
50 pRenderer->DrawTextureTransparentColorKey(uFrameX, uFrameY, *((Texture_MM7 **)ptr_1C + 15)); | 50 pRenderer->DrawTextureAlphaNew(uFrameX/640.0f, uFrameY/480.0f, *((Image **)ptr_1C + 15)); |
51 viewparams->bRedrawGameUI = 1; | 51 viewparams->bRedrawGameUI = 1; |
52 GUIButton2.DrawLabel(pGlobalTXT_LocalizationStrings[183], pFontCreate, 0, 0); // Rest & Heal 8 hrs / Отдых и лечение 8 часов | 52 GUIButton2.DrawLabel(pGlobalTXT_LocalizationStrings[183], pFontCreate, 0, 0); // Rest & Heal 8 hrs / Отдых и лечение 8 часов |
53 GUIButton2.pParent = 0; | 53 GUIButton2.pParent = 0; |
54 Release(); | 54 Release(); |
55 } | 55 } |