/ get and set terrain height
function terrain_get_z(ENTITY* ent,number)
// returns the height of the next vertex at the given position
function terrain_height(ENTITY* ent,VECTOR* position)
// return a terrain position above ground
VECTOR* terrain_pos(ENTITY* terrain,x,y,z)
// raise all terrain vertices by the given value
function terrain_raise(ENTITY* terrain, var raise_z)
// raise one terrain vertex by the given value
function terrain_raisevertex(ENTITY* terrain,var x,var y,var raise_z)
function terrain_fence(ENTITY* terrain, var height)
// place an entity at a random position between two height values on terrain
// uses: terrain_buffer
function ent_terrain_place(ENTITY* ent,ENTITY* terrain,minheight,maxheight)
// create entities on terrain, guided from on color spots in a mask
var ent_seed(char* name,ENTITY* terrain,BMAP* mask,COLOR* color,var dist,var mode,EVENT act)
var ent_seed(char* name,ENTITY* terrain,BMAP* mask,COLOR* color,var dist,EVENT act)