16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 18:19:19 +02:00

build 180505. animated mirrors and doorsteps, support for spotlight hotspot width attribute, per-sound radio message range, support for combined tachometer sound, minor bug fixes

This commit is contained in:
tmj-fstate
2018-05-06 04:05:43 +02:00
parent 1d481acbf3
commit aa9626901f
14 changed files with 351 additions and 137 deletions

View File

@@ -838,6 +838,13 @@ sound_source::location() const {
+ m_owner->VectorFront() * m_offset.z };
}
// returns defined range of the sound
float const
sound_source::range() const {
return m_range;
}
void
sound_source::update_counter( sound_handle const Sound, int const Value ) {