diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-07 08:50:17 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-07 08:50:17 +0200 |
commit | f7088f69ab7406ea9fefa853fa7ce11f914e88cf (patch) | |
tree | a2457b54c9f5ed6ea65342b3a1fadeeee036d501 /src/remoteplayer.h | |
parent | b751c59f43e04f698f517383b62a9c4e1f82523e (diff) | |
download | minetest-f7088f69ab7406ea9fefa853fa7ce11f914e88cf.tar.gz minetest-f7088f69ab7406ea9fefa853fa7ce11f914e88cf.tar.bz2 minetest-f7088f69ab7406ea9fefa853fa7ce11f914e88cf.zip |
Clang-format: fix some header files and remove them from whitelist
Diffstat (limited to 'src/remoteplayer.h')
-rw-r--r-- | src/remoteplayer.h | 15 |
1 files changed, 5 insertions, 10 deletions
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<std::string> ¶ms) + const std::vector<std::string> ¶ms) { m_sky_bgcolor = bgcolor; m_sky_type = type; @@ -97,7 +91,7 @@ public: } void getSky(video::SColor *bgcolor, std::string *type, - std::vector<std::string> *params) + std::vector<std::string> *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 |