mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
I.M.P. Screen Adjustments
- Fixed wrong X/Y coordinates of some title positions - Externalized hardcoded "I.M.P. Prejudices" and "I.M.P. Background" texts to the language cpp files - A few more minor cosmetics git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6563 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -634,9 +634,8 @@ BOOLEAN RenderCharProfileFinishFace( void )
|
||||
*/
|
||||
void RenderCharFullName( void )
|
||||
{
|
||||
|
||||
CHAR16 sString[ 64 ];
|
||||
INT16 sX, sY;
|
||||
//INT16 sX, sY;
|
||||
|
||||
// render the characters full name
|
||||
SetFont( FONT14ARIAL );
|
||||
@@ -645,9 +644,10 @@ void RenderCharFullName( void )
|
||||
|
||||
swprintf( sString, pIMPFinishStrings[ 0 ], pFullName );
|
||||
|
||||
DrawTextToScreen( sString, LAPTOP_SCREEN_UL_X - 111, LAPTOP_TITLE_Y, LAPTOP_TEXT_WIDTH, FONT14ARIAL, FONT_MCOLOR_WHITE, FONT_MCOLOR_BLACK, FALSE, CENTER_JUSTIFIED );
|
||||
|
||||
FindFontCenterCoordinates(LAPTOP_SCREEN_UL_X - 111, 0, LAPTOP_SCREEN_LR_X - LAPTOP_SCREEN_UL_X, 0 , sString , FONT14ARIAL, &sX, &sY);
|
||||
mprintf( sX, iScreenHeightOffset + LAPTOP_SCREEN_WEB_DELTA_Y + 33, sString );
|
||||
//FindFontCenterCoordinates(LAPTOP_SCREEN_UL_X - 111, LAPTOP_TITLE_Y, LAPTOP_TEXT_WIDTH, 0 , sString , FONT14ARIAL, &sX, &sY);
|
||||
//mprintf( sX, iScreenHeightOffset + LAPTOP_SCREEN_WEB_DELTA_Y + 33, sString );
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user