1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Codechange: Use ProviderManager to define screenshot generators. (#13526)

This commit is contained in:
Peter Nelson
2025-02-11 21:38:20 +00:00
committed by GitHub
parent 23dc393822
commit 9cdf740097
8 changed files with 576 additions and 532 deletions

View File

@@ -770,9 +770,6 @@ int openttd_main(std::span<char * const> arguments)
VideoDriver::GetInstance()->ClaimMousePointer();
/* initialize screenshot formats */
InitializeScreenshotFormats();
BaseSounds::FindSets();
if (sounds_set.empty() && !BaseSounds::ini_set.empty()) sounds_set = BaseSounds::ini_set;
if (!BaseSounds::SetSetByName(sounds_set)) {