bug fixes from Overhaul:

- Data type changes 
- Templates removed

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2007-05-09 13:16:37 +00:00
parent 61d6152ce5
commit 0530b53b9c
256 changed files with 2000 additions and 2228 deletions
+4 -4
View File
@@ -1303,7 +1303,7 @@ void BltJA2CursorData( )
void DrawMouseText( )
{
INT16 pStr[ 512 ];
CHAR16 pStr[ 512 ];
INT16 sX, sY;
static BOOLEAN fShow = FALSE;
static BOOLEAN fHoldInvalid = TRUE;
@@ -1342,11 +1342,11 @@ void DrawMouseText( )
else
SetFontForeground( FONT_MCOLOR_LTYELLOW );
swprintf( (wchar_t *)pStr, (wchar_t *)L"%d", gsBulletCount );
swprintf( pStr, L"%d", gsBulletCount );
FindFontCenterCoordinates( 0, 0, gsCurMouseWidth, gsCurMouseHeight, pStr, TINYFONT1, &sX, &sY );
mprintf( sX, sY - 10 - GetFontHeight(TINYFONT1), pStr );
swprintf( (wchar_t *)pStr, (wchar_t *)L"%d", gsTotalBulletCount );
swprintf( pStr, L"%d", gsTotalBulletCount );
FindFontCenterCoordinates( 0, 0, gsCurMouseWidth, gsCurMouseHeight, pStr, TINYFONT1, &sX, &sY );
mprintf( sX, sY + 7 + GetFontHeight(TINYFONT1), pStr );
@@ -1428,7 +1428,7 @@ void DrawMouseText( )
// Set dest for gprintf to be different
SetFontDestBuffer( MOUSE_BUFFER , 0, 0, 64, 64, FALSE );
swprintf( (wchar_t *)pStr, (wchar_t *)L"%d", gsCurrentActionPoints );
swprintf( pStr, L"%d", gsCurrentActionPoints );
if ( gfUIDisplayActionPointsCenter )
{