diff options
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/environment.h b/src/environment.h index ac479999c..e175d70d9 100644 --- a/src/environment.h +++ b/src/environment.h @@ -395,7 +395,8 @@ class ClientSimpleObject; enum ClientEnvEventType { CEE_NONE, - CEE_PLAYER_DAMAGE + CEE_PLAYER_DAMAGE, + CEE_PLAYER_BREATH }; struct ClientEnvEvent @@ -408,6 +409,9 @@ struct ClientEnvEvent u8 amount; bool send_to_server; } player_damage; + struct{ + u16 amount; + } player_breath; }; }; @@ -462,6 +466,7 @@ public: */ void damageLocalPlayer(u8 damage, bool handle_hp=true); + void updateLocalPlayerBreath(u16 breath); /* Client likes to call these |