From f7088f69ab7406ea9fefa853fa7ce11f914e88cf Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 7 Apr 2017 08:50:17 +0200 Subject: Clang-format: fix some header files and remove them from whitelist --- src/remoteplayer.h | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'src/remoteplayer.h') diff --git a/src/remoteplayer.h b/src/remoteplayer.h index f44fb9332..9d123393f 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -68,15 +68,9 @@ public: *ratio = m_day_night_ratio; } - void setHotbarImage(const std::string &name) - { - hud_hotbar_image = name; - } + void setHotbarImage(const std::string &name) { hud_hotbar_image = name; } - std::string getHotbarImage() const - { - return hud_hotbar_image; - } + std::string getHotbarImage() const { return hud_hotbar_image; } void setHotbarSelectedImage(const std::string &name) { @@ -89,7 +83,7 @@ public: } void setSky(const video::SColor &bgcolor, const std::string &type, - const std::vector ¶ms) + const std::vector ¶ms) { m_sky_bgcolor = bgcolor; m_sky_type = type; @@ -97,7 +91,7 @@ public: } void getSky(video::SColor *bgcolor, std::string *type, - std::vector *params) + std::vector *params) { *bgcolor = m_sky_bgcolor; *type = m_sky_type; @@ -130,6 +124,7 @@ public: void setDirty(bool dirty) { m_dirty = true; } u16 protocol_version; + private: /* serialize() writes a bunch of text that can contain -- cgit v1.2.3