Macaw OS C reference

Function levelsetsky

#include <macawlevel.h>
void levelsetsky(int level, const int *pictures);

Puts a sky round a level, from six square pictures, or takes it away. Faces with the "sky" texture show it. buildlevel already puts on the sky the level's "sky" setting names.

Parameters

levelint
The level.
picturesconst int *
An array of six picture numbers (px nx py ny pz nz), like levelsky gives, or NULL for no sky.

In Baking light and the built level, with levelbake, levelbakestep, levellightdata, levelsetlight, levelunbake, levelfacecount, levelface, levelstat.