0ad/source/gui/scripting
elexis 0a7d0ecdde CGUISpriteInstance non-copyable and FromJSVal / ToJSVal.
Make CGUISpriteInstance non-copyable to further harden Philips
protection from 8f4f8e240f against unintentional copies of its DrawCall
cache such as in c19f3608a5.
Remove its copy constructor from 849f50a500, make it movable, and until
it becomes otherwise necessary, force move assignment when sprites are
assigned.
Improves the fixes of the compiler warnings about deprecated implicit
copy constructors in 8a32b0b3d4 by avoiding the copies instead of
copying explicitly.
Add ToJSVal, FromJSVal for CGUISprinteInstance to make
JSI_IGUIObject::getProperty and setProperty more consistent.
Rename Sprite operator= to SetName to reduce ambiguity.
Pass CRect by reference in CGUISpriteInstance::Draw.

Differential Revision: https://code.wildfiregames.com/D2133
Comments By: wraitii
This was SVN commit r22570.
2019-07-28 22:40:58 +00:00
..
GuiScriptConversions.cpp CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. 2019-07-28 22:40:58 +00:00
JSInterface_GUIManager.cpp Remove workaround in GetGUIObjectByName 2019-04-20 15:49:42 +00:00
JSInterface_GUIManager.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_GUITypes.cpp Use ToJSVal for JS_NewStringCopyZ to improve encapsulation and consistency and remove a snprintf call. 2019-07-23 15:17:35 +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 CGUISpriteInstance non-copyable and FromJSVal / ToJSVal. 2019-07-28 22:40:58 +00:00
JSInterface_IGUIObject.h Delete unused broken JSI_IGUIObject::construct. 2019-07-23 01:24:49 +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