aboutsummaryrefslogtreecommitdiff
path: root/src/voxel.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* VoxelArea: add_{x,y,z,p} must be staticLoic Blot2018-03-091-10/+21
| | | | | Fix some documentations issues Use getNodeNoCheck(v3s16, ...) in some cases instead of getNodeNoCheck(x, y, z, ...)
* Node definition manager refactor (#7016)Dániel Juhász2018-02-101-2/+2
| | | | | | | | | * Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
* Remove unused light updating codeDániel Juhász2018-02-041-9/+0
| | | Also remove the unit test that tests the removed algorithms.
* Modernize source code: last part (#6285)Loïc Blot2017-08-201-7/+7
| | | | | | | | | | | * 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
* Optimize headers (part 2) (#6272)Loïc Blot2017-08-181-1/+1
| | | | | | | | | | | | | | * Optimize headers (part 2) * less debug.h in headers * less remoteplayer.h for everybody * Cleanup (part 2) * camera.h: mesh.h * mapgen.h: mapnode.h * serverenvironment.h: mapblock.h * nodedef.h: shader.h
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-171-5/+1
| | | | * Migrate cpp headers to pragma once
* VoxelManip cleanups (const ref, const move) + function removal (#6169)Loïc Blot2017-07-261-121/+47
| | | | | | | | | | * 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
* Cpp11 initializers: last src root changeset (#6022)Loïc Blot2017-06-211-28/+13
| | | | | | * Cpp11 initializers: last src root changeset Finish to migrate all src root folder files to C++11 constructor initializers
* Time: Change old `u32` timestamps to 64-bit (#5818)SmallJoker2017-05-261-2/+2
| | | | MacOSX build fix + cleanups
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-071-1/+1
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Optimise MapBlockMesh related functionsgregorycu2015-02-231-1/+14
| | | | | | | | | Directely or indirectly optimises the following functions: * MapBlockMesh::MapBlockMesh * MapBlockMesh::getTileInfo * MapBlockMesh::makeFastFace * MapBlockMesh::getSmoothLightCombined
* Add VoxelArea::hasEmptyExtentunknown2015-01-131-3/+12
|
* Optimise functions from CNodeDefManager and VoxelManipulatorCraig Robbins2014-11-211-8/+12
| | | | | CNodeDefManager::get() VoxelManipulator::addArea()
* Remove emerge and speedup addArea by using memcopy instead of one by one ↵sapier2014-06-231-46/+22
| | | | assignment
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-1/+2
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-111-5/+7
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* The new mapgen, noise functions, et al.kwolekr2013-01-211-17/+17
|
* Optimize headersPerttu Ahola2012-06-171-0/+2
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-051-4/+4
| | | | GPLv2/later, by agreement of major contributors
* Implement propagateSunlight for VoxelManipulatorPerttu Ahola2012-03-271-9/+26
|
* Clean unit test outputPerttu Ahola2012-03-101-4/+4
|
* GameDef compilesPerttu Ahola2011-11-291-5/+8
|
* Always return from non-void functionsGiuseppe Bilotta2011-08-081-0/+2
| | | | This quiets a warning in Clang.
* New map generator added (and SQLite, messed up the commits at that time...) ↵Perttu Ahola2011-06-251-0/+8
| | | | (import from temporary git repo)
* fixed warnings reported by cppcheckPerttu Ahola2011-04-111-1/+1
|
* Modified block mesh generation to have clearer input and output. Instead of ↵Perttu Ahola2011-04-031-0/+28
| | | | being a messy object oriented cludge, it now is a messy cludge with separate parameters.
* added sneaking/crouching and changelogPerttu Ahola2011-02-141-1/+30
|
* fully working i guessPerttu Ahola2011-02-111-5/+1
|
* some generation-time mud flow tweakingPerttu Ahola2011-02-031-0/+4
|
* partly working chunk-based map generator (doesn't save properly, spawn is ↵Perttu Ahola2011-02-011-0/+28
| | | | pretty random)
* Reworked texture, material, mineral and whatever handlingPerttu Ahola2011-01-261-56/+0
|
* Faster lighting at map generation timePerttu Ahola2011-01-241-2/+16
|
* commented out old water stuffPerttu Ahola2011-01-241-1/+3
|
* old water removed, some fixes here and therePerttu Ahola2011-01-171-2/+0
|
* commit before content-tile separationPerttu Ahola2010-12-131-0/+1
|
* fixes for vc++Perttu Ahola2010-12-131-0/+3
|
* working nicelyPerttu Ahola2010-12-131-0/+6
|
* starting to separate "material" to "content" and "tile"Perttu Ahola2010-12-121-4/+4
|
* commit before some radicallish changes to water behaviorPerttu Ahola2010-12-111-27/+240
|
* some work-in-progress water stuffPerttu Ahola2010-12-011-33/+86
|
* license stuffPerttu Ahola2010-11-291-0/+19
| | | | | --HG-- rename : src/licensecomment.txt => licensecomment.txt
* vokselijuttu lisättyPerttu Ahola2010-11-291-0/+224