diff options
author | Max Horn | 2011-12-06 20:55:59 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-07 10:32:22 +0100 |
commit | dc34fc1dfb04c8ef3d0fb31ba7176b3234fd8680 (patch) | |
tree | 948d01194fbc0f231e2aaab4d2cf9776709681ec /engines/dreamweb/vgagrafx.cpp | |
parent | f9fddab379c3af1e255f0a64b05fac963ef0cf0a (diff) | |
download | scummvm-rg350-dc34fc1dfb04c8ef3d0fb31ba7176b3234fd8680.tar.gz scummvm-rg350-dc34fc1dfb04c8ef3d0fb31ba7176b3234fd8680.tar.bz2 scummvm-rg350-dc34fc1dfb04c8ef3d0fb31ba7176b3234fd8680.zip |
DREAMWEB: Move generated constants out of class DreamGenContext
Diffstat (limited to 'engines/dreamweb/vgagrafx.cpp')
-rw-r--r-- | engines/dreamweb/vgagrafx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp index 4d9eb0885d..20eb840628 100644 --- a/engines/dreamweb/vgagrafx.cpp +++ b/engines/dreamweb/vgagrafx.cpp @@ -158,7 +158,7 @@ void DreamBase::frameOutFx(uint8 *dst, const uint8 *src, uint16 pitch, uint16 wi } void DreamBase::doShake() { - uint8 &counter = data.byte(DreamGenContext::kShakecounter); + uint8 &counter = data.byte(kShakecounter); if (counter == 48) return; @@ -227,7 +227,7 @@ void DreamGenContext::showPCX(const Common::String &name) { // the color components have to be adjusted from 8 to 6 bits. pcxFile.seek(16, SEEK_SET); - mainGamePal = getSegment(data.word(DreamGenContext::kBuffers)).ptr(DreamGenContext::kMaingamepal, 768); + mainGamePal = getSegment(data.word(kBuffers)).ptr(kMaingamepal, 768); pcxFile.read(mainGamePal, 48); memset(mainGamePal + 48, 0xff, 720); |