mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Treegen: Add pine tree. Force place trunks
Speed-optimise leaves blits Use MMVManip for make_jungletree Use correct code style
This commit is contained in:
		
							
								
								
									
										756
									
								
								src/treegen.cpp
									
									
									
									
									
								
							
							
						
						
									
										756
									
								
								src/treegen.cpp
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -62,7 +62,10 @@ namespace treegen {
 | 
			
		||||
	void make_tree(MMVManip &vmanip, v3s16 p0,
 | 
			
		||||
		bool is_apple_tree, INodeDefManager *ndef, int seed);
 | 
			
		||||
	// Add jungle tree
 | 
			
		||||
	void make_jungletree(VoxelManipulator &vmanip, v3s16 p0,
 | 
			
		||||
	void make_jungletree(MMVManip &vmanip, v3s16 p0,
 | 
			
		||||
		INodeDefManager *ndef, int seed);
 | 
			
		||||
	// Add pine tree
 | 
			
		||||
	void make_pine_tree(MMVManip &vmanip, v3s16 p0,
 | 
			
		||||
		INodeDefManager *ndef, int seed);
 | 
			
		||||
 | 
			
		||||
	// Add L-Systems tree (used by engine)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user