Mercurial > mm7
comparison UI/UIPopup.cpp @ 2132:49de109bbab5
SavePCXScreenshot() continue
author | Ritor1 |
---|---|
date | Sun, 29 Dec 2013 01:26:15 +0600 |
parents | 7810cb3a5fb7 |
children | d28d3c006077 |
comparison
equal
deleted
inserted
replaced
2131:651b24553ae9 | 2132:49de109bbab5 |
---|---|
122 int v81; // [sp+264h] [bp-14h]@5 | 122 int v81; // [sp+264h] [bp-14h]@5 |
123 PlayerSpeech v83; // [sp+26Ch] [bp-Ch]@18 | 123 PlayerSpeech v83; // [sp+26Ch] [bp-Ch]@18 |
124 char* v84; | 124 char* v84; |
125 int v85; | 125 int v85; |
126 char *Str; // [sp+270h] [bp-8h]@65 | 126 char *Str; // [sp+270h] [bp-8h]@65 |
127 | |
128 int r_mask = 0xF800; | |
129 int g_mask = 0x7E0; | |
130 int b_mask = 0x1F; | |
127 | 131 |
128 if (!inspect_item->uItemID) | 132 if (!inspect_item->uItemID) |
129 return; | 133 return; |
130 iteminfo_window.Hint = 0; | 134 iteminfo_window.Hint = 0; |
131 iteminfo_window.uFrameWidth = 384; | 135 iteminfo_window.uFrameWidth = 384; |
407 } | 411 } |
408 return; | 412 return; |
409 } | 413 } |
410 pText = pGlobalTXT_LocalizationStrings[651]; //"Hardened" | 414 pText = pGlobalTXT_LocalizationStrings[651]; //"Hardened" |
411 } | 415 } |
412 LOWORD(inspect_item->uAttributes) = LOWORD(pRenderer->uTargetRMask); | 416 LOWORD(inspect_item->uAttributes) = r_mask; |
413 iteminfo_window.DrawText(pFontComic, pFontComic->GetLineWidth(pTmpBuf.data()) + 132, | 417 iteminfo_window.DrawText(pFontComic, pFontComic->GetLineWidth(pTmpBuf.data()) + 132, |
414 iteminfo_window.uFrameHeight - LOBYTE(pFontComic->uFontHeight), inspect_item->uAttributes, pText, 0, 0, 0); | 418 iteminfo_window.uFrameHeight - LOBYTE(pFontComic->uFontHeight), inspect_item->uAttributes, pText, 0, 0, 0); |
415 pRenderer->ResetTextureClipRect(); | 419 pRenderer->ResetTextureClipRect(); |
416 } | 420 } |
417 if ( !areWeLoadingTexture ) | 421 if ( !areWeLoadingTexture ) |