0ad/source/gui/Scripting
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
..
GuiScriptConversions.cpp Fix building without precompiled headers. 2020-11-18 11:35:36 +00:00
JSInterface_CButton.cpp Reduce duplication in JSI GUI objects implementation. 2020-12-13 15:06:18 +00:00
JSInterface_CList.cpp Reduce duplication in JSI GUI objects implementation. 2020-12-13 15:06:18 +00:00
JSInterface_CText.cpp Reduce duplication in JSI GUI objects implementation. 2020-12-13 15:06:18 +00:00
JSInterface_GUIManager.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
JSInterface_GUIManager.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_GUIProxy.h Reduce duplication in JSI GUI objects implementation. 2020-12-13 15:06:18 +00:00
JSInterface_GUIProxy_impl.h Reduce duplication in JSI GUI objects implementation. 2020-12-13 15:06:18 +00:00
JSInterface_GUISize.cpp [SM60 2/2] Update to Spidermonkey 60 APIs 2020-11-24 15:47:03 +00:00
JSInterface_GUISize.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
JSInterface_IGUIObject.cpp Reduce duplication in JSI GUI objects implementation. 2020-12-13 15:06:18 +00:00
ScriptFunctions.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
ScriptFunctions.h Sort GUI Object types, GUI Object bases and GUI Setting value types into three new folders. 2019-10-02 09:44:00 +00:00