[Scummvm-git-logs] scummvm master -> cbae393a94909f33da113b183ebe16212b8d1ce6
sev-
noreply at scummvm.org
Thu Aug 28 22:05:03 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
cbae393a94 DIRECTOR: Fix BITD loading for D6+
Commit: cbae393a94909f33da113b183ebe16212b8d1ce6
https://github.com/scummvm/scummvm/commit/cbae393a94909f33da113b183ebe16212b8d1ce6
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-08-29T00:04:55+02:00
Commit Message:
DIRECTOR: Fix BITD loading for D6+
There is nothing special about it, it is the same format.
A bit later they start to mix in JPEG files, to be implemented
Changed paths:
engines/director/castmember/bitmap.cpp
diff --git a/engines/director/castmember/bitmap.cpp b/engines/director/castmember/bitmap.cpp
index 90230af31e7..6d78b08cbf9 100644
--- a/engines/director/castmember/bitmap.cpp
+++ b/engines/director/castmember/bitmap.cpp
@@ -671,11 +671,7 @@ void BitmapCastMember::load() {
debugC(2, kDebugLoading, "****** Loading 'BITD' id: %d (%d), %d bytes", imgId, realId, (int)pic->size());
if (w > 0 && h > 0) {
- if (_cast->_version < kFileVer600) {
- img = new BITDDecoder(w, h, _bitsPerPixel, _pitch, g_director->getPalette(), _cast->_version);
- } else {
- img = new Image::BitmapDecoder();
- }
+ img = new BITDDecoder(w, h, _bitsPerPixel, _pitch, g_director->getPalette(), _cast->_version);
} else if (pic->size() == 0) {
// zero-length bitmap
} else {
More information about the Scummvm-git-logs
mailing list