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
kwolekr
1a8f453958
Add initial Decoration support, many misc. improvements & modifications
2013-06-17 03:21:36 -04:00
sapier
2dceda8890
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
87b03bbb00
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
767f979585
Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to Mapgen V7
2013-04-21 01:06:19 -04:00
kwolekr
e527cd84e6
Fix double free, null texture drop
2013-04-12 17:20:05 -04:00
sapier
70baa66262
fix emergemanager memory leaks
2013-04-09 02:34:11 -04:00
kwolekr
a9216c42aa
Fix crash on creating map with invalid mg_name
2013-04-07 01:50:20 -04:00
kwolekr
6d9ff57f15
Add Mapgen V7, reorganize biomes
2013-04-07 00:50:21 -04:00
Perttu Ahola
1fe999e3c1
Add singlenode mapgen; generates solely the node 'mapgen_singlenode', defaults to air
2013-03-22 19:16:51 +02:00
proller
8fce2af76b
initial mapgen indev version with farscale feature and huge caves
2013-03-16 21:48:32 -04:00
Ilya Zhuravlev
a12df55f29
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
kwolekr
2de944c208
Fix most warnings, re-fix MSVC compile error
2013-02-26 01:57:59 -05:00
kwolekr
6291bf3953
Remove dead code, relocate some code
2013-02-25 23:11:12 -05:00
kwolekr
cb816057a7
Fix selection of # threads, set default to 1 thread
2013-02-25 23:11:00 -05:00
kwolekr
1d61a13bb4
Tune queue limits, some other adjustments
2013-02-25 23:08:41 -05:00
kwolekr
7bd58eed32
Misc. cleanup and minor fixes
2013-02-25 23:08:33 -05:00
kwolekr
775c1f4836
Add multi-Emerge thread support
2013-02-25 23:08:26 -05:00
kwolekr
945c7e9cf1
Add emerge queue limit configuration
2013-02-25 22:59:17 -05:00
kwolekr
01a0b6647f
Fix EmergeThread hang on exit
2013-02-25 22:58:24 -05:00
kwolekr
4c634210d1
Add global and per-peer queue limits
2013-02-25 22:58:11 -05:00
kwolekr
e2466d6b69
Add emerge.cpp, initial EmergeThread changes
...
- Neatly placed all emerge related code into a new file, emerge.cpp
- Greatly cleaned up the code in EmergeThread::Thread()
- Reworked Emerge queue. Now an actual std::queue of v3s16 block positions
- Removed the completely unnecessary map of peer ids requesting blocks
2013-02-25 22:56:18 -05:00