Re: [AD] Clarifying and revising filesystem API

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert Glebbeek wrote:
On 16 Apr 2009, at 19:21 , Peter Wang wrote:
Directory operations are outside of this API.  Use libc, PhysicsFS
or some VFS layer as you like.

I like some provision for managing directories/actual file system stuff. Simply because Windows sucks and I can't be bothered to try to remember which functions are standard libc and which are POSIX extensions that will not work (reliably) in Windows and need to be replaced by something else (which I can't test/debug since I'm not using Windows).
So I think we should offer a platform neutral option for this reason.
Other than that I don't have strongly held opinions (at the moment) about what form this option should take.


My vote also goes for directory operations. It's very common in games (e.g. list all files in the savegames folder).

--
Elias Pschernig <elias@xxxxxxxxxx>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/