0ad/source
wraitii 8b08f4ae7a Change GUI settings to explicitly be member variables.
Completes work starting in D2313 / a33fd55e81:
- Make C++ mistakes where values can be changed without messages being
sent easier to notice / harder to do.
- Make the IGUISetting interface more flexible, allowing custom settings
implementing their own logic. This is used to clean up hotkey code
introduced in 33af6da5e1.

Side effects:
- FromJSVal_Vector clears the vector being passed in. I have some vague
memory of not doing that in D24 / 2bae30c454 as an optimisation, but it
seems more like a footgun to me.
- Most usage of SetSettingFromString is replaced by direct method calls,
as we can generally cast to the proper GUI object type. Where we can't,
it is kept as a poor's man virtual dispatch.
- It moves a few member variables elsewhere, e.g. TextOwner now gets its
own member variable settings.

Differential Revision: https://code.wildfiregames.com/D3892
This was SVN commit r25392.
2021-05-06 08:22:37 +00:00
..
collada Refactors smart pointers creation, reduces code duplication and improves exception safety. 2021-02-13 23:53:40 +00:00
graphics Fix mistake in 100159548c 2021-05-06 07:42:49 +00:00
gui Change GUI settings to explicitly be member variables. 2021-05-06 08:22:37 +00:00
i18n Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
lib Reduces number of allocations during error message formatting. 2021-04-22 06:53:03 +00:00
lobby Fix some warnings. 2021-05-02 15:45:40 +00:00
maths Further reduce usage of TERRAIN_TILE_SIZE in non-terrain components 2021-05-02 17:40:00 +00:00
mocks
network Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
pch Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
ps Fix warning in cdd75deafb 2021-05-04 14:01:18 +00:00
renderer Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
rlinterface ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak 2021-04-11 09:23:10 +00:00
scriptinterface Change GUI settings to explicitly be member variables. 2021-05-06 08:22:37 +00:00
simulation2 XMB Improvements, parse JS into XMB, make strings more efficient. 2021-05-04 13:02:34 +00:00
soundmanager XMB Improvements, parse JS into XMB, make strings more efficient. 2021-05-04 13:02:34 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Fix enabling / disabling shadows in the actor viewer. 2021-04-28 11:09:16 +00:00
main.cpp Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
test_setup.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00