comparison GUI/UI/UIPopup.cpp @ 2550:fb42e2662c38

Chest UI refactored to a class
author a.parshin
date Tue, 12 May 2015 11:28:22 +0200
parents 87e5590d034b
children 91c75d202d30
comparison
equal deleted inserted replaced
2549:3121fb54a110 2550:fb42e2662c38
1283 sprintf( pTmpBuf.data(), "%s\n%d", pGlobalTXT_LocalizationStrings[LOCSTR_SP_COST], 1283 sprintf( pTmpBuf.data(), "%s\n%d", pGlobalTXT_LocalizationStrings[LOCSTR_SP_COST],
1284 pSpellDatas[spell_index + 11 * pPlayers[uActiveCharacter]->lastOpenedSpellbookPage + 1].mana_per_skill[skill_level - 1]); 1284 pSpellDatas[spell_index + 11 * pPlayers[uActiveCharacter]->lastOpenedSpellbookPage + 1].mana_per_skill[skill_level - 1]);
1285 spell_info_window.DrawTitleText(pFontComic, 12, spell_info_window.uFrameHeight - LOBYTE(pFontComic->uFontHeight) - 16, 0, pTmpBuf.data(), 3); 1285 spell_info_window.DrawTitleText(pFontComic, 12, spell_info_window.uFrameHeight - LOBYTE(pFontComic->uFontHeight) - 16, 0, pTmpBuf.data(), 3);
1286 dword_507B00_spell_info_to_draw_in_popup = 0; 1286 dword_507B00_spell_info_to_draw_in_popup = 0;
1287 } 1287 }
1288 // 507B00: using guessed type int dword_507B00_spell_info_to_draw_in_popup; 1288
1289 1289
1290 //----- (00416D62) -------------------------------------------------------- 1290 //----- (00416D62) --------------------------------------------------------
1291 void UI_OnMouseRightClick(Vec2_int_ *_this) 1291 void UI_OnMouseRightClick(Vec2_int_ *_this)
1292 { 1292 {
1293 int v5; // esi@62 1293 int v5; // esi@62