kwolekr
6fc2fd6162
Convert usages of PseudoRandom to PcgRandom for ore and deco placement
...
In addition to being a better random, this fixes #3228
2015-11-09 01:32:39 -05:00
paramat
51c1d419c5
Blob ore: Fix partial blobs
2015-09-19 02:27:00 +01:00
kwolekr
6831884d5c
Ore: Add puff ore type
2015-09-17 03:04:50 -04:00
kwolekr
f24947f903
Ore: Add ore sheet column height range selection
...
Modders are now able to select the range of ore column height,
and the midpoint at which they 'grow' starting from.
This commit adds three new parameters for the 'sheet' ore type:
column_height_min, column_height_max, and column_midpoint_factor.
clust_size is now deprecated for this ore type.
2015-09-13 00:11:50 -04:00
Gael-de-Sailly
002fbd3384
Ores: change ore chance in clusters to better respect clust_num_ores for dense clusters
2015-08-29 23:30:17 +01:00
ShadowNinja
5846e7d0c6
Fix sign-compare compiler warnings in mg_ore.cpp
2015-04-20 22:57:30 -04:00
kwolekr
6495b9b57b
Ore: Add biomes parameter
2015-04-20 20:25:33 -04:00
kwolekr
737d4078c9
Schematics: Refactor NodeResolver and add NodeResolveMethod
...
NodeResolver name lists now belong to the NodeResolver object instead of
the associated NodeDefManager. In addition to minimizing unnecessary
abstraction and overhead, this move permits NodeResolvers to look up nodes
that they had previously set pending for resolution. So far, this
functionality has been used in the case of schematics for
serialization/deserialization.
2015-04-16 16:27:05 -04:00
kwolekr
ae55a60e16
GenElementManager: Pass opaque handles to Lua and rename to ObjDefManager
...
Add core.clear_registered_schematics() and refactor schematics somewhat
2015-03-31 01:11:51 -04:00
kwolekr
16407b9f46
Add support for the PCG32 PRNG algo (and associated script APIs)
2015-03-22 00:48:08 -04:00
kwolekr
7f06800dc2
Initialize noise ptr on creation (fixes crash if OreVein deleted before use)
2015-01-15 16:23:04 -05:00
kwolekr
02e06b423e
Shorten ManualMapVoxelManipulator to MMVManip
2015-01-05 02:42:27 -05:00
kwolekr
5370bf9a50
Add minetest.generate_ores() and minetest.generate_decorations()
2015-01-04 22:38:48 -05:00
kwolekr
d49f1250f5
Replace instances of height_min/height_max with y_min/y_max to remove ambiguity
2014-12-30 01:48:20 -05:00
kwolekr
c4a39d536f
Ore: Add Vein ore type
2014-12-28 21:17:12 -05:00
kwolekr
c176763482
Ore: Add Blob ore type
2014-12-28 03:11:00 -05:00
kwolekr
2aa53ba603
Redefine NodeResolver interface and replace with callback mechanism
2014-12-27 02:12:21 -05:00
kwolekr
2906d0620b
Add minetest.clear_registered_decorations() and clear_registered_ores()
2014-12-12 14:08:04 -05:00
kwolekr
0f4d8ddf95
Remove get_noiseparams function. read_noiseparams should be used from now on
2014-12-10 00:56:44 -05:00
kwolekr
180c455ab1
Noise: Create a deep copy of NoiseParams
2014-12-10 00:37:09 -05:00
kwolekr
4f8d54e249
Rewrite generate notification mechanism
...
Add support for notify-on-decoration
Clean up mapgen constructors
Clean up mapgen.cpp code style somewhat
Remove trailing whitespace from some files
2014-12-06 13:53:35 -05:00
kwolekr
2d1dd941b7
Fix warnings and other misc. minor changes
2014-11-14 03:07:12 -05:00
kwolekr
bb5f0e46bd
Add Generator Element Management framework
...
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-12 23:02:41 -05:00
kwolekr
08068ac0c6
Split up mapgen.cpp
2014-11-01 13:16:23 -04:00