Opened 19 years ago

Closed 19 years ago

Last modified 23 months ago

#7898 closed patch (fixed)

variable dimension patch

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

Description

In Scumm::initThingsV5 there are a couple of 'dimension' variables inited that are used to define the dimension of some arrays.

_numVerbs -> _verbs _objs -> _numLocalObjects

etc

This patch tries to remove some hardcoded constants by using the appropriate variable (_numVerbs instead of 100)

Please check if this also correctly addresses object.cpp and verbs.cpp as I'm not entirely familiar with the internals of the scumm interpreter.

Ticket imported from: #478862. Ticket imported from: patches/3.

Attachments (1)

variable_dimension_patch (2.8 KB ) - added by SF/japj 19 years ago.
variable dimension patch

Download all attachments as: .zip

Change History (3)

by SF/japj, 19 years ago

Attachment: variable_dimension_patch added

variable dimension patch

comment:1 by SF/strigeus, 19 years ago

Resolution: fixed
Status: newclosed

comment:2 by digitall, 23 months ago

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