Hi,

When examining the difference between V5 and V6 games, i noticed that
the AARY block mysteriously appears in the specification. However
scummc currently doesn't make use of it, which made me think "Why are
array's specified there in the first place?".

Looking at the ScummVM code, it seems every array listed there is
created, provided they are either bit or integer arrays. Essentially
it's the equivalent of calling the dimArray opcode, except of course
its done before any script is executed. Which pretty matches the idea
expressed in the scummc docs that they are "pre-allocated" arrays.

However i still don't get why ths AARY block exists - surely it is
easier just to stick to allocating array's in script? The only thing i
can think of is perhaps it's something to do with memory management?

Of course, i could be completely off track in my thinking here.

Any ideas?

- James

_______________________________________________
ScummC-general mailing list
[email protected]
https://mail.gna.org/listinfo/scummc-general

Reply via email to