Re: [AD] for_each_file not working

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


> r = for_each_file("data/*.lvl", 0, load_level, 0);

This line means: for each file in the data directory whose extension is
'lvl' and for which no file attribute is set, call 'load_level' with 0 as
data (see the docs, section file and compression routines).

Either remove all file attributes from your *.lvl files or extend the set of
searched attributes.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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