[Scummvm-git-logs] scummvm master -> 237e6231dd829b979adf4ce674de01cdba543f3c

bluegr noreply at scummvm.org
Sat Dec 16 13:55:28 UTC 2023


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:
237e6231dd SCI: Also show qfg2-agdi characters in import


Commit: 237e6231dd829b979adf4ce674de01cdba543f3c
    https://github.com/scummvm/scummvm/commit/237e6231dd829b979adf4ce674de01cdba543f3c
Author: Walter Agazzi (walter.agazzi at protonmail.com)
Date: 2023-12-16T15:55:24+02:00

Commit Message:
SCI: Also show qfg2-agdi characters in import

This allows importing characters created by the AGDI remake of QFG2 with no
need to rename.
Fixes TRAC #14754

Changed paths:
    engines/sci/engine/file.cpp


diff --git a/engines/sci/engine/file.cpp b/engines/sci/engine/file.cpp
index 78b2ed6c141..6a854676513 100644
--- a/engines/sci/engine/file.cpp
+++ b/engines/sci/engine/file.cpp
@@ -554,8 +554,10 @@ reg_t DirSeeker::firstFile(const Common::String &mask, reg_t buffer, SegManager
 		_files.clear();
 		addAsVirtualFiles("-QfG1-", "qfg1-*");
 		addAsVirtualFiles("-QfG1VGA-", "qfg1vga-*");
-		if (QfGImport > 2)
+		if (QfGImport > 2) {
 			addAsVirtualFiles("-QfG2-", "qfg2-*");
+			addAsVirtualFiles("-QfG2 AGDI-", "qfg2agdi-*");
+		}
 		if (QfGImport > 3)
 			addAsVirtualFiles("-QfG3-", "qfg3-*");
 




More information about the Scummvm-git-logs mailing list