Guest User

Untitled

a guest
Dec 24th, 2012
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. NoiseParams nparams_v6_def_terrain_base =
  2.     {-AVERAGE_MUD_AMOUNT, 20.0, v3f(250.0, 250.0, 250.0), 82341, 5, 0.6};
  3. NoiseParams nparams_v6_def_terrain_higher =
  4.     {20.0, 16.0, v3f(500.0, 500.0, 500.0), 85309, 5, 0.6};
  5. NoiseParams nparams_v6_def_steepness =
  6.     {0.85, 0.5, v3f(125.0, 125.0, 125.0), -932, 5, 0.7};
  7. NoiseParams nparams_v6_def_height_select =
  8.     {0.5, 1.0, v3f(250.0, 250.0, 250.0), 4213, 5, 0.69};
  9. NoiseParams nparams_v6_def_trees =
  10.     {0.0, 1.0, v3f(125.0, 125.0, 125.0), 2, 4, 0.66};
  11. NoiseParams nparams_v6_def_mud =
  12.     {AVERAGE_MUD_AMOUNT, 2.0, v3f(200.0, 200.0, 200.0), 91013, 3, 0.55};
  13. NoiseParams nparams_v6_def_beach =
  14.     {0.0, 1.0, v3f(250.0, 250.0, 250.0), 59420, 3, 0.50};
  15. NoiseParams nparams_v6_def_biome =
  16.     {0.0, 1.0, v3f(250.0, 250.0, 250.0), 9130, 3, 0.50};
  17. NoiseParams nparams_v6_def_cave =
  18.     {6.0, 6.0, v3f(250.0, 250.0, 250.0), 34329, 3, 0.50};
  19.  
  20. /*
  21. #define MG_TREES         0x01
  22. #define MG_CAVES         0x02
  23. #define MG_DUNGEONS      0x04
  24. #define MGV6_FORESTS     0x08
  25. #define MGV6_BIOME_BLEND 0x10
  26.  
  27. struct MapgenV6Params {
  28.     int seed;
  29.     int water_level;
  30.     int chunksize;
  31.     u32 flags;
  32.     float biomefreq;
  33.     NoiseParams *np_terrain_base;
  34.     NoiseParams *np_terrain_higher;
  35.     NoiseParams *np_steepness;
  36.     NoiseParams *np_height_select;
  37.     NoiseParams *np_trees;
  38.     NoiseParams *np_mud;
  39.     NoiseParams *np_beach;
  40.     NoiseParams *np_biome;
  41.     NoiseParams *np_cave;
  42. };
  43. */
  44.  
  45.  
  46. MapgenV6NoiseParams mgv6_def_nparams = {
  47.     0,
  48.     1,
  49.     5,
  50.     MG_TREES | MG_CAVES | MGV6_BIOME_BLEND,
  51.     0.40,
  52.     &nparams_v6_def_terrain_base,
  53.     &nparams_v6_def_terrain_higher,
  54.     &nparams_v6_def_steepness,
  55.     &nparams_v6_def_height_select,
  56.     &nparams_v6_def_trees,
  57.     &nparams_v6_def_mud,
  58.     &nparams_v6_def_beach,
  59.     &nparams_v6_def_biome,
  60.     &nparams_v6_def_cave
  61. };
RAW Paste Data