Macaw OS C reference

Function leveldrawabove

#include <macawlevel.h>
void leveldrawabove(int level, double y);

Draws only the part of the level above a height. Use it in a levelviewfn, to leave out what's under the water.

Parameters

levelint
The level to draw.
ydouble
The height, in the level's units; only what's above it is drawn.

In Drawing, with leveldrawbsp, leveldraw, leveldrawgpu, leveldrawgpuabove.