- 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:
Mark Vejvoda
2010-07-09 22:16:26 +00:00
parent eb34eb1fe5
commit f40dd94b1d
10 changed files with 358 additions and 40 deletions

View File

@@ -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);