mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Merged from revision: 7391
- Show helicopter icon in team view mode and restored helicopter passengers indicator (by Buggler) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7392 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3895,6 +3895,7 @@ void DisplayPositionOfHelicopter( void )
|
||||
GROUP *pGroup;
|
||||
HVOBJECT hHandle;
|
||||
INT32 iNumberOfPeopleInHelicopter = 0;
|
||||
CHAR16 sString[ 4 ];
|
||||
|
||||
INT32 MAP_MVT_ICON_FONT = TINYFONT1;
|
||||
|
||||
@@ -3998,10 +3999,7 @@ void DisplayPositionOfHelicopter( void )
|
||||
|
||||
BltVideoObject( FRAME_BUFFER, hHandle, HELI_ICON, x, y, VO_BLT_SRCTRANSPARENCY, NULL );
|
||||
|
||||
// HEADROCK HAM 5: Do not draw anymore.
|
||||
// now get number of people and blit that too
|
||||
|
||||
/*
|
||||
// now get number of people and blit that too
|
||||
iNumberOfPeopleInHelicopter = GetNumberOfPassengersInHelicopter( );
|
||||
swprintf( sString, L"%d", iNumberOfPeopleInHelicopter );
|
||||
|
||||
@@ -4009,10 +4007,9 @@ void DisplayPositionOfHelicopter( void )
|
||||
SetFontForeground( FONT_WHITE );
|
||||
SetFontBackground( FONT_BLACK );
|
||||
|
||||
mprintf( x + 5, y + 1 , sString );
|
||||
*/
|
||||
mprintf( x + (MAP_GRID_X / 2) - 4, y + (MAP_GRID_Y / 2) - 4, sString );
|
||||
|
||||
//InvalidateRegion( x, y, x + usIconWidth, y + usIconHeight );
|
||||
InvalidateRegion( x, y, x + usIconWidth, y + usIconHeight );
|
||||
|
||||
RestoreClipRegionToFullScreen( );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user