Macaw OS C reference

Module Drawing

#include <macawlevel.h>

These draw a built level with camera3d's camera, unless they say otherwise.

Functions

leveldrawbsp
Draws only the parts of the level the camera can see, working them out through the level's BSP tree and portals (the way it's cut into pieces).
leveldraw
Draws all of the level.
leveldrawabove
Draws only the part of the level above a height.
leveldrawgpu
Draws all of the level with the graphics chip's camera, viewport and fog (from <macawgpu.h>) instead of camera3d's.
leveldrawgpuabove
Draws the part of the level above a height, with the graphics chip's camera.