Interactive actions now allows displaying images.

For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23144&goto=363478&#msg_363478

GameDir >= r2597 recommended.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9131 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2021-07-07 20:05:42 +00:00
parent 9756cf33f4
commit 3f4da5fad5
8 changed files with 320 additions and 95 deletions
+10
View File
@@ -1098,6 +1098,16 @@ BOOLEAN GetTileFlags( UINT16 usIndex, UINT32 *puiFlags )
return( TRUE );
}
BOOLEAN GetTileRegionIndex( UINT16 usIndex, UINT16& arRegionIndex )
{
CHECKF( usIndex != NO_TILE );
CHECKF( usIndex < giNumberOfTiles ); //lal bugfix
arRegionIndex = gTileDatabase[usIndex].usRegionIndex;
return( TRUE );
}
BOOLEAN GetTileTypeLogicalHeight( UINT32 fType, UINT8 *pubLogHeight )
{
*pubLogHeight = gTileTypeLogicalHeight[ fType ];