[Scummvm-git-logs] scummvm master -> f346c18b203c683ae387d6b9f68195343a2ba786

sev- sev at scummvm.org
Thu Oct 21 09:53:44 UTC 2021


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:
f346c18b20 DIRECTOR: Add IndexColorToWindow and alternate filename to winxobj


Commit: f346c18b203c683ae387d6b9f68195343a2ba786
    https://github.com/scummvm/scummvm/commit/f346c18b203c683ae387d6b9f68195343a2ba786
Author: eientei (log.butt at gmail.com)
Date: 2021-10-21T11:53:40+02:00

Commit Message:
DIRECTOR: Add IndexColorToWindow and alternate filename to winxobj

Changed paths:
    engines/director/lingo/xlibs/winxobj.cpp
    engines/director/lingo/xlibs/winxobj.h


diff --git a/engines/director/lingo/xlibs/winxobj.cpp b/engines/director/lingo/xlibs/winxobj.cpp
index 793aca980d..2c96c8a7ac 100644
--- a/engines/director/lingo/xlibs/winxobj.cpp
+++ b/engines/director/lingo/xlibs/winxobj.cpp
@@ -40,14 +40,16 @@ namespace Director {
 
 const char *RearWindowXObj::xlibName = "RearWindow";
 const char *RearWindowXObj::fileNames[] = {
+	"RearWindow.Xobj",
 	"winXObj",
 	0
 };
 
 static MethodProto xlibMethods[] = {
-	{ "new",				RearWindowXObj::m_new,				1,	1,	400 },	// D4
-	{ "GetMemoryNeeded",	RearWindowXObj::m_getMemoryNeeded,	0,	0,	400 },	// D4
-	{ "PatToWindow",		RearWindowXObj::m_patToWindow,		1,	1,	400 },	// D4
+	{ "new",				RearWindowXObj::m_new,					1,	1,	400 },	// D4
+	{ "GetMemoryNeeded",	RearWindowXObj::m_getMemoryNeeded,		0,	0,	400 },	// D4
+	{ "PatToWindow",		RearWindowXObj::m_patToWindow,			1,	1,	400 },	// D4
+	{ "IndexColorToWindow",	RearWindowXObj::m_indexColorToWindow,	1,	1,	400 },	// D4
 	{ 0, 0, 0, 0, 0 }
 };
 
@@ -85,4 +87,8 @@ void RearWindowXObj::m_patToWindow(int nargs) {
 	g_lingo->pop();
 }
 
+void RearWindowXObj::m_indexColorToWindow(int nargs) {
+	g_lingo->pop();
+}
+
 } // End of namespace Director
diff --git a/engines/director/lingo/xlibs/winxobj.h b/engines/director/lingo/xlibs/winxobj.h
index b7937a5e74..a7a8383683 100644
--- a/engines/director/lingo/xlibs/winxobj.h
+++ b/engines/director/lingo/xlibs/winxobj.h
@@ -42,6 +42,7 @@ void close(int type);
 void m_new(int nargs);
 void m_getMemoryNeeded(int nargs);
 void m_patToWindow(int nargs);
+void m_indexColorToWindow(int nargs);
 
 } // End of namespace RearWindowXObj
 




More information about the Scummvm-git-logs mailing list