aboutsummaryrefslogtreecommitdiff
path: root/src/voxel.cpp
AgeCommit message (Collapse)Author
2018-02-10Node definition manager refactor (#7016)Dániel Juhász
* Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
2018-02-04Remove unused light updating codeDániel Juhász
Also remove the unit test that tests the removed algorithms.
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
2017-07-26VoxelManip cleanups (const ref, const move) + function removal (#6169)Loïc Blot
* VoxelManip cleanups (const ref, const move) permitting to improve a little bit performance * VoxelArea: precalculate extent (performance enhancement) This permits to reduce extend high cost to zero and drop many v3s16 object creation/removal to calculate extent It rebalance the client thread update to updateFastFaceRow instead of MapBlockMesh generation This will also benefits to mapgen
2017-06-21Cpp11 initializers: last src root changeset (#6022)Loïc Blot
* Cpp11 initializers: last src root changeset Finish to migrate all src root folder files to C++11 constructor initializers
2017-05-26Time: Change old `u32` timestamps to 64-bit (#5818)SmallJoker
MacOSX build fix + cleanups
2015-07-24Remove some old dead code. Fix some Clang warnings in SRP (ng->N... willLoic Blot
always evaluate to true.
2015-02-23Optimise MapBlockMesh related functionsgregorycu
Directely or indirectly optimises the following functions: * MapBlockMesh::MapBlockMesh * MapBlockMesh::getTileInfo * MapBlockMesh::makeFastFace * MapBlockMesh::getSmoothLightCombined
2015-01-18Create empty default constructor for MapNodeCraig Robbins
2015-01-13Add VoxelArea::hasEmptyExtentunknown
2014-12-27VoxelManipulator: Remove unnecessary deallocation stepskwolekr
2014-12-24Large increase in performanceCraig Robbins
2014-12-12Use std::string::empty() instead of size() where applicableAnton
2014-12-04Optimise VoxelManipulator::copyFromCraig Robbins
~3-4x faster This indirectly optimises MapBlock:copyTo() which in turn improves performance of MeshMakeData::fill()
2014-11-21Optimise functions from CNodeDefManager and VoxelManipulatorCraig Robbins
CNodeDefManager::get() VoxelManipulator::addArea()
2014-06-23Remove emerge and speedup addArea by using memcopy instead of one by one ↵sapier
assignment
2014-06-23Use memset for flag initialization (compiler optimization is way better)sapier
use temp variables instead of recalculating array index
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-05-19Fix nearly all warningskwolekr
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-25Fix most walled-off caveskwolekr
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-03-27Implement propagateSunlight for VoxelManipulatorPerttu Ahola
2011-11-29Optimize lighting by a tiny bitPerttu Ahola
2011-11-29GameDef compilesPerttu Ahola
2011-07-23extended content-type rangePerttu Ahola
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-02-01partly working chunk-based map generator (doesn't save properly, spawn is ↵Perttu Ahola
pretty random)
2011-01-30map generation framework under development... not quite operational at this ↵Perttu Ahola
point.
2011-01-26Reworked texture, material, mineral and whatever handlingPerttu Ahola
2011-01-25removed alternative name "pressure" from param2Perttu Ahola
2011-01-24Faster lighting at map generation timePerttu Ahola
2011-01-24commented out old water stuffPerttu Ahola
2011-01-17old water removed, some fixes here and therePerttu Ahola
2010-12-26working goodPerttu Ahola
2010-12-22some work-in-progressPerttu Ahola
2010-12-21organizing stuff.Perttu Ahola
2010-12-20framework for modifying texturesPerttu Ahola
2010-12-19day/night working client sidePerttu Ahola
2010-12-18before daynight mesh cachePerttu Ahola
2010-12-14little fixesPerttu Ahola
2010-12-13working nicelyPerttu Ahola
2010-12-12starting to separate "material" to "content" and "tile"Perttu Ahola
2010-12-11removed accidental double flowWaterPerttu Ahola
2010-12-11commit before some radicallish changes to water behaviorPerttu Ahola
2010-12-01some work-in-progress water stuffPerttu Ahola
2010-11-29license stuffPerttu Ahola
--HG-- rename : src/licensecomment.txt => licensecomment.txt