Commit Graph

4 Commits

Author SHA1 Message Date
Kuruyia
45c3c1a000 Document terrain attributes module-related map load mode fields
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>
2025-03-30 17:32:07 +02:00
Kuruyia
607e8f4bf9 Document terrain collision manager
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>
2025-03-22 13:48:02 +01:00
Kuruyia
4bea4a8462 Document land data
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>
2025-03-09 09:50:09 +01:00
Adrienn Tindall
b21c778ada Requested Changes + Much more documentation 2024-10-01 23:20:30 -04:00