From 453f8c05a4fc2ef03ba1d4f7bac43ba871c52fbd Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 29 Aug 2021 19:32:22 +0300 Subject: script revision p1 --- src/leeds/CustomSoundTrack.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/leeds/CustomSoundTrack.h (limited to 'src/leeds/CustomSoundTrack.h') diff --git a/src/leeds/CustomSoundTrack.h b/src/leeds/CustomSoundTrack.h new file mode 100644 index 00000000..e7b97fbc --- /dev/null +++ b/src/leeds/CustomSoundTrack.h @@ -0,0 +1,20 @@ +#pragma once + +#include "common.h" +#include "singletonManager.h" + +class cCustomSoundTrack : public base::cSingleton +{ +public: + bool m_bIsPlaying; + + cCustomSoundTrack(); + bool IsPlaying() + { +#ifdef CUSTOM_SOUND_TRACK + return m_bIsPlaying; +#else + return false; +#endif + } +}; \ No newline at end of file -- cgit v1.2.3