Expand description
Handling of packed files.
Functions
- Allocate a file and load a file from the pack archive inside. This is functionally identical to
load_file_in_pack_by_pack_number
, but the game handles allocation. - Get the length of a file entry from a Pack archive.
- Call
get_file_length_in_pack
after looking up the global pack archive by its number. - Load the indexed file from the Pack archive.
- Call
load_file_in_pack
after looking up the global pack archive by its number. - Open the 6 files at PACK_FILE_PATHS_TABLE into PACK_FILE_OPENED. Called during game initialisation.
- Open a Pack file, to be read later.