DarkRadiant: master 16da6be7

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 24.01.2023 20:33 master 42cc4965
Affected Issues  0006238: Mission selection list in Game setup is not alphabetically sorted
Changeset 0006238: clean up os::forEachItemInDirectory()

Function now has two implementations: one which retains the old
behaviour of throwing a DirectoryNotFoundException if the given
directory doesn't exist, and another std::nothrow overload which simply
returns a bool. This nothrow version is used in GameSetupPageTdm in
place of an empty catch block.

Both versions are now templated and accept any functor object, which can
sometimes be more efficient than using a std::function wrapper.
mod - libs/os/dir.h Diff File
mod - libs/settings/SettingsManager.h Diff File
mod - radiant/ui/prefdialog/GameSetupPageTdm.cpp Diff File
mod - radiantcore/modulesystem/ModuleLoader.cpp Diff File
mod - radiantcore/settings/GameManager.cpp Diff File
mod - radiantcore/vfs/Doom3FileSystem.cpp Diff File