Opened 19 years ago

Closed 19 years ago

Last modified 2 years ago

#7916 closed patch (fixed)

objectflagtable owner/state patch

Reported by: SF/japj Owned by:
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game:

Description

This patch tries to improve readability of the objectFlagTable code by introducing 3 new defines and adaption of all code that accesses the objectFlagTable.

Ticket imported from: #480983. Ticket imported from: patches/21.

Attachments (1)

owner_state.patch (4.2 KB ) - added by SF/japj 19 years ago.
owner / state patch

Download all attachments as: .zip

Change History (4)

by SF/japj, 19 years ago

Attachment: owner_state.patch added

owner / state patch

comment:1 by SF/strigeus, 19 years ago

Resolution: fixed
Status: newclosed

comment:2 by SF/strigeus, 19 years ago

I've implemented it and it will go to the tree in my next commit. #define clutters the namespace, so I use enum instead. I also use OF_OWNER_MASK since that's shorter, as well as a new one, OF_STATE_SHL.

comment:3 by digitall, 2 years ago

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