diff options
-rw-r--r-- | engines/supernova/screen.cpp | 8 | ||||
-rw-r--r-- | engines/supernova/screen.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/supernova/screen.cpp b/engines/supernova/screen.cpp index 1fa112bb05..f28af28134 100644 --- a/engines/supernova/screen.cpp +++ b/engines/supernova/screen.cpp @@ -187,6 +187,14 @@ Screen::Screen(SupernovaEngine *vm, ResourceManager *resMan) CursorMan.showMouse(true); } +int Screen::getScreenWidth() const { + return _screenWidth; +} + +int Screen::getScreenHeight() const { + return _screenHeight; +} + int Screen::getGuiBrightness() const { return _guiBrightness; } diff --git a/engines/supernova/screen.h b/engines/supernova/screen.h index bcffe61fc9..bd135d85ae 100644 --- a/engines/supernova/screen.h +++ b/engines/supernova/screen.h @@ -134,6 +134,8 @@ public: public: Screen(SupernovaEngine *vm, ResourceManager *resMan); + int getScreenWidth() const; + int getScreenHeight() const; int getViewportBrightness() const; void setViewportBrightness(int brightness); int getGuiBrightness() const; |