Macaw OS C reference

Function levelbrushglow

#include <macawlevel.h>
void levelbrushglow(
    int level,
    int b,
    int face,
    double strength,
    const char *colour
);

Makes a face of a brush glow. A glowing face lights the level when its light is baked.

Parameters

levelint
The level.
bint
Which brush, from 0.
faceint
Which face, from 0.
strengthdouble
How strongly it glows; 0 or less stops it glowing.
colourconst char *
Its colour as text, like "#ff8800"; NULL means white.

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