aboutsummaryrefslogtreecommitdiff
path: root/src/treegen.cpp
Commit message (Collapse)AuthorAge
* Optimize headers (part 2) (#6272)Loïc Blot2017-08-18
| | | | | | | | | | | | | | * 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
* L-system: Fix leaves cutting through stemsHybrid Dog2017-08-14
|
* Treegen: Fix s16 overflow warning (#6082)Vincent Glize2017-07-04
|
* Remove SharedPtr, it's not used and will be never used, we use C++11Loic Blot2017-06-05
|
* Fix various variables passed by copy instead of const ref (#5610)Loïc Blot2017-04-19
| | | Pointed by cppcheck
* Light calculation: New bulk node lighting codeDániel Juhász2017-03-11
| | | | | | | | | | | This commit introduces a new bulk node lighting algorithm to minimize lighting bugs during l-system tree generation, schematic placement and non-mapgen-object lua voxelmanip light calculation. If the block above the changed area is not loaded, it gets loaded to avoid lighting bugs. Light is updated as soon as write_to_map is called on a voxel manipulator, therefore update_map does nothing.
* Remove `mathconstants.h` and use the correct way to get `M_PI` in MSVC. (#5072)red-0012017-01-20
|
* Fix MSVC build Build broken by 98e36d7SmallJoker2017-01-19
|
* Move ServerEnvironment to dedicated cpp/header filesLoic Blot2017-01-08
| | | | * also cleanup some unneeded inclusions
* Treegen: Improve use of signed vs. unsigned integersparamat2016-07-12
| | | | | | To fix GCC 6.1.1 compilation warning: 'assuming signed overflow does not occur when assuming that (X - c) > X is always false'
* Change internal type for seeds to s32kwolekr2016-06-04
| | | | | This fixes value truncation (and therefore incompatibility) on platforms with an LP32 data model, such as VAX or MS-DOS.
* Treegen: Rename pine tree mapgen aliasparamat2015-08-10
|
* Mgv6/treegen: (Re)Add fallback nodes for compatibility with subgamesparamat2015-07-13
|
* Minimal: Add snow biome and jungleleaves nodes. Add mapgen aliasesparamat2015-06-12
| | | | Treegen: Remove alias checks from jungletree generation for speed
* Treegen: Add pine tree. Force place trunksparamat2015-04-01
| | | | | | Speed-optimise leaves blits Use MMVManip for make_jungletree Use correct code style
* Shorten ManualMapVoxelManipulator to MMVManipkwolekr2015-01-05
|
* Fix seg fault if popping from empty stack (L-system trees)Craig Robbins2014-08-23
| | | | | | | | | | | | | | | | | | See: https://github.com/minetest/minetest/issues/1525 Background Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack. ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error Commit Description This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace. L-Systems fix randomness Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree Resolves: https://github.com/minetest/minetest/issues/1469 Fix l-system crash when treedef random_level not set by Lua
* L-systems treegen code tweaks.RealBadAngel2014-06-17
|
* Move the sapling growing and grass adding/removing ABMs to LuaNovatux2013-11-02
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Make saplings only grow on dirt or grass, make jungle tree trunks only ↵kwolekr2013-03-16
| | | | replace air
* Re-add jungles, apple treeskwolekr2013-03-16
|
* Clean up Mapgenkwolekr2013-03-11
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-11
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Add seed parameter for default and L-system treesRealBadAngel2013-02-24
|
* Treegen update. Some new symbols. Speed up code a bit.RealBadAngel2013-01-23
|
* L-Systems treegen update.RealBadAngel2013-01-07
|
* Fixed compile issues on windowsdannydark2012-12-30
| | | | With latest upstream L-Systems treegen.
* L-System treegenRealBadAngel2012-12-30