diff options
author | Willem Jan Palenstijn | 2011-12-27 19:37:22 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-27 23:01:58 +0100 |
commit | 90cb52b7f6364a0d4b83cdc91c76c7edf4fcf79d (patch) | |
tree | 55e6f73bb9fab31499c3b91b081466a57c1edf53 /engines/dreamweb/newplace.cpp | |
parent | 8ed39a2b9e54bb46973a2c9b7f8c5bfb4964bd5c (diff) | |
download | scummvm-rg350-90cb52b7f6364a0d4b83cdc91c76c7edf4fcf79d.tar.gz scummvm-rg350-90cb52b7f6364a0d4b83cdc91c76c7edf4fcf79d.tar.bz2 scummvm-rg350-90cb52b7f6364a0d4b83cdc91c76c7edf4fcf79d.zip |
DREAMWEB: Streamline graphics file access
Diffstat (limited to 'engines/dreamweb/newplace.cpp')
-rw-r--r-- | engines/dreamweb/newplace.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/dreamweb/newplace.cpp b/engines/dreamweb/newplace.cpp index 21975eecd5..43b334ca3f 100644 --- a/engines/dreamweb/newplace.cpp +++ b/engines/dreamweb/newplace.cpp @@ -98,8 +98,8 @@ void DreamBase::selectLocation() { void DreamBase::showCity() { clearWork(); - showFrame(tempGraphics(), 57, 32, 0, 0); - showFrame(tempGraphics(), 120+57, 32, 1, 0); + showFrame(_tempGraphics, 57, 32, 0, 0); + showFrame(_tempGraphics, 120+57, 32, 1, 0); } void DreamBase::lookAtPlace() { @@ -116,10 +116,10 @@ void DreamBase::lookAtPlace() { delPointer(); delTextLine(); getUnderCentre(); - showFrame(tempGraphics3(), 60, 72, 0, 0); - showFrame(tempGraphics3(), 60, 72 + 55, 4, 0); + showFrame(_tempGraphics3, 60, 72, 0, 0); + showFrame(_tempGraphics3, 60, 72 + 55, 4, 0); if (_foreignRelease) - showFrame(tempGraphics3(), 60, 72+55+21, 4, 0); + showFrame(_tempGraphics3, 60, 72+55+21, 4, 0); const uint8 *string = (const uint8 *)_travelText.getString(data.byte(kDestpos)); findNextColon(&string); @@ -146,21 +146,21 @@ void DreamBase::locationPic() { byte picture = roomPics[data.byte(kDestpos)]; if (picture >= 6) - showFrame(tempGraphics2(), 104, 138 + 14, picture - 6, 0); // Second slot + showFrame(_tempGraphics2, 104, 138 + 14, picture - 6, 0); // Second slot else - showFrame(tempGraphics(), 104, 138 + 14, picture + 4, 0); + showFrame(_tempGraphics, 104, 138 + 14, picture + 4, 0); if (data.byte(kDestpos) == data.byte(kReallocation)) - showFrame(tempGraphics(), 104, 140 + 14, 3, 0); // Currently in this location + showFrame(_tempGraphics, 104, 140 + 14, 3, 0); // Currently in this location const uint8 *string = (const uint8 *)_travelText.getString(data.byte(kDestpos)); DreamBase::printDirect(string, 50, 20, 241, 241 & 1); } void DreamBase::showArrows() { - showFrame(tempGraphics(), 116 - 12, 16, 0, 0); - showFrame(tempGraphics(), 226 + 12, 16, 1, 0); - showFrame(tempGraphics(), 280, 14, 2, 0); + showFrame(_tempGraphics, 116 - 12, 16, 0, 0); + showFrame(_tempGraphics, 226 + 12, 16, 1, 0); + showFrame(_tempGraphics, 280, 14, 2, 0); } void DreamBase::nextDest() { |