[Scummvm-git-logs] scummvm master -> 69307faa0677807966b2d598f1fc3f548ec0fd90

bluegr noreply at scummvm.org
Sun Jul 21 10:42:01 UTC 2024


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:
69307faa06 DGDS: Add stubs for Quarky And Quaysoo's Turbo Science


Commit: 69307faa0677807966b2d598f1fc3f548ec0fd90
    https://github.com/scummvm/scummvm/commit/69307faa0677807966b2d598f1fc3f548ec0fd90
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-07-21T13:41:43+03:00

Commit Message:
DGDS: Add stubs for Quarky And Quaysoo's Turbo Science

It doesn't even start at this point, as the engine is quite
newer, and this game some drastic changes from previous ones
(e.g. the scene version is 2.xxx now, and there doesn't seem
to be any inventory)

Changed paths:
    engines/dgds/detection.cpp
    engines/dgds/detection_tables.h
    engines/dgds/dgds.cpp
    engines/dgds/dgds.h
    engines/dgds/font.cpp


diff --git a/engines/dgds/detection.cpp b/engines/dgds/detection.cpp
index e7e03993f93..97eebd4eef6 100644
--- a/engines/dgds/detection.cpp
+++ b/engines/dgds/detection.cpp
@@ -26,6 +26,7 @@ static const PlainGameDescriptor dgdsGames[] = {
 	{"rise", "Rise of the Dragon"},
 	{"china", "Heart of China"},
 	{"beamish", "The Adventures of Willy Beamish"},
+	{"quarky", "Quarky And Quaysoo's Turbo Science"},
 	{"sq5demo", "Space Quest V Demo"},
 	{"comingattractions", "Sierra / Dynamix 1991 Coming Attractions Demo"},
 
diff --git a/engines/dgds/detection_tables.h b/engines/dgds/detection_tables.h
index 174afc332ef..094c6431784 100644
--- a/engines/dgds/detection_tables.h
+++ b/engines/dgds/detection_tables.h
@@ -308,6 +308,23 @@ static const ADGameDescription gameDescriptions[] = {
 		GUIO1(GUIO_NONE)
 	},
 
+	// Quarky And Quaysoo's Turbo Science
+	{
+		"quarky",
+		0,
+		{
+			{"resource.map", 0, "639885b4a7c6b8e395b6ca969c94ffd9", 7595},
+			{"resource.001", 0, "67a4ebacfa73d3f54e9c489d46f3e512", 1393208},
+			{"resource.002", 0, "de8375a3cf6bf347a0d8604b871883d3", 1456460},
+			{"resource.003", 0, "d22b65b330873828b18377a8276c071a", 1177135},
+			AD_LISTEND
+		},
+		Common::EN_ANY,
+		Common::kPlatformDOS,
+		ADGF_UNSTABLE,
+		GUIO1(GUIO_NONE)
+	},
+
 	// SQ5 demo
 	{
 		"sq5demo",
diff --git a/engines/dgds/dgds.cpp b/engines/dgds/dgds.cpp
index 7eab4bc9d90..175faec057e 100644
--- a/engines/dgds/dgds.cpp
+++ b/engines/dgds/dgds.cpp
@@ -95,6 +95,8 @@ DgdsEngine::DgdsEngine(OSystem *syst, const ADGameDescription *gameDesc)
 	} else if (!strcmp(gameDesc->gameId, "beamish")) {
 		_isDemo = (gameDesc->flags & ADGF_DEMO);
 		_gameId = GID_WILLY;
+	} else if (!strcmp(gameDesc->gameId, "quarky")) {
+		_gameId = GID_QUARKY;
 	} else if (!strcmp(gameDesc->gameId, "sq5demo")) {
 		_isDemo = true;
 		_gameId = GID_SQ5DEMO;
@@ -383,6 +385,17 @@ void DgdsEngine::loadGameFiles() {
 		reqParser.parse(&invRequestData, "WINV.REQ");
 		reqParser.parse(&vcrRequestData, "WVCR.REQ");
 
+		break;
+	case GID_QUARKY:
+		_gameGlobals = new Globals(_clock);
+		_gamePals->loadPalette("MRALLY.PAL");
+		_gdsScene->load("MRALLY.GDS", _resource, _decompressor);
+
+		debug("%s", _gdsScene->dump("").c_str());
+
+		loadCorners("MCORNERS.BMP");
+		reqParser.parse(&invRequestData, "TOOLINFO.REQ");
+		reqParser.parse(&vcrRequestData, "MVCR.REQ");
 		break;
 	case GID_SQ5DEMO:
 		_gameGlobals = new Globals(_clock);
diff --git a/engines/dgds/dgds.h b/engines/dgds/dgds.h
index 1bb81b461f9..28928d23489 100644
--- a/engines/dgds/dgds.h
+++ b/engines/dgds/dgds.h
@@ -67,6 +67,7 @@ enum DgdsGameId {
 	GID_WILLY,
 	GID_SQ5DEMO,
 	GID_COMINGATTRACTIONS,
+	GID_QUARKY
 };
 
 enum DgdsDetailLevel {
diff --git a/engines/dgds/font.cpp b/engines/dgds/font.cpp
index 711ffaa378f..53b8f0a0525 100644
--- a/engines/dgds/font.cpp
+++ b/engines/dgds/font.cpp
@@ -261,6 +261,12 @@ void FontManager::loadFonts(DgdsGameId gameId, ResourceManager *resMgr, Decompre
 			tryLoadFont("WILLY.FNT", resMgr, decomp);
 			tryLoadFont("WVCR.FNT", resMgr, decomp);
 			tryLoadFont("COMIX_16.FNT", resMgr, decomp);
+		} else if (gameId == GID_QUARKY) {
+			tryLoadFont("MRALLY.FNT", resMgr, decomp);
+			tryLoadFont("MVCR.FNT", resMgr, decomp);
+			tryLoadFont("RUDEFONT.FNT", resMgr, decomp);
+			_fonts.setVal(kDefaultFont, _fonts.getVal(k8x8Font));
+			return;
 		}
 	}
 




More information about the Scummvm-git-logs mailing list