[Scummvm-git-logs] scummvm master -> 55ec2f3c073356150737eb3e8f05b3450b5b7c18

dreammaster noreply at scummvm.org
Mon Mar 27 01:29:07 UTC 2023


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:
55ec2f3c07 NUVIE: Fix Ultima 6 actor doll and gump colors


Commit: 55ec2f3c073356150737eb3e8f05b3450b5b7c18
    https://github.com/scummvm/scummvm/commit/55ec2f3c073356150737eb3e8f05b3450b5b7c18
Author: PushmePullyu (127053144+PushmePullyu at users.noreply.github.com)
Date: 2023-03-26T18:29:03-07:00

Commit Message:
NUVIE: Fix Ultima 6 actor doll and gump colors

Set the pixel format of actor doll and various gump ManagedSurfaces
to match the format loaded into their buffers.

This corrects colors in:

with style set to "new style" (in video options):

- Actor dolls (the small figure showing equipped items)

- The spellbook gump (opened when casting a spell)

- The sun / moon ribbon to the top right

with style set to "original" and "use new actor dolls" on:

- Actor dolls

Fixes #13513

Changed paths:
    engines/ultima/nuvie/files/nuvie_bmp_file.cpp


diff --git a/engines/ultima/nuvie/files/nuvie_bmp_file.cpp b/engines/ultima/nuvie/files/nuvie_bmp_file.cpp
index 38fb9bfc25a..410bdf86ba9 100644
--- a/engines/ultima/nuvie/files/nuvie_bmp_file.cpp
+++ b/engines/ultima/nuvie/files/nuvie_bmp_file.cpp
@@ -282,7 +282,7 @@ Graphics::ManagedSurface *NuvieBmpFile::getSdlSurface32() {
 
 	Graphics::ManagedSurface *surface = new Graphics::ManagedSurface(
 		infoHeader.width, infoHeader.height,
-		Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0)
+		Graphics::PixelFormat(4, 8, 8, 8, 0, 0, 8, 16, 24)
 	);
 
 	unsigned char *src_buf = data;




More information about the Scummvm-git-logs mailing list