mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Clang-format: fix some header files and remove them from whitelist
This commit is contained in:
parent
b751c59f43
commit
f7088f69ab
12 changed files with 161 additions and 169 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue