Břetislav Štec
ecbbc8a1a2
Prepend "Lua: " before lua exceptions
...
src/server.cpp
src/emerge.cpp
2015-08-02 02:17:37 -04:00
sfan5
023fd295d5
Revert the upper-case PROJECT_NAME nonsense that was part of #2402
2015-04-27 16:24:49 +02:00
Craig Robbins
0731f9ed2a
Move globals from main.cpp to more sane locations
...
Move debug streams to log.cpp|h
Move GUI-related globals to clientlauncher
Move g_settings and g_settings_path to settings.cpp|h
Move g_menuclouds to clouds.cpp|h
Move g_profiler to profiler.cpp|h
2015-04-01 23:04:25 +10:00
ShadowNinja
2de60ae349
Clean up and tweak build system
...
* Combine client and server man pages.
* Update unit test options and available databases in man page.
* Add `--worldname` to man page.
* Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
* Disable server build by default on all operating systems.
* Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
* Enable LevelDB, Redis, and FreeType detection by default.
* Remove the `VERSION_PATCH_ORIG` hack.
* Add option to search for and use system JSONCPP.
* Remove broken LuaJIT version detection.
* Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
* Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
* Clean up style of CMake files.
2015-03-27 15:00:48 -04:00
ngosang
55e479a807
Respect game mapgen flags and save world noise params
2015-03-07 15:53:39 -05:00
fz72
714e41c831
Fix map_seed not changed when creating a new world after login to another
2015-02-18 08:57:14 +01:00
kwolekr
a4b0f2d481
Randomly generate seed if field blank for any Settings instance
2015-02-01 02:05:39 -05:00
kwolekr
2b098f9dd8
Write common mapgen params to map_meta.txt on world initialization
2015-01-27 22:29:28 -05:00
sapier
fbca8ce3fd
Fix emerge thread not cleaning up emerge queue on shutdown
2015-01-07 12:19:48 +01:00
kwolekr
b9066cd7f3
Fix some lingering code style issues
2014-12-29 22:04:47 -05:00
kwolekr
8d748e5bf5
Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)
2014-12-29 21:44:52 -05:00
kwolekr
6a136cf876
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
eb208e6b75
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
66c691836a
Biomes: Make biome heat and humidity noise parameters user-configurable
2014-12-09 00:38:04 -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
bb5f0e46bd
Add Generator Element Management framework
...
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-12 23:02:41 -05:00
paramat
28ed3ea7c4
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
2014-11-08 21:37:26 +01:00
Kahrl
7b6cfc3cad
Include mg_decoration.h, mg_ore.h from emerge.cpp to fix warnings
2014-11-02 17:52:30 +01:00
kwolekr
08068ac0c6
Split up mapgen.cpp
2014-11-01 13:16:23 -04:00
kwolekr
4f31a0ef47
Add NodeResolver and clean up node name -> content ID resolution system
2014-10-26 23:55:45 -04:00
ShadowNinja
dbf9e444b1
Split settings into seperate source and header files
...
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
proller
b2306abb3d
Remove indev mapgen
2014-07-12 18:21:54 +04:00
proller
447cc35283
Remove math mapgen
2014-07-12 18:15:55 +04:00
PilzAdam
af16b6c591
Fix memory leak in EmergeManager
2014-07-06 15:41:59 +02:00
Sfan5
3f90a81374
Fix all warnings reported by clang
2014-04-15 21:34:53 +02:00
sapier
607f617471
Add support for named threads (atm linux only)
2014-04-09 21:32:21 +02:00
kwolekr
d48f851863
Add minetest.set_noiseparam_defaults() Lua API
2014-02-15 19:13:14 -05:00
kwolekr
2a896ffbf7
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
141123006b
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
4f9ed8a858
Revert "Fix settings to honor numeric conversion errors"
...
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
2014-02-05 00:05:58 -05:00
sapier
ac630a8b14
Fix settings to honor numeric conversion errors
...
Rename try* non exceptioning functions to *NoEx
2014-02-04 22:14:13 -05:00
kwolekr
1c1155e0d5
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
d34715a8b7
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
8dfa2dbf57
Fix use of previously deallocated EmergeManager
2014-01-26 01:12:18 -05:00
sapier
6474caa15f
Replace SimpleThread by JThread now implementing same features
2013-12-15 13:39:42 +01:00
kwolekr
55e96c5375
Update mapgen params in ServerMap after Mapgen init
2013-12-14 10:49:20 -05:00
kwolekr
500e6c2718
Handle Lua errors in on_generate callbacks instead of throwing SIGABRT
2013-12-14 01:59:16 -05:00
kwolekr
85d7b64e2c
Add map feature generation notify Lua API
2013-12-14 01:52:24 -05:00
kwolekr
de76e0253e
EmergeManager: Fix Lua mapgen override param handling
2013-12-08 01:31:06 -05:00
sapier
396602432c
Cleanup jthread and fix win32 build
2013-12-01 16:25:46 +01:00
kwolekr
76f37cadb0
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
d970581efd
Accept hexadecimal and string values for seeds
2013-11-04 23:59:26 -05:00
kwolekr
d8e65be2d3
Weather: Clean up getHeat/getHumidity somewhat
2013-09-16 23:33:53 -04:00
Kahrl
ee90d438b8
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
2013-08-14 21:03:33 +02:00
proller
cdb2b82262
Weather support
2013-07-27 23:21:48 +04:00
kwolekr
5f60730da4
Apply various fixes to several things
2013-06-27 22:35:35 -04:00
kwolekr
5c8a16016c
Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API
2013-06-27 22:35:35 -04:00
kwolekr
f9c5ed3c7b
Add minetest.get_mapgen_object to API
2013-06-27 22:35:35 -04:00
proller
cc19db315c
New math mapgen with fractal based worlds
2013-06-23 18:07:10 +04:00
kwolekr
210f7364f3
Decoration, Ore: Resolve node names on Mapgen init
2013-06-17 18:51:29 -04:00