From 1d0ba8e8e6cb9cb6ec20492972d2b0b06c349c06 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 8 Dec 2011 12:18:52 +0200 Subject: DREAMWEB: Port 'showcooker' to C++ --- engines/dreamweb/use.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'engines/dreamweb/use.cpp') 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 -- cgit v1.2.3