404
edits
(Paths) |
No edit summary |
||
Line 6: | Line 6: | ||
= File format = | = File format = | ||
<syntaxhighlight lang="c"> | |||
struct collision_map_file { | |||
/* offset 0x00 */ char magic[4]; // "HP" followed by two null bytes | |||
// Byte offset from start of this struct to the tile_data struct | |||
/* offset 0x04 */ u32 offsetToTileData; | |||
// Byte offset from start of this struct to the zone_data struct | |||
/* offset 0x08 */ u32 offsetToZones; | |||
// Byte offset from start of this struct to the PathData struct | |||
/* offset 0x0c */ u32 offsetToPaths; | |||
// Byte offset from start of this struct to unknown data | |||
// (likely enemy navigation data) | |||
/* offset 0x10 */ u32 offsetToUnknown; | |||
}; | |||
</syntaxhighlight> | |||
= Tile data = | = Tile data = | ||
Line 128: | Line 124: | ||
* 0xd0: Start searching | * 0xd0: Start searching | ||
= Unknown block | = Unknown block = | ||
= See also = | = See also = |