19#ifndef HEADER_MUSIC_INFORMATION_HPP
20#define HEADER_MUSIC_INFORMATION_HPP
27#include "utils/no_copy.hpp"
28#include "utils/leak_check.hpp"
31using irr::core::stringw;
47 std::string m_normal_filename;
48 std::string m_fast_filename;
49 std::vector<std::string> m_all_tracks;
62 float m_normal_loop_start;
63 float m_fast_loop_start;
64 float m_normal_loop_end;
65 float m_fast_loop_end;
71 static const int LOOP_FOREVER=-1;
72 mutable std::mutex m_music_mutex;
73 Music *m_normal_music,
80 float m_time_since_faster;
91 void update(
float dt);
96 void setDefaultVolume();
97 void switchToFastMusic();
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
utility class used to parse XML files
Definition: xml_node.hpp:48