sashman / terrain_generator

5 stars 0 forks source link

Adding water levels to generated maps #19

Open sashman opened 11 years ago

sashman commented 11 years ago

Background

Currently the output maps are only dealing with GRASS types, even if the terrain is below sea level.

What needs to be done

The contour format module should look up the sea level and create correct additional tile types.

How to do it

Look at the algorithm in contour_format, all the grass tiles that get generated at <= water level, change the type enum to WATER.