[Scummvm-cvs-logs] scummvm master -> 7d5ced15790a0860a34e7a4264eac4a4bf8e3fed

tramboi bertrand_augereau at yahoo.fr
Wed Nov 23 12:59:20 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:
7d5ced1579 DREAMWEB: 'blockget' is not needed


Commit: 7d5ced15790a0860a34e7a4264eac4a4bf8e3fed
    https://github.com/scummvm/scummvm/commit/7d5ced15790a0860a34e7a4264eac4a4bf8e3fed
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2011-11-23T03:58:03-08:00

Commit Message:
DREAMWEB: 'blockget' is not needed

Changed paths:
    devtools/tasmrecover/tasm-recover
    engines/dreamweb/dreamgen.cpp
    engines/dreamweb/dreamgen.h



diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 567893c..fab0941 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -176,6 +176,7 @@ generator = cpp(context, "DreamGen", blacklist = [
 	'readmouse4',
 	'waitframes',
 	'drawflags',
+	'blockget',
 	'addtopeoplelist',
 	'getexpos',
 	'paneltomap',
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 4d67ad7..8e5a784 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -4876,15 +4876,6 @@ beforethistext:
 		goto shuffletextads;
 }
 
-void DreamGenContext::blockget() {
-	STACK_CHECK;
-	ah = al;
-	al = 0;
-	ds = data.word(kBackdrop);
-	si = (0+192);
-	_add(si, ax);
-}
-
 void DreamGenContext::drawfloor() {
 	STACK_CHECK;
 	push(es);
diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h
index b132604..6bed222 100644
--- a/engines/dreamweb/dreamgen.h
+++ b/engines/dreamweb/dreamgen.h
@@ -380,7 +380,6 @@ public:
 	static const uint16 addr_look = 0xc470;
 	static const uint16 addr_autolook = 0xc46c;
 	static const uint16 addr_drawfloor = 0xc428;
-	static const uint16 addr_blockget = 0xc424;
 	static const uint16 addr_deleteextext = 0xc420;
 	static const uint16 addr_deleteexframe = 0xc41c;
 	static const uint16 addr_deleteexobject = 0xc418;
@@ -1676,7 +1675,7 @@ public:
 	void biblequote();
 	void doload();
 	void showexit();
-	void blockget();
+	//void blockget();
 	void usetrainer();
 	//void allocatework();
 	void addtopresslist();






More information about the Scummvm-git-logs mailing list