aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/remoteplayer.h5
-rw-r--r--src/sky.h4
-rw-r--r--src/sound.h8
3 files changed, 7 insertions, 10 deletions
diff --git a/src/remoteplayer.h b/src/remoteplayer.h
index 7d46205c5..ee0d625b6 100644
--- a/src/remoteplayer.h
+++ b/src/remoteplayer.h
@@ -107,10 +107,7 @@ public:
m_cloud_params = cloud_params;
}
- const CloudParams &getCloudParams() const
- {
- return m_cloud_params;
- }
+ const CloudParams &getCloudParams() const { return m_cloud_params; }
bool checkModified() const { return m_dirty || inventory.checkModified(); }
diff --git a/src/sky.h b/src/sky.h
index c9678a80b..a014a920b 100644
--- a/src/sky.h
+++ b/src/sky.h
@@ -125,8 +125,8 @@ private:
bool m_sunlight_seen;
float m_brightness;
float m_cloud_brightness;
- bool m_clouds_visible; // Whether clouds are disabled due to player underground
- bool m_clouds_enabled; // Initialised to true, reset only by set_sky API
+ bool m_clouds_visible; // Whether clouds are disabled due to player underground
+ bool m_clouds_enabled; // Initialised to true, reset only by set_sky API
bool m_directional_colored_fog;
video::SColorf m_bgcolor_bright_f;
video::SColorf m_skycolor_bright_f;
diff --git a/src/sound.h b/src/sound.h
index 7bdb6a26b..76c0d1be4 100644
--- a/src/sound.h
+++ b/src/sound.h
@@ -65,8 +65,8 @@ public:
// sound. If name=="", call should be ignored without error.
virtual int playSound(const std::string &name, bool loop, float volume,
float fade = 0) = 0;
- virtual int playSoundAt(const std::string &name, bool loop, float volume,
- v3f pos) = 0;
+ virtual int playSoundAt(
+ const std::string &name, bool loop, float volume, v3f pos) = 0;
virtual void stopSound(int sound) = 0;
virtual bool soundExists(int sound) = 0;
virtual void updateSoundPosition(int sound, v3f pos) = 0;
@@ -111,8 +111,8 @@ public:
void updateSoundPosition(int sound, v3f pos) {}
bool updateSoundGain(int id, float gain) { return false; }
float getSoundGain(int id) { return 0; }
- void step(float dtime) { }
- void fadeSound(int sound, float step, float gain) { }
+ void step(float dtime) {}
+ void fadeSound(int sound, float step, float gain) {}
};
// Global DummySoundManager singleton
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262