From 1c9a3e7da1b9e3adb0189dfb60347d31d21415b7 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 7 Dec 2011 01:50:26 +0200 Subject: DREAMWEB: 'dumpkeypad', 'dumpsymbol', 'dumpsymbox', 'dumpzoom' --- engines/dreamweb/vgagrafx.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'engines/dreamweb/vgagrafx.cpp') diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp index 3e1d97e5ca..1e678d059b 100644 --- a/engines/dreamweb/vgagrafx.cpp +++ b/engines/dreamweb/vgagrafx.cpp @@ -497,4 +497,25 @@ void DreamGenContext::createPanel2() { showFrame(engine->icons2(), 160, 0, 5, 2); } +void DreamGenContext::dumpKeypad() { + multiDump((36 + 112) - 3, 72 - 4, 120, 90); +} + +void DreamGenContext::dumpSymbol() { + data.byte(kNewtextline) = 0; + multiDump(64, 56 + 20, 104, 60); +} + +void DreamGenContext::dumpZoom() { + if (data.byte(kZoomon) == 1) + multiDump(8 + 5, 132 + 4, 46, 40); +} + +void DreamGenContext::dumpSymBox() { + if (data.word(kDumpx) != 0xFFFF) { + multiDump(data.word(kDumpx), data.word(kDumpy), 30, 77); + data.word(kDumpx) = 0xFFFF; + } +} + } // End of namespace DreamGen -- cgit v1.2.3