Macaw OS C reference

Function levelbrushshine

#include <macawlevel.h>
void levelbrushshine(int level, int b, int face, double shine);

Makes a brush, or one face of it, shiny, so it reflects the nearest probe.

Parameters

levelint
The level.
bint
Which brush, from 0.
faceint
Which face, from 0, or -1 for the whole brush (which clears the faces' own shine).
shinedouble
How shiny, from 0 (not at all) to 1 (a mirror).

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