David Capello
cc7bde6cd1
Fix some compiler warnings (implicit casts & unused vars)
2017-04-19 19:26:23 -03:00
David Capello
31116ff424
script: add Sprite.colorMode property and ColorMode constants
2016-05-07 19:44:11 -03:00
David Capello
5665ac848d
script: add className to Context::pushThis()
2016-05-06 16:51:07 -03:00
David Capello
956349f87b
Add Image class to scripting
...
With this change we introduce SpriteWrap and ImageWrap to keep track
of modifications made by the script in one transaction. So we can undo
the script action as one simple action.
2016-04-06 19:05:06 -03:00
David Capello
5bd2a01446
Avoid leaving an extra item in the stack when getThis() is used
2016-04-06 17:18:54 -03:00
David Capello
de8ef623a6
Avoid printing the last script result when we run a script from UI
2016-04-06 16:56:10 -03:00
David Capello
21921fdfd5
Refactor scripting code
2016-04-06 15:37:13 -03:00