Function leveltexturename
#include <macawlevel.h>int leveltexturename(int i, char *buf, int size);
Gives the name of one of the built-in textures, so you can list them.
Parameters
iint- Which texture, from 0.
bufchar *- Where the name goes, a
chararray. sizeint- How many bytes
bufholds.
Returns int
The length of the name, or 0 once there are no more.
In Skies and textures, with levelskies, levelsky, leveltexture.