diff options
author | Filippos Karapetis | 2011-12-08 12:18:52 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-08 12:18:52 +0200 |
commit | 1d0ba8e8e6cb9cb6ec20492972d2b0b06c349c06 (patch) | |
tree | 1bf199ec330df6e945173a068e1dbecdaf027d60 /engines/dreamweb/use.cpp | |
parent | d6c371e6ff6759aea643440b6b42b261bb4ff528 (diff) | |
download | scummvm-rg350-1d0ba8e8e6cb9cb6ec20492972d2b0b06c349c06.tar.gz scummvm-rg350-1d0ba8e8e6cb9cb6ec20492972d2b0b06c349c06.tar.bz2 scummvm-rg350-1d0ba8e8e6cb9cb6ec20492972d2b0b06c349c06.zip |
DREAMWEB: Port 'showcooker' to C++
Diffstat (limited to 'engines/dreamweb/use.cpp')
-rw-r--r-- | engines/dreamweb/use.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/dreamweb/use.cpp b/engines/dreamweb/use.cpp index 044a4fba40..b56ae07864 100644 --- a/engines/dreamweb/use.cpp +++ b/engines/dreamweb/use.cpp @@ -1137,4 +1137,17 @@ void DreamGenContext::hotelControl() { putBackObStuff(); } +void DreamGenContext::useCooker() { + al = data.byte(kCommand); + ah = data.byte(kObjecttype); + checkInside(); + + if (cl == 114) + showFirstUse(); + else + showSecondUse(); // Food inside + + putBackObStuff(); +} + } // End of namespace DreamGen |