aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_env.h
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-04-28 23:41:27 +0200
committersapier <Sapier at GMX dot net>2014-05-07 21:46:27 +0200
commitd3ee617f37984b380ebe32cd37ef1cda66d96c48 (patch)
treeff40e272e0b5ab7525d66ddd3b98fa3eed71a496 /src/script/cpp_api/s_env.h
parentc80d67f48e2011c88bbb9e755ee4f5e7f5391f63 (diff)
downloadminetest-d3ee617f37984b380ebe32cd37ef1cda66d96c48.tar.gz
minetest-d3ee617f37984b380ebe32cd37ef1cda66d96c48.tar.bz2
minetest-d3ee617f37984b380ebe32cd37ef1cda66d96c48.zip
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
Diffstat (limited to 'src/script/cpp_api/s_env.h')
-rw-r--r--src/script/cpp_api/s_env.h3
1 files changed, 3 insertions, 0 deletions
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);
};