This commit is contained in:
parent
e9fd8119f7
commit
e42cb5099e
4 changed files with 6 additions and 6 deletions
BIN
Graphics/font/smallfont/+error.bmp
Normal file
BIN
Graphics/font/smallfont/+error.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
|
@ -233,7 +233,8 @@ UI_GFX_FONT := smallfont/+33 smallfont/+34 smallfont/+37 smallfont/+39 smallf
|
|||
smallfont/+230 smallfont/+232 smallfont/+233 smallfont/+234 smallfont/+235 \
|
||||
smallfont/+236 smallfont/+237 smallfont/+238 smallfont/+239 smallfont/+242 \
|
||||
smallfont/+243 smallfont/+244 smallfont/+245 smallfont/+246 smallfont/+249 \
|
||||
smallfont/+250 smallfont/+251 smallfont/+252 smallfont/+253 smallfont/+255
|
||||
smallfont/+250 smallfont/+251 smallfont/+252 smallfont/+253 smallfont/+255 \
|
||||
smallfont/+error
|
||||
UI_GFX_FONT_IN := $(foreach FILE,$(UI_GFX_FONT),$(UI_FONT_DIR)/$(FILE).bmp)
|
||||
|
||||
UI_GFX_NONTRANS :=
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
s16 standardFontTab[]=
|
||||
{
|
||||
-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
-1 ,FRM__ERROR,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
|
@ -76,7 +76,6 @@ s16 standardFontTab[]=
|
|||
/* ィ ゥ ェ ォ ャ ュ ョ ッ */ -1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
/* ー ア イ ウ エ オ カ キ */ -1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
/* ク ケ コ サ シ ス セ ソ */ -1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,-1 ,
|
||||
// (pkg) ? -1,-1,
|
||||
/* タ チ ツ テ ト ナ ニ ヌ */ FRM__192,FRM__193,FRM__194,FRM__195,FRM__196,FRM__197,FRM__198,FRM__199,
|
||||
/* ネ ノ ハ ヒ フ ヘ ホ マ */ FRM__200,FRM__201,FRM__202,FRM__203,FRM__204,FRM__205,FRM__206,FRM__207,
|
||||
/* ミ ム メ モ ヤ ユ ヨ ラ */ FRM__208, -1,FRM__210,FRM__211,FRM__212,FRM__213,FRM__214, -1,
|
||||
|
|
|
@ -268,7 +268,7 @@ int FontBank::getCharWidth( char _char )
|
|||
|
||||
if( _char!=' ' )
|
||||
{
|
||||
if( m_fontData->fontTab[_char]==-1 ) _char='X';
|
||||
if( m_fontData->fontTab[_char]==-1 ) _char=1; // Error - Chartacter does not eixst!
|
||||
size=m_spriteBank.getFrameWidth( m_fontData->fontTab[_char] );
|
||||
}
|
||||
else
|
||||
|
@ -347,7 +347,7 @@ int FontBank::printChar( char _char,int _x,int _y )
|
|||
{
|
||||
if (_char!=' ')
|
||||
{
|
||||
if( m_fontData->fontTab[_char]==-1 ) _char='X';
|
||||
if( m_fontData->fontTab[_char]==-1 ) _char=1; // Error - Chartacter does not eixst!
|
||||
POLY_FT4 *Ft4=m_spriteBank.printFT4(m_fontData->fontTab[_char],_x,_y,0,0,m_ot);
|
||||
setRGB0(Ft4,m_r,m_g,m_b);
|
||||
setShadeTex(Ft4,0);
|
||||
|
@ -440,7 +440,7 @@ int ScalableFontBank::printChar( char _char,int _x,int _y )
|
|||
sFrameHdr *fh;
|
||||
POLY_FT4 *Ft4;
|
||||
|
||||
if( m_fontData->fontTab[_char]==-1 ) _char='X';
|
||||
if( m_fontData->fontTab[_char]==-1 ) _char=1; // Error - Chartacter does not eixst!
|
||||
|
||||
fh=m_spriteBank.getFrameHeader(m_fontData->fontTab[_char]);
|
||||
_x+=((fh->W*m_fontScale)>>9)-(fh->W/2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue