Macaw OS C reference

Function levelbrushtexture

#include <macawlevel.h>
void levelbrushtexture(int level, int b, int face, const char *name);

Changes the texture on one face of a brush.

Parameters

levelint
The level.
bint
Which brush, from 0.
faceint
Which face, from 0: a box's side in the order above, or a shape's plane.
nameconst char *
The texture's name; NULL means "stone".

In Building from code: brushes, with levelbrushcount, leveladdbox, leveladdshape, levelremovebrush, levelbrushbox, levelbrushwater, levelbrushglow, levelbrushshine.