6800 lines of C, zero malloc, Perlin noise replaced by bilinear interpolation, biomes as a tile map -- here's the actual source code.