[Scummvm-git-logs] scummvm master -> 8584e74f4494afc53e2039f5e1748ae43313c36f

tag2015 noreply at scummvm.org
Thu Feb 1 15:19:29 UTC 2024


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

Summary:
981c202e71 AGS: Add AGSBMFontRenderer plugin stub
e18c486543 AGS: Disable autosave for falconcity
8584e74f44 AGS: Add a couple new games to detection


Commit: 981c202e71ece9dea014822054c863694fec63ac
    https://github.com/scummvm/scummvm/commit/981c202e71ece9dea014822054c863694fec63ac
Author: Walter Agazzi (walter.agazzi at protonmail.com)
Date: 2024-02-01T13:19:01+01:00

Commit Message:
AGS: Add AGSBMFontRenderer plugin stub

Just a stub for now, but at least Falcon City is playable in English
Fixes #14893

Changed paths:
  A engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.cpp
  A engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.h
    engines/ags/module.mk
    engines/ags/plugins/plugin_base.cpp


diff --git a/engines/ags/module.mk b/engines/ags/module.mk
index 683c897f8b5..554464de21f 100644
--- a/engines/ags/module.mk
+++ b/engines/ags/module.mk
@@ -320,6 +320,7 @@ MODULE_OBJS = \
 	plugins/ags_agi/ags_agi.o \
 	plugins/ags_app_open_url/ags_app_open_url.o \
 	plugins/ags_blend/ags_blend.o \
+	plugins/ags_bm_font_renderer/ags_bm_font_renderer.o \
 	plugins/ags_clipboard/ags_clipboard.o \
 	plugins/ags_collision_detector/ags_collision_detector.o \
 	plugins/ags_consoles/ags_consoles.o \
diff --git a/engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.cpp b/engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.cpp
new file mode 100644
index 00000000000..fc187e17b1b
--- /dev/null
+++ b/engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.cpp
@@ -0,0 +1,47 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * of the License, or(at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#include "ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.h"
+#include "common/debug.h"
+
+namespace AGS3 {
+namespace Plugins {
+namespace AGSBMFontRenderer {
+
+const char *AGSBMFontRenderer::AGS_GetPluginName() {
+	return "AGS BMFontRenderer Plugin stub (agsbmfontrenderer.dll)";
+}
+
+void AGSBMFontRenderer::AGS_EngineStartup(IAGSEngine *engine) {
+	PluginBase::AGS_EngineStartup(engine);
+
+	SCRIPT_METHOD(SetBMFont, AGSBMFontRenderer::SetBMFont);
+}
+
+void AGSBMFontRenderer::SetBMFont(ScriptMethodParams &params) {
+	//	PARAMS2(const char *, file, int, fontNumber);
+
+	debug("AGSBMFontRenderer: SetBMFont is not implemented!");
+}
+
+} // namespace AGSBMFontRenderer
+} // namespace Plugins
+} // namespace AGS3
diff --git a/engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.h b/engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.h
new file mode 100644
index 00000000000..50f3c92d762
--- /dev/null
+++ b/engines/ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.h
@@ -0,0 +1,49 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * of the License, or(at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef AGS_PLUGINS_AGS_BM_FONT_RENDERER
+#define AGS_PLUGINS_AGS_BM_FONT_RENDERER
+
+#include "ags/plugins/ags_plugin.h"
+
+namespace AGS3 {
+namespace Plugins {
+namespace AGSBMFontRenderer {
+
+class AGSBMFontRenderer : public PluginBase {
+	SCRIPT_HASH(AGSBMFontRenderer)
+
+private:
+	void SetBMFont(ScriptMethodParams &params);
+
+public:
+	AGSBMFontRenderer() : PluginBase() {}
+	virtual ~AGSBMFontRenderer() {}
+
+	const char *AGS_GetPluginName() override;
+	void AGS_EngineStartup(IAGSEngine *engine) override;
+};
+
+} // namespace AGSBMFontRenderer
+} // namespace Plugins
+} // namespace AGS3
+
+#endif
diff --git a/engines/ags/plugins/plugin_base.cpp b/engines/ags/plugins/plugin_base.cpp
index b147aa1c743..e01c1fe11be 100644
--- a/engines/ags/plugins/plugin_base.cpp
+++ b/engines/ags/plugins/plugin_base.cpp
@@ -24,6 +24,7 @@
 #include "ags/plugins/ags_agi/ags_agi.h"
 #include "ags/plugins/ags_app_open_url/ags_app_open_url.h"
 #include "ags/plugins/ags_blend/ags_blend.h"
+#include "ags/plugins/ags_bm_font_renderer/ags_bm_font_renderer.h"
 #include "ags/plugins/ags_clipboard/ags_clipboard.h"
 #include "ags/plugins/ags_collision_detector/ags_collision_detector.h"
 #include "ags/plugins/ags_consoles/ags_consoles.h"
@@ -82,6 +83,9 @@ Plugins::PluginBase *pluginOpen(const char *filename) {
 	if (fname.equalsIgnoreCase("AGSBlend"))
 		return new AGSBlend::AGSBlend();
 
+	if (fname.equalsIgnoreCase("AGSBMFontRenderer"))
+		return new AGSBMFontRenderer::AGSBMFontRenderer();
+
 	if (fname.equalsIgnoreCase("AGSClipboard"))
 		return new AGSClipboard::AGSClipboard();
 


Commit: e18c48654361ecfd891e590eeb560d282a3e5a49
    https://github.com/scummvm/scummvm/commit/e18c48654361ecfd891e590eeb560d282a3e5a49
Author: Walter Agazzi (walter.agazzi at protonmail.com)
Date: 2024-02-01T13:26:28+01:00

Commit Message:
AGS: Disable autosave for falconcity

Changed paths:
    engines/ags/detection_tables.h


diff --git a/engines/ags/detection_tables.h b/engines/ags/detection_tables.h
index 8f779d114d1..373cee56e05 100644
--- a/engines/ags/detection_tables.h
+++ b/engines/ags/detection_tables.h
@@ -4207,7 +4207,7 @@ const AGSGameDescription GAME_DESCRIPTIONS[] = {
 	DETECTION_ENTRY_GUIO("excavationhb", "ac2game.dat", "e5553f7c45d26d5fbc8b376a859bb87c", 563283917, Common::EN_ANY, "Steam", GUIO3(GUIO_NOLANG, GUIO_NOLAUNCHLOAD, GAMEOPTION_NO_AUTOSAVE), AGSSPRITEFONT_CLIFFTOP, ADGF_NO_FLAGS), // Mac
 	DETECTION_ENTRY_GUIO("excavationhb", "TEOHB.exe", "f176b46bc89e227f745dae9878171676", 566320586, Common::EN_ANY, "GOG.com", GUIO3(GUIO_NOLANG, GUIO_NOLAUNCHLOAD, GAMEOPTION_NO_AUTOSAVE), AGSSPRITEFONT_CLIFFTOP, ADGF_NO_FLAGS),
 	DETECTION_ENTRY_GUIO("excavationhb", "TEOHB.exe", "f176b46bc89e227f745dae9878171676", 566323443, Common::EN_ANY, "GOG.com", GUIO3(GUIO_NOLANG, GUIO_NOLAUNCHLOAD, GAMEOPTION_NO_AUTOSAVE), AGSSPRITEFONT_CLIFFTOP, ADGF_NO_FLAGS),  // Win 1.05
-	GAME_ENTRY_STEAM("falconcity", "game.exe", "e816b31cfe3512c2ec24ac0bc6cfc605", 584191058),  // Eng-Hun-Chi
+	GAME_ENTRY_PLUGIN_STEAM_NOAUTOSAVE("falconcity", "game.exe", "e816b31cfe3512c2ec24ac0bc6cfc605", 584191058, nullptr),  // Eng-Hun-Chi
 	GAME_ENTRY_EN_STEAM("feriadarles", "feria d'arles.exe", "6a3291595263debd129e1e2064baeea5", 275649462),
 	GAME_ENTRY_EN_STEAM("feriadarles", "ac2game.dat", "6a3291595263debd129e1e2064baeea5", 275640157), // Mac
 	GAME_ENTRY_EN("feriadarles", "feria d'arles.exe", "6a3291595263debd129e1e2064baeea5", 275659086),


Commit: 8584e74f4494afc53e2039f5e1748ae43313c36f
    https://github.com/scummvm/scummvm/commit/8584e74f4494afc53e2039f5e1748ae43313c36f
Author: Walter Agazzi (walter.agazzi at protonmail.com)
Date: 2024-02-01T16:10:44+01:00

Commit Message:
AGS: Add a couple new games to detection

Changed paths:
    engines/ags/detection_tables.h


diff --git a/engines/ags/detection_tables.h b/engines/ags/detection_tables.h
index 373cee56e05..3cf4d9736bc 100644
--- a/engines/ags/detection_tables.h
+++ b/engines/ags/detection_tables.h
@@ -2904,6 +2904,7 @@ const PlainGameDescriptor GAME_NAMES[] = {
 	{ "stansrevenge", "Stan's Revenge" },
 	{ "starfreakers", "StarFreakers" },
 	{ "stargateadv", "Stargate Adventure" },
+	{ "stargateatlantis", "Stargate: The City of Atlantis" },
 	{ "stargatequizz", "Stargate Quizz" },
 	{ "stargatesgc", "Stargate SGC" },
 	{ "stargatesolitaire", "Stargate Solitaire" },
@@ -5002,6 +5003,7 @@ const AGSGameDescription GAME_DESCRIPTIONS[] = {
 	DEMO_ENTRY_EN("phantomfellows", "TPF.exe", "71961f24fd94e30e61167d7b0720cd35", 96800964),
 	DEMO_ENTRY_EN("phantomfellows", "TPF.exe", "71961f24fd94e30e61167d7b0720cd35", 430357136),
 	DEMO_ENTRY_EN("phantomfellows", "TPF.exe", "71961f24fd94e30e61167d7b0720cd35", 505116629),
+	DEMO_ENTRY_EN("phantomfellows", "TPF.exe", "71961f24fd94e30e61167d7b0720cd35", 3262982892),
 	DEMO_ENTRY_EN("phantomfellows", "TPF.ags", "9e8ca56e0a85a5d75ae4f6fd1f6e3e21", 502058945),  // Linux
 	DEMO_ENTRY_EN("phonoi", "phonee.ags", "111794f6fe829a478dc9a7d4cea239c8", 237652019),  // v0.2
 	DEMO_ENTRY_EN("platformerius", "platformerius.exe", "a3ad5fa6463c0116a2ac8986841860e0", 1512479),
@@ -5085,6 +5087,7 @@ const AGSGameDescription GAME_DESCRIPTIONS[] = {
 	DEMO_ENTRY_EN("sram2", "sram2.ags", "f55362aed016ba06b3488b7162199853", 293852887),  // Linux
 	DEMO_ENTRY_EN("stablepeteandthejoust", "StablePete.exe", "b142b43c146c25443a1d155d441a6a81", 30046740),  // v1.0
 	DEMO_ENTRY_EN("stablepeteandthejoust", "StablePete.exe", "b142b43c146c25443a1d155d441a6a81", 30048075),  // v1.1
+	DEMO_ENTRY("stargateatlantis", "Atlantis.exe", "3b5285594848a90298056cfeda4b2074", 13706734),  // En-Fr
 	DEMO_ENTRY_EN("startrekmansion", "ST_BTTM.exe", "615e73fc1874e92d60a1996c2330ea36", 42877388),
 	DEMO_ENTRY_EN("startropy", "Startropy.exe", "86cc8cd9b7443b68a374ad5d002c2945", 333959797),
 	DEMO_ENTRY("stellarmessep1", "StellarMessShortDemo.exe", "a409703089eebbcfa13f0a22f6fb71ed", 8067581),  // En-Fr-De-Es
@@ -5945,6 +5948,7 @@ const AGSGameDescription GAME_DESCRIPTIONS[] = {
 	GAME_ENTRY("deadphones", "Dead Phones.ags", "4e020fddbc4b134a4555ee2fdf99a65d", 23643965),  // En-De v1.1
 	GAME_ENTRY("deadphones", "Dead Phones.ags", "83f01cf9c2e4d22c46b67aac9b8d6e35", 23644134),  // En-De v1.3
 	GAME_ENTRY("deadphones", "Dead Phones.ags", "acc52371b95f5c314edeba87a0bd541c", 24362372),  // En-De
+	GAME_ENTRY("deadphones", "Dead Phones.ags", "0f84a139fa49977177b4f614050d532d", 24362476),  // En-De final
 	GAME_ENTRY_EN("deadpixels", "Dead Pixels.exe", "06a03fe35791b0578068ab1873455463", 4018372),
 	GAME_ENTRY_EN("deadroom", "Dead room.exe", "3b7cceb3e4bdb031dc5d8f290936e94b", 871409),
 	GAME_ENTRY_EN("deadsilence", "Game.exe", "5c5d4680def6954c0cd22e82dc07d4d4", 3370359),




More information about the Scummvm-git-logs mailing list