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:
@@ -186,3 +186,8 @@ SDL_Surface * Canvas::getInternalSurface()
|
||||
{
|
||||
return surface;
|
||||
}
|
||||
|
||||
Rect Canvas::getRenderArea() const
|
||||
{
|
||||
return renderArea;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user