MLVL (File Format): Difference between revisions

Jump to navigation Jump to search
>Claris
No edit summary
imported>Jackoalan
Line 329: Line 329:
==== Dependency List ====
==== Dependency List ====


This section is only present in Prime 1 and 2. It starts with what's essentially an embedded [[DGRP (File Format)|DGRP]] file: a 32-bit count value followed by a list of resources used by the area.
This section is only present in Prime 1 and 2. It starts with what's essentially 2 embedded [[DGRP (File Format)|DGRP]] files: a 32-bit count value followed by a list of resources used by the area. There are two of these tables, and the first is always empty in release versions.


Following that is a small array. The purpose of this array is to distinguish which resources are used by which layers, to avoid wasting time loading resources used by objects that aren't active. It's an array of offsets into the dependency table, each one marking the start of that layer's dependency list.
Following that is a small array. The purpose of this array is to distinguish which resources are used by which layers, to avoid wasting time loading resources used by objects that aren't active. It's an array of offsets into the dependency table, each one marking the start of that layer's dependency list.
Anonymous user

Navigation menu