From abceeee92f99b84ebb79968269835a4f509bfb90 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 14 Nov 2011 00:19:48 +0200 Subject: Create framework for getting rid of global definitions of node/tool/item/whatever types --- src/materials.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/materials.h') diff --git a/src/materials.h b/src/materials.h index 39829786d..4f0fd6871 100644 --- a/src/materials.h +++ b/src/materials.h @@ -88,8 +88,9 @@ struct DiggingProperties u16 wear; }; -// Tool "" is bare hands -DiggingProperties getDiggingProperties(u16 material, const std::string &tool); +class ToolDiggingProperties; + +DiggingProperties getDiggingProperties(u16 material, ToolDiggingProperties *tp); #endif -- cgit v1.2.3