mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-03-21 17:55:13 -05:00
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>
16 lines
435 B
C
16 lines
435 B
C
#ifndef POKEPLATINUM_STRUCT_MAP_LOAD_MODE_H
|
|
#define POKEPLATINUM_STRUCT_MAP_LOAD_MODE_H
|
|
|
|
typedef struct MapLoadMode {
|
|
u32 fieldBottomScreen : 4;
|
|
u32 skipMapAttributes : 4;
|
|
u32 useSimpleTerrainCollisions : 4;
|
|
u32 unk_00_12 : 4;
|
|
u32 useSeparateTerrainAttributes : 4;
|
|
u32 unk_00_20 : 4;
|
|
u32 separateTerrainAttributesBlockCount : 8;
|
|
u32 unk_04;
|
|
} MapLoadMode;
|
|
|
|
#endif // POKEPLATINUM_STRUCT_MAP_LOAD_MODE_H
|