]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/player.h
Add disable_jump and fall_damage_add_percent node groups
[dragonfireclient.git] / src / player.h
index 4ffac7ef072e15831ccd70552c5ab9532daaaa2b..47f34c178a18fc1e18d366b5ed95e4c6ea536057 100644 (file)
@@ -20,8 +20,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef PLAYER_HEADER
 #define PLAYER_HEADER
 
-#include "irrlichttypes.h"
+#include "irrlichttypes_bloated.h"
 #include "inventory.h"
+#include "constants.h" // BS
 
 #define PLAYERNAME_SIZE 20
 
@@ -149,13 +150,14 @@ class Player
        
        u8 light;
 
-       // In creative mode, this is the invisible backup inventory
        Inventory inventory;
 
        u16 hp;
 
        u16 peer_id;
 
+       std::string inventory_formspec;
+
 protected:
        IGameDef *m_gamedef;