aboutsummaryrefslogtreecommitdiff
path: root/src/treegen.cpp
AgeCommit message (Collapse)Author
2014-08-23Fix seg fault if popping from empty stack (L-system trees)Craig Robbins
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
2014-06-17L-systems treegen code tweaks.RealBadAngel
2013-11-02Move the sapling growing and grass adding/removing ABMs to LuaNovatux
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-03-16Make saplings only grow on dirt or grass, make jungle tree trunks only ↵kwolekr
replace air
2013-03-16Re-add jungles, apple treeskwolekr
2013-03-11Clean up Mapgenkwolekr
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2013-02-24Add seed parameter for default and L-system treesRealBadAngel
2013-01-23Treegen update. Some new symbols. Speed up code a bit.RealBadAngel
2013-01-07L-Systems treegen update.RealBadAngel
2012-12-30Fixed compile issues on windowsdannydark
With latest upstream L-Systems treegen.
2012-12-30L-System treegenRealBadAngel