diff options
author | Eugene Sandulenko | 2009-06-18 05:30:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2009-06-18 05:30:21 +0000 |
commit | fbec4434e5aaacee5d4a3ecf5644f3d6d5ec0b2d (patch) | |
tree | 073845a63c257df1077b5e574d34fc069804c0b0 /engines | |
parent | 0ff3c1945ff83938cd453f92002fbc2c688c641d (diff) | |
download | scummvm-rg350-fbec4434e5aaacee5d4a3ecf5644f3d6d5ec0b2d.tar.gz scummvm-rg350-fbec4434e5aaacee5d4a3ecf5644f3d6d5ec0b2d.tar.bz2 scummvm-rg350-fbec4434e5aaacee5d4a3ecf5644f3d6d5ec0b2d.zip |
Turned constants into enum in order to remove need of prototypes.
svn-id: r41623
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; |