diff options
author | Vladimir Menshakov | 2011-06-10 02:48:11 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:53 +0200 |
commit | 2cb4eac5e02b1445583195d5190ecb1498e4a391 (patch) | |
tree | 542524dda8b9a5c1b85ba94de277cee10e9829f1 /engines/dreamweb | |
parent | 451871934571552417a6d646011c522b52c59b11 (diff) | |
download | scummvm-rg350-2cb4eac5e02b1445583195d5190ecb1498e4a391.tar.gz scummvm-rg350-2cb4eac5e02b1445583195d5190ecb1498e4a391.tar.bz2 scummvm-rg350-2cb4eac5e02b1445583195d5190ecb1498e4a391.zip |
DREAMWEB: removed hardcoded constant
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index fe27f4f97c..94c6e7e6e7 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -203,11 +203,9 @@ void DreamWebEngine::setGraphicsMode() { } void DreamWebEngine::fadeDos() { - static const int startpal = 0+(228*13)+32+60+(32*32)+(11*10*3); //fixme: add equ to enum too - PaletteManager *palette = _system->getPaletteManager(); _context.ds = _context.es = _context.data.word(dreamgen::kBuffers); - uint8 *dst = _context.es.ptr(startpal, 768); + uint8 *dst = _context.es.ptr(dreamgen::kStartpal, 768); palette->grabPalette(dst, 0, 64); for(int fade = 0; fade < 64; ++fade) { for(int c = 0; c < 768; ++c) { //original sources decrement 768 values -> 256 colors |