summaryrefslogtreecommitdiff
path: root/src/client/hud.h
diff options
context:
space:
mode:
authorLars Müller <34514239+appgurueu@users.noreply.github.com>2020-04-11 23:09:46 +0200
committerGitHub <noreply@github.com>2020-04-11 22:09:46 +0100
commitaf2e6a6a10121cf971d4ce4c33d523b6dc037d31 (patch)
tree19776d03803bf383476d629202aafdc1ed7107c4 /src/client/hud.h
parentf780bae05cc2fdd23a6d7326c770783da8d94ea3 (diff)
downloadminetest-af2e6a6a10121cf971d4ce4c33d523b6dc037d31.tar.gz
minetest-af2e6a6a10121cf971d4ce4c33d523b6dc037d31.tar.bz2
minetest-af2e6a6a10121cf971d4ce4c33d523b6dc037d31.zip
Improve waypoints and add image variant (#9480)
Diffstat (limited to 'src/client/hud.h')
-rw-r--r--src/client/hud.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/hud.h b/src/client/hud.h
index d9b5e0686..cab115990 100644
--- a/src/client/hud.h
+++ b/src/client/hud.h
@@ -81,6 +81,7 @@ public:
void drawLuaElements(const v3s16 &camera_offset);
private:
+ bool calculateScreenPos(const v3s16 &camera_offset, HudElement *e, v2s32 *pos);
void drawStatbar(v2s32 pos, u16 corner, u16 drawdir, const std::string &texture,
s32 count, v2s32 offset, v2s32 size = v2s32());