Function buildlevel
#include <macawlevel.h>int buildlevel(int level);
Builds a level's table into a level that draws and collides. Call it after loadlevel or newlevel, and again whenever you've changed the brushes. It makes the level's water and probes afresh from its table, and the new build has no baked light yet.
Parameters
levelint- The level to build.
Returns int
1 if it was built, or 0 if it couldn't be (levelerror says why).
In Opening, saving and building, with openlevel, loadlevel, newlevel, savelevel, freelevel, levelerror, levelbuilt, levellit, levelpath, levellitpath, levelprobepath.