mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Create framework for getting rid of global definitions of node/tool/item/whatever types
This commit is contained in:
parent
5fc791ac9a
commit
abceeee92f
60 changed files with 1017 additions and 743 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue