beyond-all-reason / spring

A powerful free cross-platform RTS game engine
https://beyond-all-reason.github.io/spring/
Other
178 stars 95 forks source link

Consider `VFS.RecursiveDirList` #1487

Open sprunk opened 2 months ago

sprunk commented 2 months ago

VFS.RecursiveDirList(path, filter, mode) would be equivalent to current VFS.DirList(path, filter, mode, true) since the 4th bool arg is whether the search is recursive. Named functions are clearer (for both reading and writing) than bool args.