forked from Mirrorlandia_minetest/minetest
LINT fix since cloud API merge
This commit is contained in:
@ -107,10 +107,7 @@ public:
|
|||||||
m_cloud_params = cloud_params;
|
m_cloud_params = cloud_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
const CloudParams &getCloudParams() const
|
const CloudParams &getCloudParams() const { return m_cloud_params; }
|
||||||
{
|
|
||||||
return m_cloud_params;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool checkModified() const { return m_dirty || inventory.checkModified(); }
|
bool checkModified() const { return m_dirty || inventory.checkModified(); }
|
||||||
|
|
||||||
|
@ -65,8 +65,8 @@ public:
|
|||||||
// sound. If name=="", call should be ignored without error.
|
// sound. If name=="", call should be ignored without error.
|
||||||
virtual int playSound(const std::string &name, bool loop, float volume,
|
virtual int playSound(const std::string &name, bool loop, float volume,
|
||||||
float fade = 0) = 0;
|
float fade = 0) = 0;
|
||||||
virtual int playSoundAt(const std::string &name, bool loop, float volume,
|
virtual int playSoundAt(
|
||||||
v3f pos) = 0;
|
const std::string &name, bool loop, float volume, v3f pos) = 0;
|
||||||
virtual void stopSound(int sound) = 0;
|
virtual void stopSound(int sound) = 0;
|
||||||
virtual bool soundExists(int sound) = 0;
|
virtual bool soundExists(int sound) = 0;
|
||||||
virtual void updateSoundPosition(int sound, v3f pos) = 0;
|
virtual void updateSoundPosition(int sound, v3f pos) = 0;
|
||||||
@ -111,8 +111,8 @@ public:
|
|||||||
void updateSoundPosition(int sound, v3f pos) {}
|
void updateSoundPosition(int sound, v3f pos) {}
|
||||||
bool updateSoundGain(int id, float gain) { return false; }
|
bool updateSoundGain(int id, float gain) { return false; }
|
||||||
float getSoundGain(int id) { return 0; }
|
float getSoundGain(int id) { return 0; }
|
||||||
void step(float dtime) { }
|
void step(float dtime) {}
|
||||||
void fadeSound(int sound, float step, float gain) { }
|
void fadeSound(int sound, float step, float gain) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Global DummySoundManager singleton
|
// Global DummySoundManager singleton
|
||||||
|
Reference in New Issue
Block a user