1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Partial implementation of world view mode

This commit is contained in:
Ivan Savenko
2023-02-15 23:13:25 +02:00
parent beb7ce5beb
commit d46687a9c8
9 changed files with 35 additions and 43 deletions

View File

@@ -81,7 +81,7 @@ CMinimapInstance::CMinimapInstance(CMinimap *Parent, int Level):
void CMinimapInstance::showAll(SDL_Surface * to)
{
Canvas target(to);
target.draw(*minimap, pos.topLeft(), pos.dimensions());
target.drawScaled(*minimap, pos.topLeft(), pos.dimensions());
}
CMinimap::CMinimap(const Rect & position)