aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
AgeCommit message (Collapse)Author
2011-10-17Add some rendering statistics to profilerPerttu Ahola
2011-10-17Fix chest not working after walked away and came backPerttu Ahola
2011-10-16Fix map delete on windows (concatenate paths correctly with / or \ depending ↵Perttu Ahola
on OS)
2011-10-16Use the logger; also, default to not showing much crap in console. Use ↵Perttu Ahola
--info-on-stderr to enable crap.
2011-10-12Header file tweaking; mainly for speedPerttu Ahola
2011-09-26Merge remote-tracking branch 'marktraceur/master'Perttu Ahola
2011-09-26Merge branch 'view_bobbing_and_vielded_tool'Perttu Ahola
2011-09-23Adding (most) of the sapling functionality. It has yet to work, since ↵Mark Holmquist
MEET_OTHER was not implemented at the time of this commit. Hopefully it will work when merged with celeron's latest.
2011-09-23remove content_* things from map.cppdarkrose
2011-09-22added locking chests - clean patchdarkrose
2011-09-08trying something else... also replaced M_PI by PI everywhereKahrl
2011-09-08Collected and moved existing camera infrastructure from game.cpp to ↵Kahrl
camera.cpp and camera.h. Introduced configuration settings 'fov' which chooses the camera's (vertical) field of view and 'view_bobbing' which currently does nothing. Other code refactored to not expect the FOV to be a build time constant.
2011-09-07Removed unused camera_position and camera_direction fields from Client. ↵Kahrl
Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.
2011-09-06Remove block file from disk when saved to databasePerttu Ahola
2011-09-06Speed up periodical map unloading by moving beginSave() and endSave() to ↵Perttu Ahola
outer loop in Map::timerUpdate()
2011-09-06Merge remote-tracking branch 'queatz/sqlite-map'Perttu Ahola
2011-09-06allow specifying a fixed seed in the config file for generating the map ↵Kahrl
(fixed_map_seed)
2011-09-04These numbers were well exceeding 2^32...JacobF
2011-09-02Initial sqlite3 maps.JacobF
* The map will reside in world/map.sqlite * It will load from the sectors folder but will not save there
2011-08-22Hopefully fix 'dangling water'Giuseppe Bilotta
If a block has (at least visible) liquids, the block below should also be flowed in.
2011-08-22Flowing lava updates lightingPerttu Ahola
2011-08-16Optimize for viscosity 1Giuseppe Bilotta
2011-08-16Viscous fluidsGiuseppe Bilotta
2011-08-16Make sure all neighbors of changed fluids are activatedGiuseppe Bilotta
This should fix the remaining cases of fluid not advancing or not retreating.
2011-08-16Let the liquids flow in the openGiuseppe Bilotta
No need to curb their spread artificially.
2011-08-16Ensure air neighbors to liquids that can flow are enqueued for transformationGiuseppe Bilotta
2011-08-16Ensure param2 is set correctly in transformLiquidsGiuseppe Bilotta
2011-08-16Use defines for liquid levelsGiuseppe Bilotta
2011-08-16transformLiquid: small optimization and whitespace cleanupGiuseppe Bilotta
2011-08-15small fix to transformLiquidsPerttu Ahola
2011-08-05Some obvious errors in the new fluid flow managementGiuseppe Bilotta
2011-08-03* fix for broken waterPerttu Ahola
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.