comparison mm7_4.cpp @ 809:7bb33867d2cb

Pv[] in sprintfex
author Ritor1
date Tue, 26 Mar 2013 00:09:21 +0600
parents 14beae4f1723
children cfc65feef029
comparison
equal deleted inserted replaced
808:a49b8df4de89 809:7bb33867d2cb
7152 { 7152 {
7153 v27 = gold_transaction_amount; 7153 v27 = gold_transaction_amount;
7154 v24 = pSkillNames[v17]; 7154 v24 = pSkillNames[v17];
7155 v21 = pGlobalTXT_LocalizationStrings[225]; 7155 v21 = pGlobalTXT_LocalizationStrings[225];
7156 LABEL_90: 7156 LABEL_90:
7157 sprintf(pTmpBuf2, pGlobalTXT_LocalizationStrings[534], v21, v24, v27); 7157 sprintfex(pTmpBuf2, pGlobalTXT_LocalizationStrings[534], v21, v24, v27);
7158 } 7158 }
7159 return pTmpBuf2; 7159 return pTmpBuf2;
7160 } 7160 }
7161 7161
7162 //----- (004B29F2) -------------------------------------------------------- 7162 //----- (004B29F2) --------------------------------------------------------
7877 pDialogueNPCCount = (_this + 1); 7877 pDialogueNPCCount = (_this + 1);
7878 if ( _this + 1 == uNumDialogueNPCPortraits && uHouse_ExitPic ) 7878 if ( _this + 1 == uNumDialogueNPCPortraits && uHouse_ExitPic )
7879 { 7879 {
7880 pDialogueWindow->Release(); 7880 pDialogueWindow->Release();
7881 pDialogueWindow = GUIWindow::Create(0, 0, 640, 480, WINDOW_MainMenu, 0, 0); 7881 pDialogueWindow = GUIWindow::Create(0, 0, 640, 480, WINDOW_MainMenu, 0, 0);
7882 sprintf(sHouseName, pGlobalTXT_LocalizationStrings[LOCSTR_ENTER_S], pMapStats->pInfos[uHouse_ExitPic].pName); 7882 sprintfex(sHouseName, pGlobalTXT_LocalizationStrings[LOCSTR_ENTER_S], pMapStats->pInfos[uHouse_ExitPic].pName);
7883 pBtn_ExitCancel = pDialogueWindow->CreateButton( 566, 445, 75, 33, 1, 0, 0x71u, 0, 0x4Eu, 7883 pBtn_ExitCancel = pDialogueWindow->CreateButton( 566, 445, 75, 33, 1, 0, 0x71u, 0, 0x4Eu,
7884 pGlobalTXT_LocalizationStrings[34],// "Cancel" 7884 pGlobalTXT_LocalizationStrings[34],// "Cancel"
7885 (Texture *)(uTextureID_BUTTDESC2 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_BUTTDESC2] : 0),0); 7885 (Texture *)(uTextureID_BUTTDESC2 != -1 ? (int)&pIcons_LOD->pTextures[uTextureID_BUTTDESC2] : 0),0);
7886 pBtn_YES = pDialogueWindow->CreateButton( 486u, 445u, 75u, 33u, 1, 0, 0xBFu, 1u, 0x59u, 7886 pBtn_YES = pDialogueWindow->CreateButton( 486u, 445u, 75u, 33u, 1, 0, 0xBFu, 1u, 0x59u,
7887 sHouseName, 7887 sHouseName,