Remove the use of qsort, since PhysFS sorts the result. The PhysFS sort is case-sensitive rather than insensitive as the qsort was, but this is unlikely to matter for most users. Avoid an unnecessary strlen. The required data can be obtained from the strchr. Suppress player files that do not end in `.plr`. PhysFS should not return such a file, and if it did, later code would likely become confused. Hide such files from the user. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |