mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- Added Chinese language support (thx to Noword from TBS)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2424 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1876,13 +1876,13 @@ BOOLEAN DisplayVideoConferencingDisplay()
|
||||
UINT16 usActualWidth;
|
||||
UINT16 usActualHeight;
|
||||
UINT16 usPosX;
|
||||
|
||||
SET_USE_WINFONTS( TRUE );
|
||||
SET_WINFONT( giSubTitleWinFont );
|
||||
//never use it anymore
|
||||
// SET_USE_WINFONTS( TRUE );
|
||||
// SET_WINFONT( giSubTitleWinFont );
|
||||
|
||||
iAimMembersBoxId = PrepareMercPopupBox( iAimMembersBoxId ,BASIC_MERC_POPUP_BACKGROUND, BASIC_MERC_POPUP_BORDER, gsTalkingMercText, 300, 0, 0, 0, &usActualWidth, &usActualHeight);
|
||||
|
||||
SET_USE_WINFONTS( FALSE );
|
||||
// SET_USE_WINFONTS( FALSE );
|
||||
|
||||
usPosX = iScreenWidthOffset + ( 613 - usActualWidth ) / 2 ;
|
||||
|
||||
|
||||
+4
-3
@@ -1594,11 +1594,12 @@ void DisplayTextForSpeckVideoPopUp(STR16 pString)
|
||||
DrawMercVideoBackGround();
|
||||
}
|
||||
|
||||
//never use it anymore
|
||||
//SET_USE_WINFONTS( TRUE );
|
||||
//SET_WINFONT( giSubTitleWinFont );
|
||||
//Create the popup box
|
||||
SET_USE_WINFONTS( TRUE );
|
||||
SET_WINFONT( giSubTitleWinFont );
|
||||
iMercPopUpBox = PrepareMercPopupBox( iMercPopUpBox, BASIC_MERC_POPUP_BACKGROUND, BASIC_MERC_POPUP_BORDER, gsSpeckDialogueTextPopUp, 300, 0, 0, 0, &gusSpeckDialogueActualWidth, &usActualHeight);
|
||||
SET_USE_WINFONTS( FALSE );
|
||||
//SET_USE_WINFONTS( FALSE );
|
||||
|
||||
gusSpeckDialogueX = iScreenWidthOffset + 111 + ((640 - 111) / 2 - (gusSpeckDialogueActualWidth / 2));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user