Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NoiseParams nparams_v6_def_terrain_base =
- {-AVERAGE_MUD_AMOUNT, 20.0, v3f(250.0, 250.0, 250.0), 82341, 5, 0.6};
- NoiseParams nparams_v6_def_terrain_higher =
- {20.0, 16.0, v3f(500.0, 500.0, 500.0), 85309, 5, 0.6};
- NoiseParams nparams_v6_def_steepness =
- {0.85, 0.5, v3f(125.0, 125.0, 125.0), -932, 5, 0.7};
- NoiseParams nparams_v6_def_height_select =
- {0.5, 1.0, v3f(250.0, 250.0, 250.0), 4213, 5, 0.69};
- NoiseParams nparams_v6_def_trees =
- {0.0, 1.0, v3f(125.0, 125.0, 125.0), 2, 4, 0.66};
- NoiseParams nparams_v6_def_mud =
- {AVERAGE_MUD_AMOUNT, 2.0, v3f(200.0, 200.0, 200.0), 91013, 3, 0.55};
- NoiseParams nparams_v6_def_beach =
- {0.0, 1.0, v3f(250.0, 250.0, 250.0), 59420, 3, 0.50};
- NoiseParams nparams_v6_def_biome =
- {0.0, 1.0, v3f(250.0, 250.0, 250.0), 9130, 3, 0.50};
- NoiseParams nparams_v6_def_cave =
- {6.0, 6.0, v3f(250.0, 250.0, 250.0), 34329, 3, 0.50};
- /*
- #define MG_TREES 0x01
- #define MG_CAVES 0x02
- #define MG_DUNGEONS 0x04
- #define MGV6_FORESTS 0x08
- #define MGV6_BIOME_BLEND 0x10
- struct MapgenV6Params {
- int seed;
- int water_level;
- int chunksize;
- u32 flags;
- float biomefreq;
- NoiseParams *np_terrain_base;
- NoiseParams *np_terrain_higher;
- NoiseParams *np_steepness;
- NoiseParams *np_height_select;
- NoiseParams *np_trees;
- NoiseParams *np_mud;
- NoiseParams *np_beach;
- NoiseParams *np_biome;
- NoiseParams *np_cave;
- };
- */
- MapgenV6NoiseParams mgv6_def_nparams = {
- 0,
- 1,
- 5,
- MG_TREES | MG_CAVES | MGV6_BIOME_BLEND,
- 0.40,
- &nparams_v6_def_terrain_base,
- &nparams_v6_def_terrain_higher,
- &nparams_v6_def_steepness,
- &nparams_v6_def_height_select,
- &nparams_v6_def_trees,
- &nparams_v6_def_mud,
- &nparams_v6_def_beach,
- &nparams_v6_def_biome,
- &nparams_v6_def_cave
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement