]> git.lizzy.rs Git - minetest.git/blobdiff - src/inventorymanager.h
Biome API: Make fallback biome stone and water, disable filler
[minetest.git] / src / inventorymanager.h
index bbeb5117ca2577bd3ffb4d7c081fe4ea0a9e042c..35fcf4b99dbf6f40d4b08cc975521360ba2f45a2 100644 (file)
@@ -108,7 +108,7 @@ class InventoryManager
 public:
        InventoryManager(){}
        virtual ~InventoryManager(){}
-       
+
        // Get an inventory (server and client)
        virtual Inventory* getInventory(const InventoryLocation &loc){return NULL;}
     // Set modified (will be saved and sent over network; only on server)
@@ -124,7 +124,7 @@ class InventoryManager
 struct InventoryAction
 {
        static InventoryAction * deSerialize(std::istream &is);
-       
+
        virtual u16 getType() const = 0;
        virtual void serialize(std::ostream &os) const = 0;
        virtual void apply(InventoryManager *mgr, ServerActiveObject *player,
@@ -149,7 +149,7 @@ struct IMoveAction : public InventoryAction
        // related to movement to somewhere
        bool caused_by_move_somewhere;
        u32 move_count;
-       
+
        IMoveAction()
        {
                count = 0;
@@ -159,7 +159,7 @@ struct IMoveAction : public InventoryAction
                caused_by_move_somewhere = false;
                move_count = 0;
        }
-       
+
        IMoveAction(std::istream &is, bool somewhere);
 
        u16 getType() const
@@ -195,13 +195,13 @@ struct IDropAction : public InventoryAction
        InventoryLocation from_inv;
        std::string from_list;
        s16 from_i;
-       
+
        IDropAction()
        {
                count = 0;
                from_i = -1;
        }
-       
+
        IDropAction(std::istream &is);
 
        u16 getType() const
@@ -228,12 +228,12 @@ struct ICraftAction : public InventoryAction
        // count=0 means "everything"
        u16 count;
        InventoryLocation craft_inv;
-       
+
        ICraftAction()
        {
                count = 0;
        }
-       
+
        ICraftAction(std::istream &is);
 
        u16 getType() const