aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_tool_stonepick.png
blob: b34de6f327a633d5127acaf39974c4a8aac219ec (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 10 00 00 00 10 08 06 00 00 00 1f f3 ff .PNG........IHDR................
0020 61 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 0e c4 00 00 0e a....sBIT....|.d.....pHYs.......
0040 c4 01 95 2b 0e 1b 00 00 00 a8 49 44 41 54 38 8d a5 91 b1 11 c3 20 0c 45 3f e9 b2 46 ce 8c e1 26 ...+......IDAT8........E?..F...&
0060 7b 78 04 31 0c 0c e3 ce 33 b8 e7 2e 9d 7a 77 29 95 8a 1c 06 0c 24 fc 8a 43 fa 4f 1f 01 0c 4a 85 {x.1....3....zw).....$..C.O...J.
0080 83 b5 56 e2 82 31 46 e5 ed 15 40 10 11 09 00 68 ad bb 60 97 85 00 8a 61 25 50 33 66 0a 4a 21 b7 ..V..1F...@....h..`....a%P3f.J!.
00a0 16 e0 d8 57 1c fb 0a 00 f0 de 67 bb 6a 02 00 80 99 bf 67 ef fd a9 56 05 2c f3 24 cc 8c ed f5 56 ...W......g.j.....g...V.,.$....V
/* Minetest Copyright (C) 79 3e ee 52 eb 21 22 09 cf 38 25 f8 ....].bs...8E.P2wk.'y>.R.!"..8%.
00e0 65 72 ba cc ae c9 69 8a bf cd 43 93 33 0d 99 01 7c 00 d7 fe 5c 21 3c 04 7e ba 00 00 00 00 49 45 er....i...C.3...|...\!<.~.....IE
0100 4e 44 ae 42 60 82 ND.B`.
class="hl com">MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef S_ITEM_H_ #define S_ITEM_H_ #include "cpp_api/s_base.h" #include "irr_v3d.h" struct PointedThing; struct ItemStack; class ServerActiveObject; struct ItemDefinition; class LuaItemStack; class ModApiItemMod; class InventoryList; struct InventoryLocation; class ScriptApiItem : virtual public ScriptApiBase { public: bool item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos); bool item_OnPlace(ItemStack &item, ServerActiveObject *placer, const PointedThing &pointed); bool item_OnUse(ItemStack &item, ServerActiveObject *user, const PointedThing &pointed); bool item_OnSecondaryUse(ItemStack &item, ServerActiveObject *user); bool item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv); bool item_CraftPredict(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv); protected: friend class LuaItemStack; friend class ModApiItemMod; bool getItemCallback(const char *name, const char *callbackname); void pushPointedThing(const PointedThing& pointed); }; #endif /* S_ITEM_H_ */