Tune caves
[oweals/minetest.git] / src / player.h
index 43f6ee5ec162f678c59bb3ea58a882d27033f4ff..d0e1ac79923b7d521fe362e4d65513dc75e97d49 100644 (file)
@@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 class Map;
 class IGameDef;
-class CollisionInfo;
+struct CollisionInfo;
 
 class Player
 {
@@ -155,8 +155,6 @@ public:
        // Actual inventory is backed up here when creative mode is used
        Inventory *inventory_backup;
 
-       bool craftresult_is_preview;
-
        u16 hp;
 
        u16 peer_id;
@@ -238,6 +236,8 @@ public:
        void move(f32 dtime, Map &map, f32 pos_max_d);
 
        void applyControl(float dtime);
+
+       v3s16 getStandingNodePos();
        
        PlayerControl control;