1
0
forked from 0ad/0ad
0ad/source
wraitii 66fbc23f2c De-singletonify CConfigDB, make hooks RAII.
CConfigDB is no longer a singleton, and its members are no longer
static.
This makes it possible to have several instances of it, useful for
testing of if we ever want to have different config profiles.

Also updates hooks to delete themselves on destruction, to fit a more
natural RAII pattern. Long-lived objects must take care to destroy hooks
before ConfigDB is reset.

Differential Revision: https://code.wildfiregames.com/D3866
This was SVN commit r25326.
2021-04-27 07:45:40 +00:00
..
collada Refactors smart pointers creation, reduces code duplication and improves exception safety. 2021-02-13 23:53:40 +00:00
graphics De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
gui De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
i18n Moves CreateDateTimeInstance from the public L10n header to its implementation. 2021-03-12 09:11:22 +00:00
lib Reduces number of allocations during error message formatting. 2021-04-22 06:53:03 +00:00
lobby Fix typos in log and warn messages 2021-03-10 16:50:15 +00:00
maths Rework 7ee94f23df 2021-04-16 16:01:30 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Remember OOS on a per-client basis. 2021-03-31 15:55:19 +00:00
pch ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak 2021-04-11 09:23:10 +00:00
ps De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
renderer De-singletonify CConfigDB, make hooks RAII. 2021-04-27 07:45:40 +00:00
rlinterface ParamNode: switch to utf8, ToXML -> ToXMLString, test tweak, PCH tweak 2021-04-11 09:23:10 +00:00
scriptinterface Set a stack quota for JS scripts to prevent crashes from infinite loops. 2021-04-16 16:49:18 +00:00
simulation2 Adds line drawing to DebugRenderer. 2021-04-25 20:48:44 +00:00
soundmanager Fix compilation with --without-audio 2021-03-04 17:36:24 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Adds line drawing to DebugRenderer. 2021-04-25 20:48:44 +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