mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Formspec: Unify argument checks (#11851)
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -279,6 +279,8 @@ protected:
 | 
			
		||||
	v2s32 getElementBasePos(const std::vector<std::string> *v_pos);
 | 
			
		||||
	v2s32 getRealCoordinateBasePos(const std::vector<std::string> &v_pos);
 | 
			
		||||
	v2s32 getRealCoordinateGeometry(const std::vector<std::string> &v_geom);
 | 
			
		||||
	bool precheckElement(const std::string &name, const std::string &element,
 | 
			
		||||
		size_t args_min, size_t args_max, std::vector<std::string> &parts);
 | 
			
		||||
 | 
			
		||||
	std::unordered_map<std::string, std::vector<StyleSpec>> theme_by_type;
 | 
			
		||||
	std::unordered_map<std::string, std::vector<StyleSpec>> theme_by_name;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user