pub fn resolve_missing_script_refs(
ref_map: &mut S2sRefMap,
section_map: &mut S2sSectionMap,
) -> Vec<PathBuf>Expand description
After building the reference map, resolve references whose target files
have a different extension than expected (e.g., referenced as .s2s in
msgbox/button calls but stored as .txt on disk).
Updates ref_map and section_map in place so their keys point to the
actual files. Returns the list of non-.s2s files that need processing,
and emits warnings for references that could not be resolved at all.