2024-10-30 19:44:08 +01:00
|
|
|
/*****************************************************************************
|
2026-01-05 14:42:59 +01:00
|
|
|
* Copyright (c) 2014-2026 OpenRCT2 developers
|
2024-10-30 19:44:08 +01:00
|
|
|
*
|
|
|
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
|
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
|
|
|
*
|
|
|
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
#include "WallSceneryEntry.h"
|
|
|
|
|
|
2025-08-17 11:46:03 +02:00
|
|
|
namespace OpenRCT2
|
2024-10-30 19:44:08 +01:00
|
|
|
{
|
2025-08-17 11:46:03 +02:00
|
|
|
Audio::DoorSoundType WallSceneryEntry::getDoorSoundType() const
|
|
|
|
|
{
|
|
|
|
|
return static_cast<OpenRCT2::Audio::DoorSoundType>(
|
|
|
|
|
(flags2 & WALL_SCENERY_2_DOOR_SOUND_MASK) >> WALL_SCENERY_2_DOOR_SOUND_SHIFT);
|
|
|
|
|
}
|
|
|
|
|
} // namespace OpenRCT2
|