HomeWildfire Games

CGUISpriteInstance non-copyable and FromJSVal / ToJSVal.

Description

CGUISpriteInstance non-copyable and FromJSVal / ToJSVal.

Make CGUISpriteInstance non-copyable to further harden Philips protection from rP1518 against unintentional copies of its DrawCall cache such as in rP1507.
Remove its copy constructor from rP1536, 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 rP22443 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