[Scummvm-git-logs] scummvm master -> 0ef9208ceff67ec083f7e2cdba72903252482a25

sev- noreply at scummvm.org
Fri Mar 17 23:35:36 UTC 2023


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:
cd7263f105 AGI: Allow selection of arbitrary rendermodes. Fixes bug #14332
0ef9208cef NEWS: Mention AGI render mode fix


Commit: cd7263f10525fb2e8900d5f286c1bbea1b140e77
    https://github.com/scummvm/scummvm/commit/cd7263f10525fb2e8900d5f286c1bbea1b140e77
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-18T00:35:25+01:00

Commit Message:
AGI: Allow selection of arbitrary rendermodes. Fixes bug #14332

This was originally a feature of ScummVM: to allow, say, Amiga style
cursors and menus in DOS version. Thus, it was forgotten about when
we added GUIOs.

Changed paths:
    engines/agi/detection.cpp


diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 9c817deafdb..4ee806405ca 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -288,24 +288,14 @@ Common::String AgiMetaEngineDetection::parseAndCustomizeGuiOptions(const Common:
 	const Common::Platform platform = Common::parsePlatform(ConfMan.get("platform", domain));
 	const Common::String gid = ConfMan.get("gameid", domain);
 
+	renderOptions = GUIO_RENDEREGA GUIO_RENDERCGA GUIO_RENDERHERCAMBER GUIO_RENDERHERCGREEN
+		GUIO_RENDERAMIGA GUIO_RENDERAPPLE2GS GUIO_RENDERATARIST GUIO_RENDERMACINTOSH;
+
 	switch (platform) {
 	case Common::kPlatformDOS:
-		renderOptions = GUIO_RENDEREGA GUIO_RENDERCGA GUIO_RENDERHERCAMBER GUIO_RENDERHERCGREEN;
 		if (gid.contains("AGI256") || gid.contains("256 Colors"))
 			renderOptions += GUIO_RENDERVGA;
 		break;
-	case Common::kPlatformAmiga:
-		renderOptions = GUIO_RENDERAMIGA;
-		break;
-	case Common::kPlatformApple2GS:
-		renderOptions = GUIO_RENDERAPPLE2GS;
-		break;
-	case Common::kPlatformAtariST:
-		renderOptions = GUIO_RENDERATARIST;
-		break;
-	case Common::kPlatformMacintosh:
-		renderOptions = GUIO_RENDERMACINTOSH;
-		break;
 	default:
 		break;
 	}


Commit: 0ef9208ceff67ec083f7e2cdba72903252482a25
    https://github.com/scummvm/scummvm/commit/0ef9208ceff67ec083f7e2cdba72903252482a25
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-18T00:35:25+01:00

Commit Message:
NEWS: Mention AGI render mode fix

Changed paths:
    NEWS.md


diff --git a/NEWS.md b/NEWS.md
index b0a9c1c20ce..b4b3775a8af 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -51,6 +51,9 @@ For a more comprehensive changelog of the latest experimental code, see:
  General:
   - Fixed playback speed for Theora videos.
 
+ AGI:
+   - Restored possibility to pick arbitrary render mode in Game Options.
+
  HDB:
    - Fixed bug with inability to pick up red envelope with keyboard.
 




More information about the Scummvm-git-logs mailing list