Mercurial > mm7
comparison UI/Books/UIMapBook.cpp @ 1730:79b9306f573a
m
author | Ritor1 |
---|---|
date | Wed, 25 Sep 2013 17:31:39 +0600 |
parents | 8de9b24ace86 |
children | 35c1e4ff6ba7 |
comparison
equal
deleted
inserted
replaced
1729:f44b6e02e81c | 1730:79b9306f573a |
---|---|
640 | 640 |
641 global_coord_X = (signed __int64)((double)(pX - 229) * v0 + (double)v20); | 641 global_coord_X = (signed __int64)((double)(pX - 229) * v0 + (double)v20); |
642 global_coord_Y = (signed __int64)((double)v21 - (double)(pY - 181) * v0); | 642 global_coord_Y = (signed __int64)((double)v21 - (double)(pY - 181) * v0); |
643 | 643 |
644 result = 0; | 644 result = 0; |
645 map_tile_X = abs(global_coord_X + 22528) / 512; | 645 map_tile_X = abs(global_coord_X + 22528) / 512;//In the mapbook only lady Margaret dispays for defoult zoom(В книге карты только Леди Маргарита всплывает при дефолтном зуме) |
646 map_tile_Y = abs(global_coord_Y - 22528) / 512; | 646 map_tile_Y = abs(global_coord_Y - 22528) / 512; |
647 if ( pOutdoor->_47F04C(map_tile_X, map_tile_Y) && uCurrentlyLoadedLevelType == LEVEL_Outdoor && (signed int)pOutdoor->uNumBModels > 0 ) | 647 if ( pOutdoor->_47F04C(map_tile_X, map_tile_Y) && uCurrentlyLoadedLevelType == LEVEL_Outdoor && (signed int)pOutdoor->uNumBModels > 0 ) |
648 { | 648 { |
649 for(int i = 0; i < pOutdoor->uNumBModels && !result; i++) | 649 for(int i = 0; i < pOutdoor->uNumBModels && !result; i++) |
650 { | 650 { |