diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-04 14:22:35 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:13 +0200 |
commit | 07ed57476f56c54e781ab33467d3373d976d24b1 (patch) | |
tree | 5643802c01133f963cf440c7486691c31dc31d89 /src/tool.h | |
parent | 0b21618a054fbfa9f4b5e99a5044f2b2dd1d642b (diff) | |
download | minetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.gz minetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.bz2 minetest-07ed57476f56c54e781ab33467d3373d976d24b1.zip |
itemgroup.h and ItemGroupList typedef
Diffstat (limited to 'src/tool.h')
-rw-r--r-- | src/tool.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tool.h b/src/tool.h index cc2401a0d..d2a9c13c8 100644 --- a/src/tool.h +++ b/src/tool.h @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <string> #include <iostream> #include <map> +#include "itemgroup.h" struct ToolGroupCap { @@ -84,10 +85,10 @@ struct DigParams {} }; -DigParams getDigParams(const std::map<std::string, int> &groups, +DigParams getDigParams(const ItemGroupList &groups, const ToolCapabilities *tp, float time_from_last_punch); -DigParams getDigParams(const std::map<std::string, int> &groups, +DigParams getDigParams(const ItemGroupList &groups, const ToolCapabilities *tp); struct HitParams @@ -101,10 +102,10 @@ struct HitParams {} }; -HitParams getHitParams(const std::map<std::string, int> &groups, +HitParams getHitParams(const ItemGroupList &groups, const ToolCapabilities *tp, float time_from_last_punch); -HitParams getHitParams(const std::map<std::string, int> &groups, +HitParams getHitParams(const ItemGroupList &groups, const ToolCapabilities *tp); #endif |