- Added possibility to use a new FONT\BLOCKFONT3.sti file in the code, which can be used for the 1024x768 map graphic texts

o Currently the variable used the FONT\BLOCKFONT2.sti, but we can change that later (once we have the STI file ready) easily in Font Control.cpp (Line 197)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4596 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2011-08-01 20:44:26 +00:00
parent fa20d0c079
commit ed2a8c4587
3 changed files with 15 additions and 2 deletions
+10 -2
View File
@@ -70,6 +70,9 @@ HVOBJECT gvoBlockyFont;
INT32 gpBlockyFont2;
HVOBJECT gvoBlockyFont2;
INT32 gpBlockyFont3;
HVOBJECT gvoBlockyFont3;
INT32 gp12PointArialFixedFont;
HVOBJECT gvo12PointArialFixedFont;
@@ -188,8 +191,13 @@ BOOLEAN InitializeFonts( )
// gpBlockyFont2 = LoadFontFile( "FONTS\\interface_font.sti" );
gpBlockyFont2 = LoadFontFile( "FONTS\\BLOCKFONT2.sti" );
gvoBlockyFont2 = GetFontObject( gpBlockyFont2);
CHECKF( CreateFontPaletteTables( gvoBlockyFont2) );
gvoBlockyFont2 = GetFontObject( gpBlockyFont2);
CHECKF( CreateFontPaletteTables( gvoBlockyFont2) );
gpBlockyFont3 = LoadFontFile( "FONTS\\BLOCKFONT2.sti" );
gvoBlockyFont3 = GetFontObject( gpBlockyFont3);
CHECKF( CreateFontPaletteTables( gvoBlockyFont3) );
// gp12PointArialFixedFont = LoadFontFile( "FONTS\\Arial12FixedWidth.sti" );
gp12PointArialFixedFont = LoadFontFile( "FONTS\\FONT12ARIALFIXEDWIDTH.sti" );