Mercurial > mm7
diff UI/Books/UIMapBook.cpp @ 2365:65789351a537
OutdoorLocation::_47F04C and OutdoorLocation::_47F097 to OutdoorLocation::IsMapCellFullyRevealed and OutdoorLocation::IsMapCellPartiallyRevealed
author | Grumpy7 |
---|---|
date | Sun, 11 May 2014 22:55:26 +0200 |
parents | 7f2e111bbafb |
children | 8cee51ce4382 |
line wrap: on
line diff
--- a/UI/Books/UIMapBook.cpp Sun May 11 22:49:19 2014 +0200 +++ b/UI/Books/UIMapBook.cpp Sun May 11 22:55:26 2014 +0200 @@ -571,9 +571,9 @@ for (int x = 0; x < screenCenterY; ++x) { map_tile_X = (v64 - 80) / 4; - if ( !pOutdoor->_47F04C(map_tile_X, map_tile_Y) ) + if ( !pOutdoor->IsMapCellFullyRevealed(map_tile_X, map_tile_Y) ) { - if ( pOutdoor->_47F097(map_tile_X, map_tile_Y) ) + if ( pOutdoor->IsMapCellPartiallyRevealed(map_tile_X, map_tile_Y) ) { if ( !((x + screenCenter_X) % 2) ) //*a4a = Color16(12, 12, 12); @@ -678,7 +678,7 @@ result = 0; map_tile_X = abs(global_coord_X + 22528) / 512;//In the mapbook only lady Margaret dispays for defoult zoom(В книге карты только Леди Маргарита всплывает при дефолтном зуме) map_tile_Y = abs(global_coord_Y - 22528) / 512; - if ( pOutdoor->_47F04C(map_tile_X, map_tile_Y) && uCurrentlyLoadedLevelType == LEVEL_Outdoor && (signed int)pOutdoor->uNumBModels > 0 ) + if ( pOutdoor->IsMapCellFullyRevealed(map_tile_X, map_tile_Y) && uCurrentlyLoadedLevelType == LEVEL_Outdoor && (signed int)pOutdoor->uNumBModels > 0 ) { for(int i = 0; i < pOutdoor->uNumBModels && !result; i++) {