This documents the following fields in the map load mode struct:
- `useSeparateTerrainAttributes`: whether to load terrain attributes
using the separate terrain attributes module.
- `separateTerrainAttributesBlockCount`: the number of terrain
attributes block to load when using the separate terrain attributes
module. Each block corresponds to the terrain attributes contained in
a land data file.
Note: when using the simple terrain collisions in a map load mode, it is
mandatory to also use the separate terrain attributes module, as this is
where the terrain collision manager will get terrain attributes.
Signed-off-by: Kuruyia <github@kuruyia.net>
This documents the `unk_02054D00.c` file, which is in charge of managing
height, collision and tile behavior between the terrain and the
player/map objects.
Signed-off-by: Kuruyia <github@kuruyia.net>
This documents the `ov5_021E779C.c` file, which is in charge of loading
map data from the `land_data.narc` archive, dynamically load and unload
maps as the player moves, and render the map base models and their
props.
Also, for the viewer's pleasure, it includes a ton of Distortion
World-specific functions.
This also documents the `ov5_021EEAC8.c` file, which is in charge of
managing buffer allocation for the map base model and BDHC data.
Signed-off-by: Kuruyia <github@kuruyia.net>