[Scummvm-git-logs] scummvm branch-2-7 -> bb2dd8dcb1b28e58183fb5688b2492f95bf2c862

sev- noreply at scummvm.org
Fri Mar 17 23:35:22 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:
e558a7a00a AGI: Allow selection of arbitrary rendermodes. Fixes bug #14332
bb2dd8dcb1 NEWS: Mention AGI render mode fix


Commit: e558a7a00ac986c8a5528fcca05997863fb23bdf
    https://github.com/scummvm/scummvm/commit/e558a7a00ac986c8a5528fcca05997863fb23bdf
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-18T00:31:55+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 b5b0dd75eb1..0b2cfb9f808 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -289,24 +289,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: bb2dd8dcb1b28e58183fb5688b2492f95bf2c862
    https://github.com/scummvm/scummvm/commit/bb2dd8dcb1b28e58183fb5688b2492f95bf2c862
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-03-18T00:32:52+01:00

Commit Message:
NEWS: Mention AGI render mode fix

Changed paths:
    NEWS.md


diff --git a/NEWS.md b/NEWS.md
index 9806155af2e..1f282f6928b 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -6,6 +6,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