mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-18 18:55:29 +02:00
Create framework for getting rid of global definitions of node/tool/item/whatever types
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user