1
1
forked from 0ad/0ad
0ad/source/ps/tests
wraitii 3bcf360107 Mod and mod-mounting cleanup and improvements.
- Non-visual replays now automatically try to load the replay mods. This
removes the annoyance that -mod=public usually had to be passed.
- MountMods is no longer called in InitVfs but later, making it possible
to load the game in one pass & simplifying things considerably.
- Explicitly ignore duplicates when loading mods
- Interface cleanup: failed mods and incompatible mods were redundant,
only incompatible mods is kept.
- Interface cleanup: `AreModsCompatible`becomes
`CheckForIncompatibleMods`, which becomes a private pure function,
simplifying the control flow somewhat.
- Interface cleanup: `CheckAndEnableMods` is just `EnableMods`, which
explicitly updates loaded & incompatible mods.
- `CacheEnabledModVersions` becomes private and is called on behalf of
the user, removing the need to be careful about updating that (fixes my
concern at 44ec2e324e)

Overall, the logic around mounting & enabled mods should be easier to
understand.

Differential Revision: https://code.wildfiregames.com/D3982
This was SVN commit r25474.
2021-05-20 14:36:42 +00:00
..
stub_impl_hack.h Fix OSX not starting matches following 8fbc095a88. 2018-05-08 10:03:46 +00:00
test_CColor.h Split CColor from Shapes. 2019-01-13 15:38:41 +00:00
test_CLogger.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
test_ConfigDB.h De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
test_CStr.h Workaround differences between libc and libstd string stream parsing of float/doubles. 2019-09-15 12:02:26 +00:00
test_fmt.h Use a more common locale, en_US.UTF-8 is not always present. 2020-11-30 13:59:05 +00:00
test_Hashing.h Fixes PCH after 7bfcd9f78b. 2021-05-20 11:47:56 +00:00
test_Hotkeys.h De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
test_Mod.h Mod and mod-mounting cleanup and improvements. 2021-05-20 14:36:42 +00:00
test_ModIo.h Throw errors instead of warnings on wrong implicit conversions. 2021-05-03 15:44:06 +00:00
test_test.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00