345 Commits

Author SHA1 Message Date
kwolekr
02e06b423e Shorten ManualMapVoxelManipulator to MMVManip 2015-01-05 02:42:27 -05:00
Craig Robbins
0865261409 Fix -Wtype-limits warnings and remove disabling of -Wtype-limits 2014-12-29 23:56:40 +10:00
kwolekr
2e5d9bb332 LuaVoxelManip: Remove blank allocator 2014-12-29 01:31:37 -05:00
kwolekr
20b9e50aa9 LuaVoxelManip: Add option to allocate blank data 2014-12-27 23:09:36 -05:00
Craig Robbins
73b383fd5b Make limiting of the reflow liquids queue size optional
If liquid_queue_purge_time == 0 then disable the queue size limiting and make this the default setting
Additionally, liquid_loop_max now defaults to 100000
2014-12-23 15:47:06 +10:00
Craig Robbins
9dbf375a14 Do not allow the m_transforming_liquid queue to increase until all RAM is consumed 2014-12-18 03:32:19 +10:00
Anton
420b5ec08c Use std::string::empty() instead of size() where applicable 2014-12-12 15:16:24 -05:00
Craig Robbins
aacc3cba46 Remove most exceptions from getNode() (and variants) 2014-11-14 18:05:34 +10:00
kwolekr
08068ac0c6 Split up mapgen.cpp 2014-11-01 13:16:23 -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
kwolekr
9adbca89cd Update Mapgen VoxelManipulator on buffer invalidation 2014-09-01 15:12:22 -04:00
kwolekr
9577518943 Save previously generated blocks on Mapgen blitback 2014-09-01 14:58:05 -04:00
sfan5
ba889166fd Move MapBlock (de)serializing code out of Database class 2014-07-12 17:38:17 +02:00
kwolekr
85ddd43a73 Don't copy back already generated blocks on map generation 2014-07-07 01:51:04 -04:00
kwolekr
77656b0723 Don't unload blocks if save failed
Improve error handling in saveBlock()
2014-07-07 01:20:25 -04:00
sapier
b567c942f7 Remove MapVoxelManipulator not really used by anyone 2014-06-23 00:13:41 +02:00
sapier
552946e12a Remove emerge and speedup addArea by using memcopy instead of one by one assignment 2014-06-23 00:13:41 +02:00
sapier
1972e24098 Minor stability improvements in block emerge handling 2014-06-15 18:18:57 +02:00
proller
3c54ac4a38 Fix warnings 2014-04-19 02:24:45 +04:00
proller
495ed5ec8b Remove liquid_finite and weather 2014-04-18 21:56:48 +04:00
Sfan5
aac43ef809 Add redis database backend 2014-04-16 22:05:06 +02:00
Sfan5
3f90a81374 Fix all warnings reported by clang 2014-04-15 21:34:53 +02:00
kwolekr
4bc975d80f ServerEnvironment: Remove direct dependency on EmergeManager 2014-02-09 16:36:30 -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
ShadowNinja
d39323353e Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings"
The commit didn't work because the blocks weren't loaded yet.

This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b.

Conflicts:
	minetest.conf.example
2014-01-06 21:25:10 -05:00
sweetbomber
a85c68049a Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings 2013-12-05 16:09:02 -05:00
sapier
396602432c Cleanup jthread and fix win32 build 2013-12-01 16:25:46 +01:00
Novatux
92d806ab21 Add minetest.swap_node 2013-11-30 18:37:56 +01:00
MetaDucky
7086a6c35b Fixed potential NULL pointer and leak when setting node metadata 2013-11-29 23:35:16 -05: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
56b59eda5c Weather: Fix uninitialized weather_update_time (sorry proller) 2013-11-09 15:29:22 -05:00
kwolekr
d970581efd Accept hexadecimal and string values for seeds 2013-11-04 23:59:26 -05:00
PilzAdam
fd0b6ac837 Fix liquid_range
* Prevent graphical glitches on old servers
* Fix flowing of liquids with viscosity != 1 and range != 8
* Fix range = 0, no flowing nodes will appear
2013-11-02 15:47:44 +01:00
proller
d737e2924a Fix null dereference in weather update functions 2013-09-18 01:37:47 +04:00
kwolekr
4a3d0d8569 Fix some warnings and other minor details 2013-09-16 23:52:42 -04:00
kwolekr
d8e65be2d3 Weather: Clean up getHeat/getHumidity somewhat 2013-09-16 23:33:53 -04:00
Kahrl
c3771a8605 Fix loading leveldb worlds 2013-09-10 18:16:36 +02:00
Sfan5
e3010b9862 Use STL containers instead of irr::core::list 2013-09-09 22:50:51 +02:00
Sfan5
4901d1e853 Make it compile 2013-09-09 22:50:50 +02:00
Ilya Zhuravlev
30af8e75d7 Add dummy and LevelDB database backends 2013-09-09 22:50:50 +02:00
proller
6aef3156ec Normalized heat and adjusted humidity 2013-08-30 00:42:53 +04:00
Kahrl
ee90d438b8 Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
PilzAdam
282c40cdeb Dont write directly to files but rather write and copy a tmp file 2013-08-13 22:05:45 +02:00
kwolekr
6aa6aaf3f3 Decoration: Fix schematic probability mess with new MTS file version 2013-08-11 15:34:49 -04:00
proller
f821824943 Weather backward compatibility 2013-08-02 00:51:36 +04:00
proller
5715cd7497 Warnings fix 2013-07-29 00:11:33 +04:00
proller
d2cbeba8b6 Better snow fall, finite liquid transform, leveled nodes api 2013-07-28 17:14:31 +04:00
proller
cdb2b82262 Weather support 2013-07-27 23:21:48 +04:00
PilzAdam
6f29410895 Add liquid_range to nodedef 2013-07-20 20:41:17 +02:00
PilzAdam
88924c31c4 Fix lighting bug caused by disappearing lava 2013-07-16 01:51:04 +02:00