From edbc533414b0ba991a82f8003d90924e1dc60d95 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Fri, 15 Sep 2017 12:18:47 +0200 Subject: Customizeable max breath for players (#6411) * Customizeable maximal breath for players --- src/object_properties.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/object_properties.h') diff --git a/src/object_properties.h b/src/object_properties.h index 8ab1fa7fd..7589cec3c 100644 --- a/src/object_properties.h +++ b/src/object_properties.h @@ -27,11 +27,12 @@ with this program; if not, write to the Free Software Foundation, Inc., struct ObjectProperties { - // Values are BS=1 s16 hp_max = 1; + u16 breath_max = 0; bool physical = false; bool collideWithObjects = true; float weight = 5.0f; + // Values are BS=1 aabb3f collisionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f); aabb3f selectionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f); bool pointable = true; -- cgit v1.2.3