fn parse_data_with_base_directory(
    result: &mut Vec<Entry>,
    data: &[u8],
    base_path: &Path,
    depth: u8,
)
Expand description

Parse the given data as a resource database.

The parsed entries are appended to result. #includes are resolved relative to the given base_path. depth is the number of includes that we are already handling. This value is used to prevent endless loops when a file (directly or indirectly) includes itself.