mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
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:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user