ngosang
f6e4c5d9cf
Respect game mapgen flags and save world noise params
2015-03-07 15:53:39 -05:00
fz72
0a299fd4e5
Fix map_seed not changed when creating a new world after login to another
2015-02-18 08:57:14 +01:00
kwolekr
48fa893abd
Randomly generate seed if field blank for any Settings instance
2015-02-01 02:05:39 -05:00
kwolekr
ad690c46b1
Write common mapgen params to map_meta.txt on world initialization
2015-01-27 22:29:28 -05:00
sapier
ef140eb7b0
Fix emerge thread not cleaning up emerge queue on shutdown
2015-01-07 12:19:48 +01:00
kwolekr
f12118c38b
Fix some lingering code style issues
2014-12-29 22:04:47 -05:00
kwolekr
0974337804
Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)
2014-12-29 21:44:52 -05:00
kwolekr
ca89e63b27
Add core.get_mapgen_names() to Main Menu API (and use it)
...
Also rewrite mapgen registration for static initialization
2014-12-29 21:23:51 -05:00
kwolekr
5e2753c712
Expose mapgen parameters on scripting init
...
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
2014-12-29 12:59:59 -05:00
kwolekr
29b413b376
Biomes: Make biome heat and humidity noise parameters user-configurable
2014-12-09 00:38:04 -05:00
kwolekr
5062b99cb0
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
7616537bc0
Add Generator Element Management framework
...
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-12 23:02:41 -05:00
paramat
92981b2fee
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
2014-11-08 21:37:26 +01:00
Kahrl
8040806f22
Include mg_decoration.h, mg_ore.h from emerge.cpp to fix warnings
2014-11-02 17:52:30 +01:00
kwolekr
9e811a92e7
Split up mapgen.cpp
2014-11-01 13:16:23 -04:00
kwolekr
d274cbfce6
Add NodeResolver and clean up node name -> content ID resolution system
2014-10-26 23:55:45 -04:00
ShadowNinja
6bc4cad0ed
Split settings into seperate source and header files
...
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
proller
2d90aca4ab
Remove indev mapgen
2014-07-12 18:21:54 +04:00
proller
7df83c2c67
Remove math mapgen
2014-07-12 18:15:55 +04:00
PilzAdam
6bd15247f9
Fix memory leak in EmergeManager
2014-07-06 15:41:59 +02:00
Sfan5
118e2ae865
Fix all warnings reported by clang
2014-04-15 21:34:53 +02:00
sapier
edcad09dee
Add support for named threads (atm linux only)
2014-04-09 21:32:21 +02:00
kwolekr
3570f3e396
Add minetest.set_noiseparam_defaults() Lua API
2014-02-15 19:13:14 -05:00
kwolekr
83bafbe08b
Make flag strings clear specified flag with 'no' prefix
...
Remove flagmask field from set_mapgen_params table
Add small bits of needed documentation
2014-02-08 17:50:59 -05:00
kwolekr
7f743178db
Remove blank default values for emergequeue_limit_* settings
...
Add checks for invalid user input for important settings
Rename Settings::tryGet* to Settings::get*NoEx for consistency
2014-02-05 00:17:53 -05:00
kwolekr
c6c5edd73a
Revert "Fix settings to honor numeric conversion errors"
...
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
2014-02-05 00:05:58 -05:00
sapier
3f376a092e
Fix settings to honor numeric conversion errors
...
Rename try* non exceptioning functions to *NoEx
2014-02-04 22:14:13 -05:00
kwolekr
5a34f40d80
Huge overhaul of the entire MapgenParams system
...
MapgenParams is no longer a polymorphic class, eliminating the need for messy and bug-prone reallocations.
Separation between the common and mapgen-specific parameters is now strongly defined.
Mapgen parameters objects are now properly encapsulated within the proper subsystems.
2014-02-03 22:50:14 -05:00
sapier
e258675eab
Add propper client initialization
...
-add client states to avoid server sending data to uninitialized clients
-don't show uninitialized clients to other players
-propper client disconnect handling
Minor comment fixes in server
Minor bugfixes in connection
-improved peer id calculation
-honor NDEBUG flag
-improved disconnect handling
-increased initial send window
Remove some dead code
2014-01-31 18:44:43 +01:00
kwolekr
9b978db0c2
Fix use of previously deallocated EmergeManager
2014-01-26 01:12:18 -05:00
sapier
e9e9fd7c3f
Replace SimpleThread by JThread now implementing same features
2013-12-15 13:39:42 +01:00
kwolekr
7a4c1e7327
Update mapgen params in ServerMap after Mapgen init
2013-12-14 10:49:20 -05:00
kwolekr
15c316765d
Handle Lua errors in on_generate callbacks instead of throwing SIGABRT
2013-12-14 01:59:16 -05:00
kwolekr
c3708b456e
Add map feature generation notify Lua API
2013-12-14 01:52:24 -05:00
kwolekr
83cc882335
EmergeManager: Fix Lua mapgen override param handling
2013-12-08 01:31:06 -05:00
sapier
04e9a9d541
Cleanup jthread and fix win32 build
2013-12-01 16:25:46 +01:00
kwolekr
e396fb2984
Actually fix weather
...
The real problem was that MapBlocks were not activated before getting sent to the client
2013-11-17 01:59:04 -05:00
kwolekr
e46c527733
Accept hexadecimal and string values for seeds
2013-11-04 23:59:26 -05:00
kwolekr
9bccd75e34
Weather: Clean up getHeat/getHumidity somewhat
2013-09-16 23:33:53 -04:00
Kahrl
4e1f50035e
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
2013-08-14 21:03:33 +02:00
proller
3aedfac968
Weather support
2013-07-27 23:21:48 +04:00
kwolekr
9e100bc42b
Apply various fixes to several things
2013-06-27 22:35:35 -04:00
kwolekr
2e292b67a0
Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API
2013-06-27 22:35:35 -04:00
kwolekr
8aa930f28e
Add minetest.get_mapgen_object to API
2013-06-27 22:35:35 -04:00
proller
75b8c13b00
New math mapgen with fractal based worlds
2013-06-23 18:07:10 +04:00
kwolekr
0b20768a24
Decoration, Ore: Resolve node names on Mapgen init
2013-06-17 18:51:29 -04:00
kwolekr
0a8519a26f
Add initial Decoration support, many misc. improvements & modifications
2013-06-17 03:21:36 -04:00
sapier
ab43377577
Move scriptapi to separate folder (by sapier)
...
On the lua side, notably minetest.env:<function>(<args>) should now
be replaced by minetest.<function>(<args>).
The old way is and will stay supported for a long time.
Also:
Update and clean up lua_api.txt (by celeron55)
Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-25 00:51:02 +02:00
Kahrl
cc92e45b78
Fix EmergeThread names in log
...
Concatenate the thread id as string instead of adding it to the pointer
2013-05-19 19:58:01 +02:00
kwolekr
03868ff8e1
Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to Mapgen V7
2013-04-21 01:06:19 -04:00