From 003f8dc2a435f3ea466c9284ed22dadb166f1dc2 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Fri, 28 Jun 2019 17:59:55 +0530 Subject: HDB: Move constants to draw-manager --- engines/hdb/draw-manager.h | 2 ++ engines/hdb/hdb.h | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'engines') diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h index d1f1e81df2..7f16f07928 100644 --- a/engines/hdb/draw-manager.h +++ b/engines/hdb/draw-manager.h @@ -30,6 +30,8 @@ namespace HDB { enum { + kScreenWidth = 640, + kScreenHeight = 480, kTileWidth = 32, kTileHeight = 32, kMaxSkies = 10, diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index 0e2ec3db7c..8948c0c9a4 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -110,11 +110,6 @@ enum Flag { kFlagPlummet = 0x8000000 }; -enum { - kScreenWidth = 640, - kScreenHeight = 480 -}; - class HDBGame : public Engine { public: HDBGame(OSystem *syst, const ADGameDescription *gameDesc); -- cgit v1.2.3