[A5] Finding all files in a directory

Does Allegro5 have an file API which is able to find all files with a certain extension in a directory? I tried searching the manual, it pointed out that there is a PhysicFS add-on, but I don't seem to be able to find anything of the sort in there either.

Thomas Fjellstrom

Did you miss the "File System" page in the docs?

al_open_directory and friends are your friend.


Thanks ;D
I must've overlooked them... Sorry for my silly question (RTFM to myself :-X )

Thread #606311. Printed from Allegro.cc