aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
AgeCommit message (Collapse)Author
2011-07-30Merge remote-tracking branch 'origin/upstream'Nils Dagsson Moskopp
2011-07-24and now fixed a bug in removing that debug outputPerttu Ahola
2011-07-24removed a remaining debug printPerttu Ahola
2011-07-24Added a mapblock analyzing function for debugging use and fixed remaining ↵Perttu Ahola
mapgen bugs
2011-07-24merged fix to decapitated trees; other bugs now existsPerttu Ahola
2011-07-23merged the content type extension and deltaPerttu Ahola
2011-07-23extended content-type rangePerttu Ahola
2011-07-23switched to old transformLiquids, new one is not readyPerttu Ahola
2011-07-23merged some stuff from upstream while merging deltaPerttu Ahola
2011-07-22Merge branch 'upstream/master'Nils Dagsson Moskopp
2011-07-22Fixed new map generator causing a crash when generating at map limitPerttu Ahola
2011-07-21Attempt to fix the big bug. Now server either stops sending map or mapgen ↵Perttu Ahola
starts generating CONTENT_IGNORE.
2011-07-20Merge branch 'upstream/master'Nils Dagsson Moskopp
2011-07-19* initialize liquid_kind properly so compiler does not bitch about itNils Dagsson Moskopp
2011-07-18final fixes to liquid flow, works now as intendedFelix Krause
2011-07-18fixes to liquid transformationFelix Krause
2011-07-18fixed refactoring issues // slowed down water flow a bitFelix Krause
* liquid flow no longer does random things when transformed * if a flowi ng liquid node doesn't have a solid block as neighbor, its spread distan ce is shortened by 1
2011-07-18* refactored liquid transformation code (has some flaws)Felix Krause
Completely rewrote the liquid transformation. The algorithm now exclusively modifies the current node in one iteration. Another change is that MapNode.param2 now stores a bit that tells other nodes if a flowing liquid node flows downwards. This is accomplished by two masks on param2 for the "flow down" bit and the "liquid level" bits. This will be the base of future improvements to the liquid flow. However, in the current state flowing liquid does not always disappear when cut off its source. Be aware that this branch is work in progress.
2011-07-17A small fix to an unlikely situation where the map generator requires a ↵Perttu Ahola
block that hasn't been loaded from disk. Now it is actually loaded from disk in that case.
2011-07-14Merge branch 'upstream/master'Nils Dagsson Moskopp
Conflicts: data/oerkki1.png src/client.cpp
2011-07-14* possibly improved water flow, by flyx86Nils Dagsson Moskopp
- When flowing liquid starts to flow down, it stops contributing to its neighboring nodes' liquid level (possibly transforming it back to air) - Flowing liquid turns into a source if there are at least 2 adjacent liquid source nodes - If a new liquid flow reaches existing flowing liquid, the existing liquid is now updated properly.
2011-07-01Fixed objects being sometimes not able to be stored statically in a block ↵Perttu Ahola
when block has been unloaded
2011-06-27tried to fix block selection in map rendering a bitPerttu Ahola
2011-06-27map unloading is now a whole lot betterPerttu Ahola
2011-06-26fixed block unloading from memory (a better fix coming next)Perttu Ahola
2011-06-26reorganized stuffPerttu Ahola
2011-06-26reorganized a lot of stuff and modified mapgen and objects slightly while ↵Perttu Ahola
doing it
2011-06-26even more code refactoringPerttu Ahola
2011-06-26more reorganizing of map codePerttu Ahola
2011-06-26cleaned map stuffPerttu Ahola
2011-06-25moved mapgen stuff around abitPerttu Ahola
2011-06-25moved map generator to separate source filesPerttu Ahola
2011-06-25mapgen stuffPerttu Ahola
2011-06-25New map generator added (and SQLite, messed up the commits at that time...) ↵Perttu Ahola
(import from temporary git repo)
2011-06-18Changed MapBlockObjects to be never written anymore. Incremented version number.Perttu Ahola
2011-06-18farmesh is now usable.Perttu Ahola
2011-06-17modified iron amount a bitPerttu Ahola
2011-06-17Moved stuff from mapblock{h,cpp} to mapblock_mesh.{h,cpp} and ↵Perttu Ahola
content_mapblock.{h,cpp}
2011-06-17Moved some mapnode content stuff from mapnode.{h,cpp} and digging property ↵Perttu Ahola
stuff from material.cpp to content_mapnode.{h,cpp}
2011-06-16Probably fixed the single-MapBlock generator using 1 block lower water ↵Perttu Ahola
height than it should
2011-06-05tried to reduce unnecessary map saving disk i/o a bitPerttu Ahola
2011-06-05Messed around with genmap.py. Now supports format version 17.Perttu Ahola
2011-05-31Reduced the CPU usage of the sent block selector algorithmPerttu Ahola
2011-05-24Added a check that avoids server crash (unhandled exception) when map ↵Perttu Ahola
generation is attempted near limit
2011-05-22mud placed in sunlight no longer instantly turns to grass; also tuned ↵Perttu Ahola
transforming speed a bit (will be made a lot longer when testing is complete)
2011-05-22Preliminary "active block" stuff + set up test code to grow grass.Perttu Ahola
2011-05-18New map directory structure that avoids map size being limited by filesystemCiaran Gultnieks
2011-05-16Get rid of all the string format warnings caused by the DSTACK macroCiaran Gultnieks
2011-05-03Hopefully fixed the bug of huge mineral deposits rarely in seafloor sandPerttu Ahola
2011-04-30random comment updatesPerttu Ahola