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/script/cpp_api/s_env.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/script/cpp_api/s_env.h') diff --git a/src/script/cpp_api/s_env.h b/src/script/cpp_api/s_env.h index 51cf15036..33bd81ab3 100644 --- a/src/script/cpp_api/s_env.h +++ b/src/script/cpp_api/s_env.h @@ -37,6 +37,9 @@ public: // After initializing mapgens void environment_OnMapgenInit(MapgenParams *mgparams); + //called on player event + void player_event(ServerActiveObject* player, std::string type); + void initializeEnvironment(ServerEnvironment *env); }; -- cgit v1.2.3