1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Clang-format: fix some header files and remove them from whitelist

This commit is contained in:
Loic Blot
2017-04-07 08:50:17 +02:00
parent b751c59f43
commit f7088f69ab
12 changed files with 161 additions and 169 deletions

View File

@@ -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