Function levelpath
#include <macawlevel.h>int levelpath(int level, char *buf, int size);
Gives the file a level was opened or loaded from.
Parameters
levelint- The level to ask about.
bufchar *- Where the file name goes, a
chararray. sizeint- How many bytes
bufholds.
Returns int
The length of the file name, or 0 for a level from newlevel.
In Opening, saving and building, with openlevel, loadlevel, newlevel, savelevel, buildlevel, freelevel, levelerror, levelbuilt, levellit, levellitpath, levelprobepath.