graphics: finish to change code to store some images as Texture, ...

This commit is contained in:
Laurent alonso
2020-10-17 21:11:24 +02:00
committed by Celtic Minstrel
parent a407d61f4c
commit 92eee35b66
15 changed files with 42 additions and 114 deletions

View File

@@ -1182,7 +1182,7 @@ void draw_one_tiny_terrain_spot (short i,short j,ter_num_t terrain_to_draw,short
from_rect.bottom = from_rect.top + 12;
picture_wanted /= 1000; picture_wanted--;
from_rect.offset((picture_wanted / 3) * 12, (picture_wanted % 3) * 12);
rect_draw_some_item(*from_gw, from_rect, mainPtr, dest_rect);
rect_draw_some_item(from_gw, from_rect, mainPtr, dest_rect);
} else {
auto const & small_ter_gworld = *ResMgr::textures.get("termap");
if(picture_wanted >= 960) {