diff options
Diffstat (limited to 'src/materials.h')
-rw-r--r-- | src/materials.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/materials.h b/src/materials.h index face7d5df..058b2ab85 100644 --- a/src/materials.h +++ b/src/materials.h @@ -110,17 +110,12 @@ struct DiggingProperties {} }; -class INodeDefManager; - DiggingProperties getDiggingProperties(const MaterialProperties *mp, const ToolDiggingProperties *tp, float time_from_last_punch); DiggingProperties getDiggingProperties(const MaterialProperties *mp, const ToolDiggingProperties *tp); -DiggingProperties getDiggingProperties(u16 content, - const ToolDiggingProperties *tp, INodeDefManager *nodemgr); - struct HittingProperties { s16 hp; @@ -135,5 +130,8 @@ struct HittingProperties HittingProperties getHittingProperties(const MaterialProperties *mp, const ToolDiggingProperties *tp, float time_from_last_punch); +HittingProperties getHittingProperties(const MaterialProperties *mp, + const ToolDiggingProperties *tp); + #endif |