aboutsummaryrefslogtreecommitdiff
path: root/textures/base/pack/aux1_btn.png
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-29 16:00:44 +0200
committersfan5 <sfan5@live.de>2022-05-29 16:30:13 +0200
commit9fc018ded10225589d2559d24a5db739e891fb31 (patch)
tree7cba6dc169414cc2c0c18703355b32064dcb40f2 /textures/base/pack/aux1_btn.png
parenta9a207685a9d55e4fcdd97f5065383e2ec18e114 (diff)
downloadminetest-9fc018ded10225589d2559d24a5db739e891fb31.tar.gz
minetest-9fc018ded10225589d2559d24a5db739e891fb31.tar.bz2
minetest-9fc018ded10225589d2559d24a5db739e891fb31.zip
Fix use-after-free in node meta cleanup
bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7
Diffstat (limited to 'textures/base/pack/aux1_btn.png')
0 files changed, 0 insertions, 0 deletions
ceived a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include <matrix4.h> #include "noise.h" class MMVManip; class NodeDefManager; class ServerMap; namespace treegen { enum error { SUCCESS, UNBALANCED_BRACKETS }; struct TreeDef { std::string initial_axiom; std::string rules_a; std::string rules_b; std::string rules_c; std::string rules_d; MapNode trunknode; MapNode leavesnode; MapNode leaves2node; int leaves2_chance; int angle; int iterations; int iterations_random_level; std::string trunk_type; bool thin_branches; MapNode fruitnode; int fruit_chance; s32 seed; bool explicit_seed; }; // Add default tree void make_tree(MMVManip &vmanip, v3s16 p0, bool is_apple_tree, const NodeDefManager *ndef, s32 seed); // Add jungle tree void make_jungletree(MMVManip &vmanip, v3s16 p0, const NodeDefManager *ndef, s32 seed); // Add pine tree void make_pine_tree(MMVManip &vmanip, v3s16 p0, const NodeDefManager *ndef, s32 seed); // Add L-Systems tree (used by engine) treegen::error make_ltree(MMVManip &vmanip, v3s16 p0, const NodeDefManager *ndef, TreeDef tree_definition); // Spawn L-systems tree from LUA