1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00

Use enum class for RCT2_SOUND (#9618)

* Use enum class for RCT2_SOUND

* Fix formatting. Fix mistaken declaration.

* Change name of enum to SoundId

* Fix clang format
This commit is contained in:
Duncan
2019-07-22 19:02:45 +01:00
committed by GitHub
parent 5a6f573f6b
commit ab5f5b20cd
49 changed files with 511 additions and 490 deletions

View File

@@ -235,7 +235,7 @@ void chat_history_add(const char* src)
free(buffer);
Mixer_Play_Effect(SOUND_NEWS_ITEM, 0, MIXER_VOLUME_MAX, 0.5f, 1.5f, true);
Mixer_Play_Effect(SoundId::NewsItem, 0, MIXER_VOLUME_MAX, 0.5f, 1.5f, true);
}
void chat_input(CHAT_INPUT input)