mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- bugfix: Wrong placement of the terrorists pictures on the files section in the laptop
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@856 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+2
-2
@@ -1782,7 +1782,7 @@ BOOLEAN HandleSpecialTerroristFile( INT32 iFileNumber, STR sPictureName )
|
|||||||
|
|
||||||
//def: 3/24/99
|
//def: 3/24/99
|
||||||
// BltVideoObject(FRAME_BUFFER, hHandle, 0,( INT16 ) ( FILE_VIEWER_X + 30 ), ( INT16 ) ( iYPositionOnPage + 5), VO_BLT_SRCTRANSPARENCY,NULL);
|
// BltVideoObject(FRAME_BUFFER, hHandle, 0,( INT16 ) ( FILE_VIEWER_X + 30 ), ( INT16 ) ( iYPositionOnPage + 5), VO_BLT_SRCTRANSPARENCY,NULL);
|
||||||
BltVideoObject(FRAME_BUFFER, hHandle, 0,( INT16 ) ( FILE_VIEWER_X + 30 ), ( INT16 ) ( iYPositionOnPage + 21), VO_BLT_SRCTRANSPARENCY,NULL);
|
BltVideoObject(FRAME_BUFFER, hHandle, 0,( INT16 ) ( FILE_VIEWER_X + 30 ), ( INT16 ) ( iScreenHeightOffset + iYPositionOnPage + 21), VO_BLT_SRCTRANSPARENCY,NULL);
|
||||||
|
|
||||||
DeleteVideoObjectFromIndex( uiPicture );
|
DeleteVideoObjectFromIndex( uiPicture );
|
||||||
|
|
||||||
@@ -1793,7 +1793,7 @@ BOOLEAN HandleSpecialTerroristFile( INT32 iFileNumber, STR sPictureName )
|
|||||||
//Blt face to screen to
|
//Blt face to screen to
|
||||||
GetVideoObject(&hHandle, uiPicture);
|
GetVideoObject(&hHandle, uiPicture);
|
||||||
|
|
||||||
BltVideoObject(FRAME_BUFFER, hHandle, 0,( INT16 ) ( FILE_VIEWER_X + 25 ), ( INT16 ) ( iYPositionOnPage + 16 ), VO_BLT_SRCTRANSPARENCY,NULL);
|
BltVideoObject(FRAME_BUFFER, hHandle, 0,( INT16 ) ( FILE_VIEWER_X + 25 ), ( INT16 ) ( iScreenHeightOffset + iYPositionOnPage + 16 ), VO_BLT_SRCTRANSPARENCY,NULL);
|
||||||
|
|
||||||
DeleteVideoObjectFromIndex( uiPicture );
|
DeleteVideoObjectFromIndex( uiPicture );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ void SaveVideoOverlayArea( UINT32 uiSrcBuffer, UINT32 uiCount );
|
|||||||
//UINT32 guiNumTopmostSaves=0;
|
//UINT32 guiNumTopmostSaves=0;
|
||||||
|
|
||||||
// do zmiany
|
// do zmiany
|
||||||
SGPRect gDirtyClipRect = { 0, 0, 1024, 768 };
|
SGPRect gDirtyClipRect = { 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT };
|
||||||
|
|
||||||
|
|
||||||
BOOLEAN gfViewportDirty=FALSE;
|
BOOLEAN gfViewportDirty=FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user