diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/draci/screen.cpp | 4 | ||||
-rw-r--r-- | engines/draci/screen.h | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/engines/draci/screen.cpp b/engines/draci/screen.cpp index 2d12267f2f..a1ac27211e 100644 --- a/engines/draci/screen.cpp +++ b/engines/draci/screen.cpp @@ -30,10 +30,6 @@ namespace Draci { -const int kScreenWidth = 320; -const int kScreenHeight = 200; -const uint16 kNumColours = 256; - Screen::Screen(DraciEngine *vm) : _vm(vm) { _surface = new Graphics::Surface(); _surface->create(kScreenWidth, kScreenHeight, 1); diff --git a/engines/draci/screen.h b/engines/draci/screen.h index d8459489c1..95b73b92ac 100644 --- a/engines/draci/screen.h +++ b/engines/draci/screen.h @@ -32,9 +32,12 @@ namespace Draci { -extern const int kScreenHeight; -extern const int kScreenWidth; -extern const uint16 kNumColours; +enum ScreenParameters { + kScreenWidth = 320, + kScreenHeight = 200, + + kNumColours = 256 +}; class DraciEngine; |