Opened 16 years ago

Closed 16 years ago

Last modified 2 years ago

#8366 closed patch

MIVGA: Actor Scale Patch

Reported by: SF/madm00se Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Monkey Island 1

Description

This patch fixes a scaling bug which show (probably amongst other places) in the mansion when walking into the back room. For MIVGA, Actor::drawActorCostume needs to look up a scale value in a scale slot. Going through ScummEngine::getScale doesn't work since we're not in a walkbox.

This patch moves scale slot lookup into a seperate function ScummEngine::getScaleFromSlot, used by both Actor::drawActorCostume and ScummEngine::getScale.

The full diff is a difficult to read, so a diff ignoring whitespace is attached too.

Ticket imported from: #1060453. Ticket imported from: patches/471.

Attachments (2)

mivga-scale-patch.txt (3.4 KB ) - added by SF/madm00se 16 years ago.
MIVGA actor scale patch - full
mivga-scale-patch-nows.txt (2.4 KB ) - added by SF/madm00se 16 years ago.
MIVGA actor scale patch - whitespace ignored

Download all attachments as: .zip

Change History (4)

by SF/madm00se, 16 years ago

Attachment: mivga-scale-patch.txt added

MIVGA actor scale patch - full

by SF/madm00se, 16 years ago

Attachment: mivga-scale-patch-nows.txt added

MIVGA actor scale patch - whitespace ignored

comment:1 by Kirben, 16 years ago

Owner: set to Kirben
Status: newclosed

comment:2 by digitall, 2 years ago

Component: Engine: SCUMM
Game: Monkey Island 1
Note: See TracTickets for help on using tickets.