mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 19:33:59 +02:00
- added error checking and allow the game to continue if we cannot init the sound system
- persist error messagebox between program states
This commit is contained in:
@@ -91,7 +91,7 @@ class SoundPlayerOpenAL : public SoundPlayer {
|
||||
public:
|
||||
SoundPlayerOpenAL();
|
||||
virtual ~SoundPlayerOpenAL();
|
||||
virtual void init(const SoundPlayerParams *params);
|
||||
virtual bool init(const SoundPlayerParams *params);
|
||||
virtual void end();
|
||||
virtual void play(StaticSound *staticSound);
|
||||
virtual void play(StrSound *strSound, int64 fadeOn=0);
|
||||
|
Reference in New Issue
Block a user