Macaw OS C reference

Function waterreflections

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

Turns a water's reflection on or off, or asks whether it's on. With it off, the water is a plain sheet, which is quicker on a slow computer.

Parameters

levelint
The level the water's in.
iint
Which water, from 0.
onint
1 to turn reflections on, 0 to turn them off, or -1 just to ask.

Returns int

1 if reflections are on now, or 0 if they're off.

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