424 Commits

Author SHA1 Message Date
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
Perttu Ahola
5994593a0c Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed 2012-03-29 00:28:48 +03:00
Perttu Ahola
9a562b5ca5 Re-implement and re-tune mapgen v2 2012-03-27 19:05:59 +03:00
Perttu Ahola
9d59b2ddf7 Remove usage of mapgen::add_random_objects(block) 2012-03-27 19:01:52 +03:00
Perttu Ahola
58e03a30f4 Remove some debug output 2012-03-27 19:01:52 +03:00
Perttu Ahola
eb016208ee Do post-mapgen lighting using the VoxelManipulator-based functions (causes glitches currently) 2012-03-27 19:01:51 +03:00
Perttu Ahola
17266c7fd2 voxalgo::clearLightAndCollectSources 2012-03-27 19:01:51 +03:00
Perttu Ahola
0f02346e93 Post-mapgen lighting optimization 2012-03-27 18:52:36 +03:00
Perttu Ahola
48e063c6f5 Make mapgen generate stuff in chunks of 3^3 mapblocks 2012-03-27 18:52:36 +03:00
Perttu Ahola
58bed83d03 Move ClientMap to clientmap.{h,cpp} 2012-03-16 00:25:18 +02:00
Kahrl
807a0d313b MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric light, removed footprints 2012-03-15 21:45:44 +02:00
Perttu Ahola
f1d9880006 Clean up log messages everywhere 2012-03-11 04:15:45 +02:00
Kahrl
02b334a679 Create node metadata when placing nodes again 2012-01-22 17:31:20 +02:00
Kahrl
157a4cf18c Node placement / mineral / serialization / iron freq / node_dig callback
- Node placement code moved to Lua
- Mineral system removed (added default:stone_with_coal and default:stone_with_iron).
- MapBlock and MapNode serialization updated.
- Mapgen: Frequency of iron increased.
- node_dig callback and related changes.
2012-01-22 17:24:50 +02:00
Perttu Ahola
cd030639a4 Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE 2011-11-29 21:05:36 +02:00
Perttu Ahola
be2ecf9186 Quick fix to a bug that makes it possible to raise water levels everywhere with one source 2011-11-29 19:13:59 +02:00
Perttu Ahola
705f142b8d GenericNodeMetadata and an example furnace 2011-11-29 19:13:57 +02:00
Perttu Ahola
842eb5da28 Replace old active block random node modifying things with actual ActiveBlockModifiers 2011-11-29 19:13:56 +02:00
Perttu Ahola
ec4f58741b Fix a random commented-out piece of lighting code, altough it doesn't work any better 2011-11-29 19:13:55 +02:00
Perttu Ahola
b2ccbdffc1 Make map generator as much threaded as possible (not much benefit with current generator because of small generator chunk size (a single MapBlock)) 2011-11-29 19:13:54 +02:00