mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 10:54:01 +02:00
now fade out of music when starting game and fade out of music when ending game
This commit is contained in:
@@ -117,7 +117,7 @@ public:
|
||||
virtual void play(StaticSound *staticSound);
|
||||
virtual void play(StrSound *strSound, int64 fadeOn=0);
|
||||
virtual void stop(StrSound *strSound, int64 fadeOff=0);
|
||||
virtual void stopAllSounds();
|
||||
virtual void stopAllSounds(int64 fadeOff=0);
|
||||
virtual void updateStreams(); //updates str buffers if needed
|
||||
|
||||
private:
|
||||
|
@@ -100,7 +100,7 @@ public:
|
||||
virtual void play(StaticSound *staticSound);
|
||||
virtual void play(StrSound *strSound, int64 fadeOn=0);
|
||||
virtual void stop(StrSound *strSound, int64 fadeOff=0);
|
||||
virtual void stopAllSounds();
|
||||
virtual void stopAllSounds(int64 fadeOff=0);
|
||||
virtual void updateStreams(); //updates str buffers if needed
|
||||
|
||||
private:
|
||||
|
@@ -54,7 +54,7 @@ public:
|
||||
virtual void play(StaticSound *staticSound)= 0;
|
||||
virtual void play(StrSound *strSound, int64 fadeOn=0)= 0; //delay and fade in miliseconds
|
||||
virtual void stop(StrSound *strSound, int64 fadeOff=0)= 0;
|
||||
virtual void stopAllSounds()= 0;
|
||||
virtual void stopAllSounds(int64 fadeOff=0)= 0;
|
||||
virtual void updateStreams()= 0;
|
||||
virtual bool wasInitOk() const { return initOk; }
|
||||
};
|
||||
|
Reference in New Issue
Block a user