[Scummvm-cvs-logs] scummvm master -> 8012c3274e2103bf8ce79feda05b46f87df8519b

tramboi bertrand_augereau at yahoo.fr
Wed Nov 16 20:02:34 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8012c3274e DREAMWEB: keypad.cpp to mimic keypad.asm


Commit: 8012c3274e2103bf8ce79feda05b46f87df8519b
    https://github.com/scummvm/scummvm/commit/8012c3274e2103bf8ce79feda05b46f87df8519b
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2011-11-16T12:59:49-08:00

Commit Message:
DREAMWEB: keypad.cpp to mimic keypad.asm

Changed paths:
  A engines/dreamweb/keypad.cpp
    engines/dreamweb/module.mk
    engines/dreamweb/stubs.cpp



diff --git a/engines/dreamweb/keypad.cpp b/engines/dreamweb/keypad.cpp
new file mode 100644
index 0000000..de5a560
--- /dev/null
+++ b/engines/dreamweb/keypad.cpp
@@ -0,0 +1,36 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#include "dreamweb/dreamweb.h"
+
+namespace DreamGen {
+
+void DreamGenContext::getundermenu() {
+	multiget(segRef(data.word(kBuffers)).ptr(kUndertimedtext, 0), kMenux, kMenuy, 48, 48);
+}
+
+void DreamGenContext::putundermenu() {
+	multiput(segRef(data.word(kBuffers)).ptr(kUndertimedtext, 0), kMenux, kMenuy, 48, 48);
+}
+
+} /*namespace dreamgen */
+
diff --git a/engines/dreamweb/module.mk b/engines/dreamweb/module.mk
index d617507..d3efc3a 100644
--- a/engines/dreamweb/module.mk
+++ b/engines/dreamweb/module.mk
@@ -6,6 +6,7 @@ MODULE_OBJS := \
 	detection.o \
 	dreamweb.o \
 	dreamgen.o \
+	keypad.o \
 	object.o \
 	pathfind.o \
 	print.o \
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 35fadd8..fe983d4 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -2015,13 +2015,5 @@ void DreamGenContext::loadroom() {
 	getdimension();
 }
 
-void DreamGenContext::getundermenu() {
-	multiget(segRef(data.word(kBuffers)).ptr(kUndertimedtext, 0), kMenux, kMenuy, 48, 48);
-}
-
-void DreamGenContext::putundermenu() {
-	multiput(segRef(data.word(kBuffers)).ptr(kUndertimedtext, 0), kMenux, kMenuy, 48, 48);
-}
-
 } /*namespace dreamgen */
 






More information about the Scummvm-git-logs mailing list