summaryrefslogtreecommitdiff
path: root/src/remoteplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteplayer.h')
-rw-r--r--src/remoteplayer.h15
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> &params)
+ const std::vector<std::string> &params)
{
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