[Scummvm-git-logs] scummvm master -> 3a3ff8aa5aae74cbf863826d0d2cd56ad81347c5
dreammaster
dreammaster at scummvm.org
Sun Aug 8 03:27:08 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:
3a3ff8aa5a AGS: Extend force AA fix to Rango as well
Commit: 3a3ff8aa5aae74cbf863826d0d2cd56ad81347c5
https://github.com/scummvm/scummvm/commit/3a3ff8aa5aae74cbf863826d0d2cd56ad81347c5
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-08-07T20:26:34-07:00
Commit Message:
AGS: Extend force AA fix to Rango as well
Changed paths:
engines/ags/ags.cpp
engines/ags/detection.h
engines/ags/detection_tables.h
diff --git a/engines/ags/ags.cpp b/engines/ags/ags.cpp
index 169b386346..691e0f43a2 100644
--- a/engines/ags/ags.cpp
+++ b/engines/ags/ags.cpp
@@ -82,9 +82,8 @@ AGSEngine::AGSEngine(OSystem *syst, const AGSGameDescription *gameDesc) : Engine
if (ConfMan.getActiveDomain()->tryGetVal("force_text_aa", forceAA))
Common::parseBool(forceAA, _forceTextAA);
- // WORKAROUND: Fix incorrect accents in German Gemini Rue
- // Check if future if this is needed for any other games
- if (getGameId() == "geminirue" && _gameDescription->desc.language == Common::DE_DEU)
+ // WORKAROUND: Certain games need to force AA to render the text correctly
+ if (_gameDescription->desc.flags & GAMEFLAG_FORCE_AA)
_forceTextAA = true;
}
diff --git a/engines/ags/detection.h b/engines/ags/detection.h
index 2ea43c46bf..dbadb90866 100644
--- a/engines/ags/detection.h
+++ b/engines/ags/detection.h
@@ -35,6 +35,10 @@ enum AGSDebugChannels {
kDebugScript = 1 << 4
};
+enum GameFlag {
+ GAMEFLAG_FORCE_AA = 1
+};
+
struct PluginVersion {
const char *_plugin;
int _version;
diff --git a/engines/ags/detection_tables.h b/engines/ags/detection_tables.h
index 308122422a..80107b7c18 100644
--- a/engines/ags/detection_tables.h
+++ b/engines/ags/detection_tables.h
@@ -1968,7 +1968,7 @@ const AGSGameDescription GAME_DESCRIPTIONS[] = {
GAME_ENTRY("geminirue", "GeminiRue.exe", "0bdfb2139abaae5ae2dc85f1aacfd3f6", 61906750), // v1.1 CD Release
GAME_ENTRY_GOG("geminirue", "gemini rue.exe", "f3c0c7d3892bdd8963e8ce017f73de08", 61986506),
GAME_ENTRY("geminirue", "gemini rue.exe", "0bdfb2139abaae5ae2dc85f1aacfd3f6", 61926695),
- GAME_ENTRY_LANG("geminirue", "gemini rue.exe", "0bdfb2139abaae5ae2dc85f1aacfd3f6", 64650419, Common::DE_DEU), // German retail
+ DETECTION_ENTRY("geminirue", "gemini rue.exe", "0bdfb2139abaae5ae2dc85f1aacfd3f6", 64650419, Common::DE_DEU, nullptr, nullptr, GAMEFLAG_FORCE_AA), // German retail
GAME_ENTRY_STEAM("geminirue", "gemini_rue_pc.exe", "83362d0d2c1d4909bfbd85c04c95bde2", 72960932),
GAME_ENTRY_STEAM("geminirue", "gemini_rue_pc.exe", "f49a61ea46feb86f89de3c136ad809ff", 73412249),
GAME_ENTRY_PLUGIN_STEAM("geminirue", "agsgame.dat", "f3c0c7d3892bdd8963e8ce017f73de08", 62059297, AGSTEAM_WADJETEYE), //Linux
@@ -3255,7 +3255,7 @@ const AGSGameDescription GAME_DESCRIPTIONS[] = {
GAME_ENTRY("ralphtheraven", "RalphTheRaven.exe", "0500aacb6c176d47ac0f8158f055db83", 1655198),
GAME_ENTRY("ramghost", "RAM_Ghost.exe", "f87f3e71d13b5fea0970ef95f1c87abe", 14830699),
GAME_ENTRY("ramsesporter", "Ramses Porter and the Relay for Love.exe", "a524cbb1c51589903c4043b98917f1d9", 55490676),
- GAME_ENTRY("rango", "Rango.exe", "618d7dce9631229b4579340b964c6810", 21059129),
+ DETECTION_ENTRY("rango", "Rango.exe", "618d7dce9631229b4579340b964c6810", 21059129, Common::UNK_LANG, nullptr, nullptr, GAMEFLAG_FORCE_AA),
GAME_ENTRY("ratchannel", "Rat Channel.exe", "c5d2c54c20cb606519b86d3890ee7fc0", 303946606),
GAME_ENTRY("rayandtheguitar", "The Band.exe", "465f972675db2da6040518221af5b0ba", 1518249),
GAME_ENTRY("raybexter", "Ray Bexter.exe", "3e8667bab45f2e5d7237db53ab376400", 5930752),
More information about the Scummvm-git-logs
mailing list