Function levelsky
#include <macawlevel.h>int levelsky(
const char *name,
int *pictures,
double *r,
double *g,
double *b
);
Gives a sky's six pictures, for levelsetsky, and its average colour.
Parameters
nameconst char *- The sky's name, like
"cloudy". picturesint *- An array of six
ints for its pictures' numbers (px nx py ny pz nz), or NULL. rdouble *- The address of a
doublefor the red in its colour, 0 to 1, or NULL. gdouble *- The address of a
doublefor the green, 0 to 1, or NULL. bdouble *- The address of a
doublefor the blue, 0 to 1, or NULL.
Returns int
1 if there's a sky of that name, or 0 if not.
In Skies and textures, with levelskies, leveltexture, leveltexturename.