Opened 23 years ago

Closed 23 years ago

Last modified 6 years ago

#7898 closed patch (fixed)

variable dimension patch

Reported by: SF/japj Owned by:
Priority: normal Component: Engine: SCUMM
Version: 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 23 years ago.
variable dimension patch

Download all attachments as: .zip

Change History (3)

by SF/japj, 23 years ago

Attachment: variable_dimension_patch added

variable dimension patch

comment:1 by SF/strigeus, 23 years ago

Resolution: fixed
Status: newclosed

comment:2 by digitall, 6 years ago

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