aboutsummaryrefslogtreecommitdiff
path: root/doc/minetest.6
diff options
context:
space:
mode:
authorqiukeren <qiukeren@gmail.com>2015-12-21 20:52:40 +0800
committerest31 <MTest31@outlook.com>2015-12-29 23:03:30 +0100
commit848b050a567e360e857577c50dee82494b14973b (patch)
treea75162e8e69075012ea3cdce923135ab23bcc24c /doc/minetest.6
parent1735c20549d474a45f1f231ea7d25ff8e3157818 (diff)
downloadminetest-848b050a567e360e857577c50dee82494b14973b.tar.gz
minetest-848b050a567e360e857577c50dee82494b14973b.tar.bz2
minetest-848b050a567e360e857577c50dee82494b14973b.zip
Add macos/freebsd missing endian.h include and add win endianness info
Diffstat (limited to 'doc/minetest.6')
0 files changed, 0 insertions, 0 deletions
pan class="hl ppc">#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_ */