diff options
author | Strangerke | 2013-07-23 17:19:16 +0200 |
---|---|---|
committer | Strangerke | 2013-07-23 17:19:16 +0200 |
commit | 3573929625b1253f642af8f0c73487fd6d8e9ebf (patch) | |
tree | 554ea652ec2c7588eeefbe61187904884b2d5dbb /engines | |
parent | 03e32ca3186ac95661d9ec3624338a978b76f999 (diff) | |
download | scummvm-rg350-3573929625b1253f642af8f0c73487fd6d8e9ebf.tar.gz scummvm-rg350-3573929625b1253f642af8f0c73487fd6d8e9ebf.tar.bz2 scummvm-rg350-3573929625b1253f642af8f0c73487fd6d8e9ebf.zip |
MORTEVIELLE: Give a better name to kAdrDecBuffer
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mortevielle/mortevielle.h | 2 | ||||
-rw-r--r-- | engines/mortevielle/utils.cpp | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/mortevielle/mortevielle.h b/engines/mortevielle/mortevielle.h index 371c812508..6f77643186 100644 --- a/engines/mortevielle/mortevielle.h +++ b/engines/mortevielle/mortevielle.h @@ -69,7 +69,7 @@ const int kAdrPictureComp = 0x7000; const int kAdrCompMusicBuf1 = 0x7414; const int kAdrCompMusicBuf2 = 0x3800; -const int kAdrDecBuffer = 0x73A2; +const int kAdrRightFramePic = 0x73A2; #define ord(v) ((int) v) #define chr(v) ((unsigned char) v) diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp index 5bf84d9c7b..0cad1636d9 100644 --- a/engines/mortevielle/utils.cpp +++ b/engines/mortevielle/utils.cpp @@ -2254,7 +2254,7 @@ void MortevielleEngine::drawRightFrame() { _mem[(kAdrPictureComp * 16) + 14] = 15; } _mouse.hideMouse(); - pictout(kAdrDecBuffer, 0, 0, 0); + pictout(kAdrRightFramePic, 0, 0, 0); _mouse.showMouse(); } @@ -2562,13 +2562,14 @@ void MortevielleEngine::adzon() { if (!f.open("bmor.mor")) error("Missing file - bmor.mor"); - f.read(&_tabdon[kFleche], 1 * 1916); + f.read(&_tabdon[kFleche], 1916); f.close(); + // Read Right Frame Drawing if (!f.open("dec.mor")) error("Missing file - dec.mor"); - f.read(&_mem[kAdrDecBuffer * 16], 1664); + f.read(&_mem[kAdrRightFramePic * 16], 1664); f.close(); } |