[Scummvm-cvs-logs] scummvm master -> f03db76750a041fee7936c6ec0d26b5359218720

tramboi bertrand_augereau at yahoo.fr
Wed Nov 16 20:48:36 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:
f03db76750 DREAMWEB: 'showoutermenu' is not needed


Commit: f03db76750a041fee7936c6ec0d26b5359218720
    https://github.com/scummvm/scummvm/commit/f03db76750a041fee7936c6ec0d26b5359218720
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2011-11-16T13:48:04-08:00

Commit Message:
DREAMWEB: 'showoutermenu' 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 2d8461d..c27c963 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -224,6 +224,7 @@ generator = cpp(context, "DreamGen", blacklist = [
 	'loadroom',
 	'getundermenu',
 	'putundermenu',
+	'showoutermenu',
 	], skip_output = [
 	# These functions are processed but not output
 	'dreamweb',
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index d33ad8f..40bb16d 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -10757,34 +10757,6 @@ void DreamGenContext::dumpmenu() {
 	multidump();
 }
 
-void DreamGenContext::showoutermenu() {
-	STACK_CHECK;
-	al = 40;
-	ah = 0;
-	di = (80+40)-34;
-	bx = (60)-40;
-	ds = data.word(kTempgraphics);
-	showframe();
-	al = 41;
-	ah = 0;
-	di = (80+40)+64-34;
-	bx = (60)-40;
-	ds = data.word(kTempgraphics);
-	showframe();
-	al = 42;
-	ah = 0;
-	di = (80+40)-26;
-	bx = (60)+57-40;
-	ds = data.word(kTempgraphics);
-	showframe();
-	al = 43;
-	ah = 0;
-	di = (80+40)+64-26;
-	bx = (60)+57-40;
-	ds = data.word(kTempgraphics);
-	showframe();
-}
-
 void DreamGenContext::showmenu() {
 	STACK_CHECK;
 	_inc(data.byte(kMenucount));
@@ -16308,7 +16280,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) {
 		case addr_dumpkeypad: dumpkeypad(); break;
 		case addr_usemenu: usemenu(); break;
 		case addr_dumpmenu: dumpmenu(); break;
-		case addr_showoutermenu: showoutermenu(); break;
 		case addr_showmenu: showmenu(); break;
 		case addr_loadmenu: loadmenu(); break;
 		case addr_viewfolder: viewfolder(); break;
diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h
index e79257d..6f29398 100644
--- a/engines/dreamweb/dreamgen.h
+++ b/engines/dreamweb/dreamgen.h
@@ -230,7 +230,6 @@ public:
 	static const uint16 addr_viewfolder = 0xc7b4;
 	static const uint16 addr_loadmenu = 0xc7b0;
 	static const uint16 addr_showmenu = 0xc7ac;
-	static const uint16 addr_showoutermenu = 0xc7a8;
 	static const uint16 addr_dumpmenu = 0xc79c;
 	static const uint16 addr_usemenu = 0xc798;
 	static const uint16 addr_dumpkeypad = 0xc794;
@@ -1749,7 +1748,7 @@ public:
 	void inventory();
 	void powerlightoff();
 	void fillopen();
-	void showoutermenu();
+	//void showoutermenu();
 	void signon();
 	void deleteextext();
 	void foghornsound();






More information about the Scummvm-git-logs mailing list