1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

improvements for non quadratic maps

This commit is contained in:
Laserlicht
2023-10-21 16:49:50 +02:00
committed by GitHub
parent f3acc939b9
commit e03f2a9d3a
6 changed files with 31 additions and 5 deletions

View File

@@ -186,3 +186,8 @@ SDL_Surface * Canvas::getInternalSurface()
{
return surface;
}
Rect Canvas::getRenderArea() const
{
return renderArea;
}

View File

@@ -101,4 +101,7 @@ public:
/// Compatibility method. AVOID USAGE. To be removed once SDL abstraction layer is finished.
SDL_Surface * getInternalSurface();
/// get the render area
Rect getRenderArea() const;
};