pub fn parse_milk_img_ini(input: &str) -> Result<Vec<SpriteDef>>Expand description
Parse a MILK_IMG.INI file body. Returns one SpriteDef per
[imgNN] section that carries a non-empty img= field. Sections
whose name doesn’t match the expected pattern, sections with no
image, and unknown keys are silently dropped (matches MD2’s
fail-open behaviour — a malformed entry shouldn’t break the bank).
The returned vector is sorted by slot index ascending so callers can index it without re-sorting; gaps in the slot range are preserved (the index isn’t densified).