Macaw OS C reference

Function levelsetprobes

#include <macawlevel.h>
void levelsetprobes(int level, const int *envs, int n);

Tells a built level which cube maps its shiny surfaces reflect. Each shiny face uses the nearest one in front of it, and prefers one in the same room.

Parameters

levelint
The level.
envsconst int *
An array of cube map numbers (from probeenv); 0s in it are skipped. NULL takes them all away.
nint
How many numbers are in envs, up to 64 (0 takes them all away).

In Reflection probes, with bakeprobes, levelprobelimit, probecount, probeat, newprobe, probepos, probebake, probebaked, probeenv, levelprobedata, applylevelprobes.