293 Commits

Author SHA1 Message Date
kwolekr
c2530fa4ed Fix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug 2013-06-27 22:35:35 -04:00
PilzAdam
a3a6502658 Add a setting for max loop count per step in liquid update 2013-06-20 22:31:46 +00:00
Kahrl
7d2f899d23 Add and implement setting max_clearobjects_extra_loaded_blocks.
Now Environment::clearAllObjects() unloads unused blocks in an interval
defined by max_clearobjects_extra_loaded_blocks (default 4096).
2013-06-03 20:09:32 +02:00
proller
216d3d122f Liquid adjusting: continue to drop 2013-05-31 22:59:09 +04:00
kwolekr
76c6a6c017 Fix nearly all warnings 2013-05-19 21:26:56 -04:00
proller
31b2ab88ce Tune finite liquids, indev huge caves 2013-04-25 22:59:32 +04:00
sapier
70baa66262 fix emergemanager memory leaks 2013-04-09 02:34:11 -04:00
proller
31f89744d4 Adjusting water removing above unloaded blocks 2013-04-07 00:05:39 +04:00
kwolekr
bebcb5d45b Don't re-write entire map_meta.txt if a setting is missing 2013-04-06 13:36:51 -04:00
proller
72ef70b965 Don't flow finite liquid into an unloaded chunk 2013-04-06 12:09:59 -04:00
kwolekr
9dfc4a35e4 Fix Map::initBlockMake to actually use chunksize setting 2013-03-18 22:19:02 -04:00
Ilya Zhuravlev
4cfc200eaa Don't erase modified_blocks 2013-03-17 21:17:13 +04:00
proller
8fce2af76b initial mapgen indev version with farscale feature and huge caves 2013-03-16 21:48:32 -04:00
proller
1f70fbcdb5 Liquid fine tuning 2013-03-14 17:06:25 -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
c7f9903b98 Merge pull request #482 from proller/liquid
finite liquid
2013-02-25 20:52:24 -08:00
kwolekr
b296ddb978 Fix most walled-off caves 2013-02-25 23:08:55 -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
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
Sfan5
3fab3825aa Update Copyright Years 2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b Change Minetest-c55 to Minetest 2013-02-24 18:49:03 +01:00
proller
22ec55cd9e new adjustable finite liquid 2013-02-24 18:39:07 +04:00
kwolekr
2b8f043a8a Add flag string settings, flat map option 2013-02-06 16:52:48 -05:00
kwolekr
ffd7d31f35 Improve random map seed generation 2013-02-06 01:10:37 -05:00
kwolekr
022d563f71 Make mapgen factory setup more elegant, add mapgen_v6.h 2013-01-23 16:16:49 -05:00
kwolekr
a4e4846ffa Use a string identifier for a mapgen instead of version 2013-01-21 21:41:37 +02:00
kwolekr
dae40683b0 Removed Mapgen V7 for now 2013-01-21 21:41:37 +02:00
kwolekr
3d9ebbcc63 Finish and clean up mapgen configuration 2013-01-21 21:41:37 +02:00
kwolekr
01326e3823 Clean up EmergeManager, do initial work on Mapgen configuration 2013-01-21 21:41:37 +02:00
kwolekr
af04401ae2 Readded and optimized mapgen V6 2013-01-21 21:41:37 +02:00
kwolekr
6df7f001e5 The new mapgen, noise functions, et al. 2013-01-21 21:41:33 +02:00
kwolekr
59292ccb75 Only clear block modified flag if writing to db was successful 2013-01-21 21:41:09 +02:00
Jürgen Doser
989e82bf59 fix integer overflow (fixes #414)
liquid_kind was declared as an u8, but used to hold a content_t value, which is delcared to be a u16.

changing this fixes (at least for me) the problem reported in bug #414.
2013-01-12 23:32:09 +04:00
Ilya Zhuravlev
0933c02893 Add liquid_renewable property. 2012-09-07 20:48:12 +04:00
Perttu Ahola
22f8ca992b Reorganize ClientMap rendering code for a bit more performance
- Don't select blocks for drawing in every frame
- Sort meshbuffers by material before drawing
2012-09-04 22:41:03 +03:00
Perttu Ahola
165a21a4a6 Tweak rollback and liquids 2012-07-27 15:46:51 +03:00
Perttu Ahola
a601ec84ab Tweak rollback stuff 2012-07-27 14:52:29 +03:00
Perttu Ahola
ce5dec2993 ABM and liquid overload skip 2012-07-27 13:45:49 +03:00
Perttu Ahola
dcfd402697 Make the rollback system VERY FUCKING GOD DAMN POWERFUL 2012-07-27 13:24:28 +03:00
Perttu Ahola
ec37061ad3 Don't track liquids for rollback because of too much log 2012-07-27 02:46:54 +03:00
Perttu Ahola
3303470fbc Experimental-ish rollback functionality 2012-07-27 02:27:18 +03:00
darkrose
e5bebe42e9 Implement node timers 2012-07-23 08:18:37 +03:00
Perttu Ahola
ec937ecdd8 Properly and efficiently use split utility headers 2012-06-17 02:40:36 +03:00
Perttu Ahola
e70b6545b1 Switch the license to be LGPLv2/later, with small parts still remaining as GPLv2/later, by agreement of major contributors 2012-06-05 18:54:07 +03:00
Perttu Ahola
d77fc9ac99 Add ignore_world_load_errors configuration option and provide better error messages 2012-06-04 22:34:40 +03:00
Perttu Ahola
be0c9426b8 NodeMetaRef:{to,from}_table and lua_api.txt additions 2012-06-03 22:31:01 +03:00
Kahrl
20492dbc41 WIP node metadata, node timers 2012-06-03 22:31:00 +03:00
Perttu Ahola
bb4eb5f069 Remove unnecessary debug output 2012-03-29 01:38:13 +03:00