Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 00:42:07 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 00:42:07 +1000
commit63b68b3a55a11b32b07e7b8bdbf3760722d5e7f9 (patch)
treea6e9f0b6005d20fe69a00e1a585502c7b73461cd /source/game/StarPlayer.hpp
parent94c84ad01333850b88091f2c188e4f6173fd25e7 (diff)
Nameplate and chat bubble improvements
They should stack much better now. I also hooked up the true mouth position to the name-tag, but it's too shaky on chat bubbles.
Diffstat (limited to 'source/game/StarPlayer.hpp')
-rw-r--r--source/game/StarPlayer.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/game/StarPlayer.hpp b/source/game/StarPlayer.hpp
index 30238c4..b4fe623 100644
--- a/source/game/StarPlayer.hpp
+++ b/source/game/StarPlayer.hpp
@@ -86,7 +86,8 @@ public:
Vec2F velocity() const override;
Vec2F mouthPosition() const override;
- Vec2F mouthOffset() const;
+ Vec2F mouthPosition(bool ignoreAdjustments) const override;
+ Vec2F mouthOffset(bool ignoreAdjustments = true) const;
Vec2F feetOffset() const;
Vec2F headArmorOffset() const;
Vec2F chestArmorOffset() const;
@@ -284,6 +285,7 @@ public:
Maybe<String> statusText() const override;
bool displayNametag() const override;
Vec3B nametagColor() const override;
+ Vec2F nametagOrigin() const override;
void setBodyDirectives(String const& directives);
void setHairType(String const& group, String const& type);