comparison mm7_4.cpp @ 721:f39d5902c85a

m
author Ritor1
date Wed, 20 Mar 2013 17:48:51 +0600
parents 05f7a11f4f20
children 70c5a87a1307
comparison
equal deleted inserted replaced
720:05f7a11f4f20 721:f39d5902c85a
10066 a1.uFrameWidth = 148; 10066 a1.uFrameWidth = 148;
10067 a1.uFrameZ = 334; 10067 a1.uFrameZ = 334;
10068 v2 = pTransitionStrings[uHouse_ExitPic]; 10068 v2 = pTransitionStrings[uHouse_ExitPic];
10069 if ( !v2 ) 10069 if ( !v2 )
10070 { 10070 {
10071 sprintf(pTmpBuf, pGlobalTXT_LocalizationStrings[411], v0); 10071 sprintfex(pTmpBuf, pGlobalTXT_LocalizationStrings[411], v0);
10072 v2 = pTmpBuf; 10072 v2 = pTmpBuf;
10073 } 10073 }
10074 v3 = v2; 10074 v3 = v2;
10075 v4 = pFontCreate->CalcTextHeight(v2, &a1, 0, 0); 10075 v4 = pFontCreate->CalcTextHeight(v2, &a1, 0, 0);
10076 LOBYTE(i) = (unsigned int)a1.DrawTitleText(pFontCreate, 0, (212 - v4) / 2 + 101, 0, v3, 3u); 10076 LOBYTE(i) = (unsigned int)a1.DrawTitleText(pFontCreate, 0, (212 - v4) / 2 + 101, 0, v3, 3u);
12277 if ( !v23 ) 12277 if ( !v23 )
12278 { 12278 {
12279 v14 = pMapStats->GetMapInfo(pCurrentMapName); 12279 v14 = pMapStats->GetMapInfo(pCurrentMapName);
12280 if ( v14 ) 12280 if ( v14 )
12281 { 12281 {
12282 v20 = pMapStats->pInfos[v14].pName; 12282 sprintfex(sHouseName, pGlobalTXT_LocalizationStrings[410], pMapStats->pInfos[v14].pName);
12283 v18 = pGlobalTXT_LocalizationStrings[410];
12284 LABEL_10:
12285 sprintf(sHouseName, v18, v20);
12286 goto LABEL_20; 12283 goto LABEL_20;
12287 } 12284 }
12288 v21 = pGlobalTXT_LocalizationStrings[79]; 12285 v21 = pGlobalTXT_LocalizationStrings[79];
12289 goto LABEL_19; 12286 goto LABEL_19;
12290 } 12287 }
12293 if ( *pLocationName == 48 ) 12290 if ( *pLocationName == 48 )
12294 v15 = pCurrentMapName; 12291 v15 = pCurrentMapName;
12295 v16 = pMapStats->GetMapInfo(v15); 12292 v16 = pMapStats->GetMapInfo(v15);
12296 if ( v16 ) 12293 if ( v16 )
12297 { 12294 {
12298 v20 = pMapStats->pInfos[v16].pName; 12295 sprintfex(sHouseName, pGlobalTXT_LocalizationStrings[411], pMapStats->pInfos[v16].pName);
12299 v18 = pGlobalTXT_LocalizationStrings[411]; 12296 goto LABEL_20;
12300 goto LABEL_10;
12301 } 12297 }
12302 v21 = pGlobalTXT_LocalizationStrings[73]; 12298 v21 = pGlobalTXT_LocalizationStrings[73];
12303 LABEL_19: 12299 LABEL_19:
12304 strcpy(sHouseName, v21); 12300 strcpy(sHouseName, v21);
12305 LABEL_20: 12301 LABEL_20: