comparison mm7_3.cpp @ 819:9359c114f98c

More on screenshot
author Nomad
date Tue, 26 Mar 2013 14:14:39 +0200
parents cfc65feef029
children 5e3f4bf3b8e6 c232f160e6f3
comparison
equal deleted inserted replaced
818:352c5161fade 819:9359c114f98c
12426 12426
12427 v0 = pFontArrus; 12427 v0 = pFontArrus;
12428 pFont = pFontArrus; 12428 pFont = pFontArrus;
12429 if ( ptr_F8B1E8 && !byte_5B0938[0] ) 12429 if ( ptr_F8B1E8 && !byte_5B0938[0] )
12430 strcpy(byte_5B0938, ptr_F8B1E8); 12430 strcpy(byte_5B0938, ptr_F8B1E8);
12431 v5.uFrameWidth = 460; 12431 v5.uFrameWidth = game_viewport_width;
12432 v5.uFrameZ = 452; 12432 v5.uFrameZ = 452;
12433 v1 = pFontArrus->CalcTextHeight(byte_5B0938, &v5, 12, 0) + 7; 12433 v1 = pFontArrus->CalcTextHeight(byte_5B0938, &v5, 12, 0) + 7;
12434 if ( 352 - v1 < 8 ) 12434 if ( 352 - v1 < 8 )
12435 { 12435 {
12436 pFont = pFontCreate; 12436 pFont = pFontCreate;
12679 break; 12679 break;
12680 } 12680 }
12681 12681
12682 if (pInString) 12682 if (pInString)
12683 { 12683 {
12684 pWindow.uFrameWidth = 460; 12684 pWindow.uFrameWidth = game_viewport_width;
12685 pWindow.uFrameZ = 452; 12685 pWindow.uFrameZ = 452;
12686 auto font = pFontArrus; 12686 auto font = pFontArrus;
12687 v12 = pFontArrus->CalcTextHeight(pInString, &pWindow, 13, 0) + 7; 12687 v12 = pFontArrus->CalcTextHeight(pInString, &pWindow, 13, 0) + 7;
12688 if ( 352 - v12 < 8 ) 12688 if ( 352 - v12 < 8 )
12689 { 12689 {