Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#10684 closed defect (fixed)

WME: 1-pixel width sprite becomes a big rectangle is rotation is applied

Reported by: lolbot-iichan Owned by: lolbot-iichan
Priority: normal Component: Engine: Wintermute
Version: Keywords: has-pull-request
Cc: somaen, lolbot-iichan Game: Wintermute

Description

Discovered this issue at FoxTail game, where grandmother have a mechanical clock, which is displayed normally in original game, but looks like 2 giant rectangles in ScummVM instead.

I have exctacted clock's source code and made a simple test game to demonstrate this issue without running FoxTail which is not fully supported by ScummVM yet: https://github.com/tobiatesan/wme_testsuite/tree/master/time_test/packages

Screenshots are attached.

Tested on latest ScummVM from dev branch and ScummVM 2.1.0git3428-gc518691d7c (Aug 12 2018 19:04:49).

Attachments (2)

time_test_scummvm.png (20.9 KB ) - added by lolbot-iichan 6 years ago.
time_test_wintermute.png (24.8 KB ) - added by lolbot-iichan 6 years ago.

Download all attachments as: .zip

Change History (8)

by lolbot-iichan, 6 years ago

Attachment: time_test_scummvm.png added

by lolbot-iichan, 6 years ago

Attachment: time_test_wintermute.png added

comment:1 by lolbot-iichan, 6 years ago

Cc: lolbot-iichan added

comment:2 by lolbot-iichan, 6 years ago

Game: Wintermute

comment:3 by lolbot-iichan, 5 years ago

Owner: set to somaen
Resolution: fixed
Status: newpending

comment:4 by Filippos Karapetis <bluegr@…>, 5 years ago

In fa4d310:

WINTERMUTE: Do not optimize out alpha blits on rotation

This fixes defect #10684: 1-pixel width sprite becomes a big rectangle
if rotation is applied.

Case was originally reproduced with FoxTail game for WME, then reduced
to testcase
https://github.com/tobiatesan/wme_testsuite/tree/master/time_test/packages

comment:5 by bluegr, 5 years ago

Owner: changed from somaen to lolbot-iichan
Status: pendingclosed

comment:6 by lolbot-iichan, 5 years ago

Keywords: has-pull-request added
Note: See TracTickets for help on using tickets.