Opened 22 years ago

Closed 22 years ago

Last modified 5 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 22 years ago.
variable dimension patch

Download all attachments as: .zip

Change History (3)

by SF/japj, 22 years ago

Attachment: variable_dimension_patch added

variable dimension patch

comment:1 by SF/strigeus, 22 years ago

Resolution: fixed
Status: newclosed

comment:2 by digitall, 5 years ago

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