I back out this patch because it gives me 2~3 bonus fps, and it isn't
used now and probably won't be used in the future.
dt_play: the number of seconds since the sound started playing.
dt_stop: the number of seconds after the sound has stopped.
-
- random: a random number between 0.0 and 1.0
<type>
Defines the function that should be used upon the property
#include <string.h>
#include <simgear/debug/logstream.hxx>
-#include <simgear/math/sg_random.h>
#include <Main/fg_props.hxx>
//
_dt_play += dt;
_prev_value = curr_value;
- _random = sg_random();
//
// Update the volume