0ad/source/gui/scripting
elexis e1014aad3b Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively.
Remove the remaining of such checks after d3e56f0f57 removed 21 of them
already.
2c47fbd66a initialized the pointer at construction time rather than at
random conditional events later.

Differential Revision: https://code.wildfiregames.com/D2205
Comments By: Vladislav, wraitii
Tested on: gcc 9.1.0, clang 8.0.1

This was SVN commit r22741.
2019-08-21 10:12:33 +00:00
..
GuiScriptConversions.cpp Delete wrongful proxy CGUIManager::GetPreDefinedColor from f0d9806b3f. 2019-08-13 18:00:41 +00:00
JSInterface_GUIManager.cpp PushGuiPage support for passing a function instead of a function name. 2019-08-16 18:46:04 +00:00
JSInterface_GUIManager.h PushGuiPage support for passing a function instead of a function name. 2019-08-16 18:46:04 +00:00
JSInterface_GUITypes.cpp Replace JS_THIS_OBJECT and JS::CallReceiver in preparation for SpiderMonkey 49 and 61. 2019-08-13 14:11:43 +00:00
JSInterface_GUITypes.h Delete JSClass JSI_GUIColor / GUIColor from af9c336b43, refs #5387, D1699. 2019-07-23 14:22:27 +00:00
JSInterface_IGUIObject.cpp Use CGUI& instead of CGUI* so that the 50+ users stop wondering whether or not that is null and can't even be mistaken to add redundant null checks preemptively. 2019-08-21 10:12:33 +00:00
JSInterface_IGUIObject.h Upgrade SpiderMonkey to version 45.0.2, refs #4893. 2019-08-07 22:37:43 +00:00
JSInterface_IGUITextOwner.cpp Replace JS_THIS_OBJECT and JS::CallReceiver in preparation for SpiderMonkey 49 and 61. 2019-08-13 14:11:43 +00:00
JSInterface_IGUITextOwner.h Introduce a JSInterface_IGUITextOwner to encapsulate JSI_IGUIObject::getTextSize from 9c5062147a / D844. 2019-08-02 16:55:15 +00:00
ScriptFunctions.cpp Move UserReporter C++/JS functions from JSInterface_Debug.cpp to JSInterface_UserReport.cpp, refs #4772. 2018-08-22 12:48:27 +00:00
ScriptFunctions.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00