src/game/Strategic/Strategic_Mines.cc
BOOLEAN AreThereMinersInsideThisMine( UINT8 ubMineIndex )
{
	MINE_STATUS_TYPE *pMineStatus;


	Assert(ubMineIndex < gMineStatus.size());

	pMineStatus = &(gMineStatus[ ubMineIndex ]);

	// mine not empty
	// mine clear of any monsters
	// the "shutdown permanently" flag is only used for the player never receiving the income - miners will keep mining
	if ( ( !pMineStatus->fEmpty ) && MineClearOfMonsters( ubMineIndex ) )
	{
		return( TRUE );
	}

	return( FALSE );
}
// use this to determine whether or not to place miners into a underground mine level
use this to determine whether or not to place miners into a underground mine level
use this to determine whether or not to place miners into a underground mine level
BOOLEAN AreThereMinersInsideThisMine( UINT8 ubMineIndex )
{
	MINE_STATUS_TYPE *pMineStatus;
	Assert(ubMineIndex < gMineStatus.size());
	pMineStatus = &(gMineStatus[ ubMineIndex ]);
	if ( ( !pMineStatus->fEmpty ) && MineClearOfMonsters( ubMineIndex ) )
	{
		return( TRUE );
	}
	return( FALSE );
}
BOOLEAN AreThereMinersInsideThisMine ( UINT8 ubMineIndex ) { MINE_STATUS_TYPE * pMineStatus ; Assert ( ubMineIndex < gMineStatus . size ( ) ) ; pMineStatus = & ( gMineStatus [ ubMineIndex ] ) ; if ( ( ! pMineStatus -> fEmpty ) && MineClearOfMonsters ( ubMineIndex ) ) { return ( TRUE ) ; } return ( FALSE ) ; }
use this to determine whether or not to place miners into a underground mine level
use this to determine whether or not to place miners into a underground mine level
// mine not empty // mine clear of any monsters // the "shutdown permanently" flag is only used for the player never receiving the income - miners will keep mining