0ad/source/simulation2/system
wraitii f3aedf88a6 Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros
The new methods:
- aren't included in ScriptInterface.h directly, lightening that header
- don't use boost CPP
- don't need argument types or number or constness to be specified
- can work with object methods somewhat transparently
- support optional cmptPrivate (allowing removal of many UNUSED macro)
- support optional const ScriptRequest&, which is safer.

This first diff changes only some of the JSI files & the component
manager. Further diffs will update other files and finally delete the
current code.

Differential Revision: https://code.wildfiregames.com/D2818
This was SVN commit r24969.
2021-03-01 20:52:24 +00:00
..
CmpPtr.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
CmpPtr.h Replace use of safe bool by explicit bool operator. 2015-01-25 03:11:24 +00:00
Component.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ComponentManager.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
ComponentManager.h Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
ComponentManagerSerialization.cpp Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
Components.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ComponentTest.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
DynamicSubscription.cpp Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
DynamicSubscription.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
Entity.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
EntityMap.h Use templates to replace explicit serialization helpers. 2020-12-19 09:10:37 +00:00
IComponent.cpp Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
IComponent.h Clean up header includes, add new forward declarations. 2020-11-21 11:20:29 +00:00
Interface.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
InterfaceScripted.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
LocalTurnManager.cpp Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
LocalTurnManager.h Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00
Message.h Remove DefPersistentRooted and unneeded includes. 2020-11-12 08:24:30 +00:00
ParamNode.cpp Fix most of the new vs2017 induced warnings. 2020-11-26 22:28:50 +00:00
ParamNode.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
ReplayTurnManager.cpp Revert cf6aaf37a4, causing false OOS in visual replays. 2021-01-22 17:13:12 +00:00
ReplayTurnManager.h Revert cf6aaf37a4, causing false OOS in visual replays. 2021-01-22 17:13:12 +00:00
SimContext.cpp Simulation context cleanup, refs #3991, #3168. 2016-05-19 19:42:07 +00:00
SimContext.h Simulation context cleanup, refs #3991, #3168. 2016-05-19 19:42:07 +00:00
TurnManager.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
TurnManager.h Add an interface for Reinforcement Learning. 2020-08-01 10:52:59 +00:00