[Scummvm-git-logs] scummvm master -> 686ad3c817248847763a1c6f532712b428b416e7

criezy criezy at scummvm.org
Thu Mar 25 22:32:53 UTC 2021


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

Summary:
040ee8857c AGS: Pretend to be on Windows rather than Linux.
686ad3c817 AGS: Add warning for ags_shell commands


Commit: 040ee8857cdb7aef2717a69a1319e4bd1b787ca1
    https://github.com/scummvm/scummvm/commit/040ee8857cdb7aef2717a69a1319e4bd1b787ca1
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2021-03-25T22:32:45Z

Commit Message:
AGS: Pretend to be on Windows rather than Linux.

This fixes missing rain in Gemini Rue for example. See
https://github.com/adventuregamestudio/ags/issues/81
for more information on this issue.
a

Changed paths:
    engines/ags/engine/platform/scummvm/scummvm_platform_driver.cpp


diff --git a/engines/ags/engine/platform/scummvm/scummvm_platform_driver.cpp b/engines/ags/engine/platform/scummvm/scummvm_platform_driver.cpp
index 9b8eb99bbe..229465547f 100644
--- a/engines/ags/engine/platform/scummvm/scummvm_platform_driver.cpp
+++ b/engines/ags/engine/platform/scummvm/scummvm_platform_driver.cpp
@@ -110,7 +110,7 @@ const char *ScummVMPlatformDriver::GetAllegroFailUserHint() {
 }
 
 eScriptSystemOSID ScummVMPlatformDriver::GetSystemOSID() {
-	return eOS_Linux;
+	return eOS_Win;
 }
 
 int ScummVMPlatformDriver::InitializeCDPlayer() {


Commit: 686ad3c817248847763a1c6f532712b428b416e7
    https://github.com/scummvm/scummvm/commit/686ad3c817248847763a1c6f532712b428b416e7
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2021-03-25T22:32:45Z

Commit Message:
AGS: Add warning for ags_shell commands

This will give us an idea of the type of commands that games
are trying to execute and possibly handle some of them (for
example if they are trying to open a URL).

Changed paths:
    engines/ags/plugins/ags_shell/ags_shell.cpp


diff --git a/engines/ags/plugins/ags_shell/ags_shell.cpp b/engines/ags/plugins/ags_shell/ags_shell.cpp
index 2ded9f45a2..910e5013fb 100644
--- a/engines/ags/plugins/ags_shell/ags_shell.cpp
+++ b/engines/ags/plugins/ags_shell/ags_shell.cpp
@@ -49,6 +49,9 @@ void AGSShell::AGS_EngineStartup(IAGSEngine *engine) {
 }
 
 void AGSShell::ShellExecute(ScriptMethodParams &params) {
+	PARAMS3(const char *, operation, const char *, filename, const char *, parameters);
+	warning("Unsupported ShellExecute(%s, %s, %s) command", operation, filename, parameters);
+
 	params._result = 0;
 }
 




More information about the Scummvm-git-logs mailing list