equal
deleted
inserted
replaced
25 #define HEDGEWARS_SDLINTERACTION_H |
25 #define HEDGEWARS_SDLINTERACTION_H |
26 |
26 |
27 |
27 |
28 #include <QMap> |
28 #include <QMap> |
29 #include <QStringList> |
29 #include <QStringList> |
|
30 #include <QSize> |
30 |
31 |
31 #include "SDL_mixer.h" |
32 #include "SDL_mixer.h" |
32 |
33 |
33 /** |
34 /** |
34 * @brief Class for interacting with SDL (used for music and keys) |
35 * @brief Class for interacting with SDL (used for music and keys) |
101 /// Starts the background music if not already playing. |
102 /// Starts the background music if not already playing. |
102 void startMusic(); |
103 void startMusic(); |
103 |
104 |
104 /// Fades out and stops the background music (if playing). |
105 /// Fades out and stops the background music (if playing). |
105 void stopMusic(); |
106 void stopMusic(); |
|
107 |
|
108 QSize getCurrentResolution(); |
106 }; |
109 }; |
107 |
110 |
108 |
111 |
109 #endif //HEDGEWARS_SDLINTERACTION_H |
112 #endif //HEDGEWARS_SDLINTERACTION_H |
110 |
113 |