0ad/binaries/data/mods/mod/gui/modmod
Angen 841bf5f2dd Color incompatible mods and add filter
This helps to see compatible mods in the list, which can get a bit long.
For incompatible mods in disabled section use gray colour.
For incompatible mods in enabled section use red colour (what can happen
when using arguments to start the game or they can be in config file).
Add option to filter compatible mods, this does not affect enabled
section, because if there is incompatible mod, it is error and it needs
to be always visible.
Add function recomputeCompatibility and g_ModsCompatibility to avoid
recomputing aredependenciesmet when coloring mods, because every column
is colored separately.
Disable enable mod button if mod is incompatible.
Remove all dependencies met messages as they are now replaced by this
mechanism.

fix getSelectedModUrl in process

Differential revision: D3687
Fixes: #6053
Tested by: @Freagarach
Comments by: @vladislavbelov
This was SVN commit r25095.
2021-03-21 10:22:50 +00:00
..
help Remove GUI object setting values z="0", size="0 0 100% 100%", hidden="false" in XML page specifications that are redundant with the default style values. 2019-09-21 15:54:25 +00:00
modmod.js Color incompatible mods and add filter 2021-03-21 10:22:50 +00:00
modmod.xml Color incompatible mods and add filter 2021-03-21 10:22:50 +00:00
modmodio.js PushGuiPage support for passing a function instead of a function name. 2019-08-16 18:46:04 +00:00
styles.xml Delete invalid ModmodScrollbar style use and style property from 64bfa089af and 833c9f108c, identified by the LOGWARNING from be963ec9b7, reported by nani. 2019-08-29 07:56:26 +00:00
validatemod.js Bump version to alpha 24. 2018-12-26 11:28:37 +00:00
validatemod_test.js Use https in hyperlinks for sites that support it, refs #5257. 2018-08-23 09:23:06 +00:00