aboutsummaryrefslogtreecommitdiff
path: root/src/treegen.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove `mathconstants.h` and use the correct way to get `M_PI` in MSVC. (#5072)red-0012017-01-201-1/+0
|
* Fix MSVC build Build broken by 98e36d7SmallJoker2017-01-191-0/+1
|
* Move ServerEnvironment to dedicated cpp/header filesLoic Blot2017-01-081-2/+1
| | | | * also cleanup some unneeded inclusions
* Treegen: Improve use of signed vs. unsigned integersparamat2016-07-121-3/+3
| | | | | | 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-041-4/+4
| | | | | 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-101-1/+1
|
* Mgv6/treegen: (Re)Add fallback nodes for compatibility with subgamesparamat2015-07-131-5/+22
|
* Minimal: Add snow biome and jungleleaves nodes. Add mapgen aliasesparamat2015-06-121-9/+2
| | | | Treegen: Remove alias checks from jungletree generation for speed
* Treegen: Add pine tree. Force place trunksparamat2015-04-011-265/+491
| | | | | | Speed-optimise leaves blits Use MMVManip for make_jungletree Use correct code style
* Shorten ManualMapVoxelManipulator to MMVManipkwolekr2015-01-051-10/+10
|
* Fix seg fault if popping from empty stack (L-system trees)Craig Robbins2014-08-231-4/+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-171-3/+3
|
* Move the sapling growing and grass adding/removing ABMs to LuaNovatux2013-11-021-0/+10
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-0/+1
|
* Make saplings only grow on dirt or grass, make jungle tree trunks only ↵kwolekr2013-03-161-10/+18
| | | | replace air
* Re-add jungles, apple treeskwolekr2013-03-161-2/+9
|
* Clean up Mapgenkwolekr2013-03-111-17/+17
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-111-13/+7
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Add seed parameter for default and L-system treesRealBadAngel2013-02-241-25/+25
|
* Treegen update. Some new symbols. Speed up code a bit.RealBadAngel2013-01-231-33/+93
|
* L-Systems treegen update.RealBadAngel2013-01-071-11/+35
|
* Fixed compile issues on windowsdannydark2012-12-301-6/+8
| | | | With latest upstream L-Systems treegen.
* L-System treegenRealBadAngel2012-12-301-0/+518