Macaw OS C reference

Function waterbaked

#include <macawlevel.h>
int waterbaked(int level, int i);

Tells you whether a water's reflection has been baked.

Parameters

levelint
The level the water's in.
iint
Which water, from 0.

Returns int

1 if it's baked, 0 if not yet, or -1 if it can't be (the graphics card has no cube maps).

In Water, with watercount, newwater, waterinfo, waterreflect, waterdraw, waterbake, waterreflections, watercamera.