From f31b0a3361c0c39b9f6f6ee440b93293690bbe02 Mon Sep 17 00:00:00 2001 From: JacobF Date: Wed, 7 Sep 2011 10:56:04 -0400 Subject: Display which tool the player is holding And some simple animation when trying to dig... --- src/player.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index 13cffa205..0f2c40011 100644 --- a/src/player.h +++ b/src/player.h @@ -356,6 +356,8 @@ public: { return true; } + + void wieldItem(u16 item); void move(f32 dtime, Map &map, f32 pos_max_d, core::list *collision_info); @@ -365,6 +367,8 @@ public: PlayerControl control; + scene::ISceneNode *wield; + private: // This is used for determining the sneaking range v3s16 m_sneak_node; -- cgit v1.2.3