diff -r df9d0728c5bb -r 51d3f4b6293a QTfrontend/SDLs.h --- a/QTfrontend/SDLs.h Fri Oct 16 22:46:58 2009 +0000 +++ b/QTfrontend/SDLs.h Sat Oct 17 01:28:49 2009 +0000 @@ -1,3 +1,5 @@ + + /* * Hedgewars, a free turn based strategy game * Copyright (c) 2007 Andrey Korotaev @@ -19,26 +21,29 @@ #ifndef SDLS_H #define SDLS_H + #include -#include "openalbridge.h" +#include "SDL_mixer.h" + class SDLInteraction : public QObject { Q_OBJECT private: - int music; + Mix_Music *music; + int musicInitialized; public: SDLInteraction(); ~SDLInteraction(); - void setHardwareSound(bool hardware_snd); QStringList getResolutions() const; void addGameControllerKeys() const; void StartMusic(); void StopMusic(); + void SDLMusicInit(); }; -void OpenAL_Init(); #endif +