From d3ee617f37984b380ebe32cd37ef1cda66d96c48 Mon Sep 17 00:00:00 2001 From: sapier Date: Mon, 28 Apr 2014 23:41:27 +0200 Subject: Fix heart + bubble bar size on different texture packs Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar --- src/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index fd07f26b4..51ce5b8f2 100644 --- a/src/client.h +++ b/src/client.h @@ -215,6 +215,7 @@ struct ClientEvent v2f *align; v2f *offset; v3f *world_pos; + v2s32 * size; } hudadd; struct{ u32 id; @@ -226,6 +227,7 @@ struct ClientEvent std::string *sdata; u32 data; v3f *v3fdata; + v2s32 * v2s32data; } hudchange; struct{ video::SColor *bgcolor; -- cgit v1.2.3