1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Display which tool the player is holding

And some simple animation when trying to dig...
This commit is contained in:
JacobF 2011-09-07 10:56:04 -04:00
parent 5c1074aa7d
commit f31b0a3361
6 changed files with 137 additions and 30 deletions

View file

@ -356,6 +356,8 @@ public:
{
return true;
}
void wieldItem(u16 item);
void move(f32 dtime, Map &map, f32 pos_max_d,
core::list<CollisionInfo> *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;