1
0
forked from 0ad/0ad
0ad/source/ps/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
..
JSInterface_ConfigDB.cpp Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific. 2020-11-19 09:27:26 +00:00
JSInterface_ConfigDB.h Let players remap hotkeys in-game, fix default hotkeys being qwerty-specific. 2020-11-19 09:27:26 +00:00
JSInterface_Console.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
JSInterface_Console.h Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
JSInterface_Debug.cpp Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
JSInterface_Debug.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_Game.cpp Fix more issues with the RLInterface 2021-02-05 12:23:02 +00:00
JSInterface_Game.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_Hotkey.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
JSInterface_Hotkey.h Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
JSInterface_Main.cpp Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
JSInterface_Main.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_Mod.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
JSInterface_Mod.h Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00
JSInterface_ModIo.cpp Add missing files in 4942cabab5 2020-12-31 14:27:02 +00:00
JSInterface_ModIo.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_SavedGame.cpp Add a Dev Overlay checkbox to activate RejoinTest from the session. 2020-12-17 17:53:13 +00:00
JSInterface_SavedGame.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_UserReport.cpp Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_UserReport.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_VFS.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
JSInterface_VFS.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_VisualReplay.cpp Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00
JSInterface_VisualReplay.h Mass rename CxPrivate to CmptPrivate. 2020-11-13 16:44:15 +00:00