Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#8307 closed patch

FT: Implement palManipulateInit_new

Reported by: SF/madm00se Owned by: fingolfin
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Full Throttle

Description

Apparently roomOps.palManipulate changed somewhere between scumm v5 and v7.

roomOps.palManipulate calls palManipulateInit which changed argument order and changed to use a palette from the PALS chunk instead of three strings.

I implemented it as palManipulateInit_new (since I don't currently have FOA) and changed getPalettePtr to take a palette index argument instead of using _curPalIndex.

FT uses roomOps.palManipulate at the gas tower when Ben walks in to and out of the light.

Ticket imported from: #861716. Ticket imported from: patches/412.

Attachments (1)

palManipulateInit_new.patch (4.2 KB ) - added by SF/madm00se 20 years ago.
Implement palManipulateInit_new

Download all attachments as: .zip

Change History (4)

by SF/madm00se, 20 years ago

Attachment: palManipulateInit_new.patch added

Implement palManipulateInit_new

comment:1 by fingolfin, 20 years ago

Eek, unnecessary code duplication :-)

OK, I cleaned this up and added it to CVS. Thanks.

comment:2 by fingolfin, 20 years ago

Owner: set to fingolfin
Status: newclosed

comment:3 by digitall, 5 years ago

Component: Engine: SCUMM
Game: Full Throttle
Note: See TracTickets for help on using tickets.