void DisplayTownInfo( INT16 sMapX, INT16 sMapY, INT8 bMapZ ) { // will display town info for a particular town // set current sector if( ( bCurrentTownMineSectorX != sMapX ) || ( bCurrentTownMineSectorY != sMapY ) || ( bCurrentTownMineSectorZ != bMapZ ) ) { bCurrentTownMineSectorX = ( INT8 )sMapX; bCurrentTownMineSectorY = ( INT8 )sMapY; bCurrentTownMineSectorZ = bMapZ; } //create destroy the box CreateDestroyTownInfoBox( ); }
void DisplayTownInfo( INT16 sMapX, INT16 sMapY, INT8 bMapZ ) { // will display town info for a particular town AssertGE( sMapX, MINIMUM_VALID_X_COORDINATE); AssertLE( sMapX, MAXIMUM_VALID_X_COORDINATE ); AssertGE( sMapY, MINIMUM_VALID_Y_COORDINATE); AssertLE( sMapY, MAXIMUM_VALID_Y_COORDINATE ); AssertGE( bMapZ, bMapZ ); AssertLE( bMapZ, bMapZ ); // set current sector if( ( bCurrentTownMineSectorX != sMapX ) || ( bCurrentTownMineSectorY != sMapY ) || ( bCurrentTownMineSectorZ != bMapZ ) ) { bCurrentTownMineSectorX = ( INT8 )sMapX; bCurrentTownMineSectorY = ( INT8 )sMapY; bCurrentTownMineSectorZ = bMapZ; } //create destroy the box CreateDestroyTownInfoBox( ); }