19 #ifndef HEADER_MUSIC_INFORMATION_HPP
20 #define HEADER_MUSIC_INFORMATION_HPP
27 #include "utils/no_copy.hpp"
28 #include "utils/leak_check.hpp"
30 #include <irrString.h>
31 using irr::core::stringw;
47 std::string m_normal_filename;
48 std::string m_fast_filename;
49 std::vector<std::string> m_all_tracks;
61 float m_normal_loop_start;
62 float m_fast_loop_start;
63 float m_normal_loop_end;
64 float m_fast_loop_end;
70 float m_temporary_volume;
72 static const int LOOP_FOREVER=-1;
73 mutable std::mutex m_music_mutex;
74 Music *m_normal_music,
80 float m_time_since_faster;
96 void setDefaultVolume();
110 #if (defined(WIN32) || defined(_WIN32)) && !defined(__MINGW32__)
111 #pragma warning(disable:4290)
115 void addMusicToTracks();
116 bool isPlaying()
const;
123 const stringw&
getTitle()
const {
return m_title; }
Abstract interface for classes that can handle music playback.
Definition: music.hpp:30
Utility class, you can inherit from this class to disallow the assignment operator and copy construct...
Definition: no_copy.hpp:26
Manager of all sound effects.
Definition: sfx_manager.hpp:55
void update()
Make sure that the sfx thread is started at least once per frame.
Definition: sfx_manager.cpp:801
utility class used to parse XML files
Definition: xml_node.hpp:48