Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: justforfun Download
 Description: srand[getpid[]] /* initialize some of the memory*/ memset[heightmap, 0, MAPSIZE*MAPSIZE] memset[vpage, 0, RENDERWIDTH* RENDERHEIGHT] printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE] heightmap[0] = [rand[] 128]+ 64 // initialize starting point on map CreateFractalMap[0, 0, MAPSIZE, MAPSIZE] printf["Smoothing terrain\n"] for [i = 0 i < 5 i++] SmoothMap[] MakeColorMap[]
 Downloaders recently: [More information of uploader riosg8889]
 To Search: terrain
  • [yacc] - srand[getpid[]] /* initialize some of t
File list (Check if you may need any files):
justforfun
..........\land.c
..........\Makefile
    

CodeBus www.codebus.net