Module What's in a level
#include <macawlevel.h>These read the level's table, so they work before it's built too.
Functions
- levelstart
- Gives where the player starts: the player start's feet, and which way it faces.
- levellightcount
- Tells you how many lamps and area lights a level has.
- levellight
- Gives one of a level's lamps or area lights, with the defaults filled in for what the level doesn't say.
- levelwatercount
- Tells you how many water brushes a level's table has.
- levelwater
- Gives where one of the table's water surfaces is: the top of a water brush (a shaped one gives the box round it).
- levelprobecount
- Tells you how many probe entities a level's table has.
- levelprobe
- Gives where one of the table's probes is.