Function levellitpath
#include <macawlevel.h>int levellitpath(const char *path, char *buf, int size);
Gives the file a level's baked light is kept in: the same name with .lit in place of .lvl.
Parameters
pathconst char *- The level's file name.
bufchar *- Where the
.litfile's name goes, achararray. sizeint- How many bytes
bufholds.
Returns int
The length of the .lit file's name.
In Opening, saving and building, with openlevel, loadlevel, newlevel, savelevel, buildlevel, freelevel, levelerror, levelbuilt, levellit, levelpath, levelprobepath.