Function leveltexture
#include <macawlevel.h>int leveltexture(const char *name);
Gives the picture for a texture name, to draw with yourself.
Parameters
nameconst char *- A built-in texture name, or a
.pxlpicture's path; NULL means"stone".
Returns int
The picture's number. A name it doesn't know gives the stone picture.
In Skies and textures, with levelskies, levelsky, leveltexturename.