[Scummvm-git-logs] scummvm master -> ba580538fb3c9811625243c53724b7b3513ccdc0

sev- sev at scummvm.org
Thu Apr 29 21:07:58 UTC 2021


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:
fca9fe082b TONY: Drop platform in detection entries
b484752e6e NGI: Added detection for the Steam version of Full Pipe. Bugreport #10569
ba580538fb NGI: Fix endianness in RB picture decompression


Commit: fca9fe082b57d6de1059ffb5cdfe7eb7e78b1c4b
    https://github.com/scummvm/scummvm/commit/fca9fe082b57d6de1059ffb5cdfe7eb7e78b1c4b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-04-29T23:07:43+02:00

Commit Message:
TONY: Drop platform in detection entries

Changed paths:
    engines/tony/detection_tables.h


diff --git a/engines/tony/detection_tables.h b/engines/tony/detection_tables.h
index 3ef6e77b82..b00f3ac478 100644
--- a/engines/tony/detection_tables.h
+++ b/engines/tony/detection_tables.h
@@ -36,7 +36,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::EN_ANY,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -54,7 +54,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::CZ_CZE,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -72,7 +72,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::FR_FRA,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -90,7 +90,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::DE_DEU,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -108,7 +108,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::DE_DEU,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -126,7 +126,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::IT_ITA,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -144,7 +144,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::IT_ITA,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -162,7 +162,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::PL_POL,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -180,7 +180,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::PL_POL,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -198,7 +198,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::RU_RUS,
 			Common::kPlatformWindows,
-			ADGF_NO_FLAGS,
+			ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -216,7 +216,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::EN_ANY,
 			Common::kPlatformWindows,
-			ADGF_DEMO,
+			ADGF_DEMO | ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},
@@ -250,7 +250,7 @@ static const TonyGameDescription gameDescriptions[] = {
 			},
 			Common::EN_ANY,
 			Common::kPlatformWindows,
-			ADGF_DEMO | GF_COMPRESSED,
+			ADGF_DEMO | GF_COMPRESSED | ADGF_DROPPLATFORM,
 			GUIO1(GUIO_NOMIDI)
 		},
 	},


Commit: b484752e6e8a0cb3d4504607dfa78221fc20f0be
    https://github.com/scummvm/scummvm/commit/b484752e6e8a0cb3d4504607dfa78221fc20f0be
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-04-29T23:07:44+02:00

Commit Message:
NGI: Added detection for the Steam version of Full Pipe. Bugreport #10569

The game has no difference from English release besides the
executable.

Changed paths:
    engines/ngi/detection.cpp


diff --git a/engines/ngi/detection.cpp b/engines/ngi/detection.cpp
index 36ccf9d77f..9c10b16369 100644
--- a/engines/ngi/detection.cpp
+++ b/engines/ngi/detection.cpp
@@ -108,6 +108,20 @@ static const NGIGameDescription gameDescriptions[] = {
 		GID_FULLPIPE
 	},
 
+	// Full Pipe English Steam version
+	{
+		{
+			"fullpipe",
+			"Steam",
+			AD_ENTRY1s("4620.sc2", "66ef399644434e88f3951acd882742b6", 510),
+			Common::EN_ANY,
+			Common::kPlatformWindows,
+			ADGF_DROPPLATFORM,
+			GUIO1(GUIO_NOMIDI)
+		},
+		GID_FULLPIPE
+	},
+
 	// Full Pipe Russian Demo version
 	{
 		{


Commit: ba580538fb3c9811625243c53724b7b3513ccdc0
    https://github.com/scummvm/scummvm/commit/ba580538fb3c9811625243c53724b7b3513ccdc0
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-04-29T23:07:44+02:00

Commit Message:
NGI: Fix endianness in RB picture decompression

Changed paths:
    engines/ngi/gfx.cpp


diff --git a/engines/ngi/gfx.cpp b/engines/ngi/gfx.cpp
index 36c6b90f14..93f96c9b03 100644
--- a/engines/ngi/gfx.cpp
+++ b/engines/ngi/gfx.cpp
@@ -815,19 +815,19 @@ bool Bitmap::putDibRB(byte *pixels, const Palette &palette) {
 	for (y = endy; y >= starty && !breakup; y--) {
 		x = startx;
 
-		while ((pixel = *srcPtr++) != 0) {
+		while ((pixel = FROM_LE_16(*srcPtr++)) != 0) {
 			if (pixel == 0x100) {
 				breakup = true;
 				break;
 			}
 
 			while (pixel == 0x200 && y >= starty) {
-				uint16 value = *srcPtr++;
+				uint16 value = FROM_LE_16(*srcPtr++);
 
 				x += (byte)(value & 0xff);
 				y -= (byte)((value >> 8) & 0xff);
 
-				pixel = *srcPtr++;
+				pixel = FROM_LE_16(*srcPtr++);
 			}
 
 			if (y < starty || pixel == 0)




More information about the Scummvm-git-logs mailing list