diff options
-rw-r--r-- | engines/hdb/hdb.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/hdb.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index b313e7c166..9615ff14a7 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -128,7 +128,7 @@ Common::Error HDBGame::run() { // Initializes Graphics Graphics::PixelFormat format(2, 5, 6, 5, 0, 11, 5, 0, 0); - initGraphics(640, 480, &format); + initGraphics(kScreenWidth, kScreenHeight, &format); _console = new Console(); diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index 447c6809ea..e5305eb647 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -65,6 +65,11 @@ enum GameState { GAME_LOADING }; +enum { + kScreenWidth = 640, + kScreenHeight = 480 +}; + class HDBGame : public Engine { public: HDBGame(OSystem *syst, const ADGameDescription *gameDesc); |