Changeset View
Changeset View
Standalone View
Standalone View
source/soundmanager/ISoundManager.h
/* Copyright (C) 2017 Wildfire Games. | /* Copyright (C) 2020 Wildfire Games. | ||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
Show All 35 Lines | public: | ||||
virtual void SetUIGain(float gain) = 0; | virtual void SetUIGain(float gain) = 0; | ||||
virtual void PlayAsUI(const VfsPath& itemPath, bool looping) = 0; | virtual void PlayAsUI(const VfsPath& itemPath, bool looping) = 0; | ||||
virtual void PlayAsMusic(const VfsPath& itemPath, bool looping) = 0; | virtual void PlayAsMusic(const VfsPath& itemPath, bool looping) = 0; | ||||
virtual void PlayAsAmbient(const VfsPath& itemPath, bool looping) = 0; | virtual void PlayAsAmbient(const VfsPath& itemPath, bool looping) = 0; | ||||
virtual void PlayAsGroup(const VfsPath& groupPath, const CVector3D& sourcePos, entity_id_t source, bool ownedSound) = 0; | virtual void PlayAsGroup(const VfsPath& groupPath, const CVector3D& sourcePos, entity_id_t source, bool ownedSound) = 0; | ||||
virtual bool InDistress() = 0; | virtual bool InDistress() = 0; | ||||
virtual void Hotloader() = 0; | |||||
Stan: Is that name used for other classes doing hotloading? | |||||
vladislavbelovUnsubmitted Not Done Inline ActionsHotloader isn't a proper name for the method doing something. vladislavbelov: `Hotloader` isn't a proper name for the method doing something. | |||||
}; | }; | ||||
extern ISoundManager* g_SoundManager; | extern ISoundManager* g_SoundManager; | ||||
#endif // INCLUDED_ISOUNDMANAGER_H | #endif // INCLUDED_ISOUNDMANAGER_H | ||||
Wildfire Games · Phabricator
Is that name used for other classes doing hotloading?