Commit Graph

10 Commits

Author SHA1 Message Date
David Capello 34d1906034 lua: use ObjectId to refer doc objects from script variables
This should fix several crashes using objects in invalid ways where
the object doesn't exist anymore (e.g. an undo deleted referenced
objects in scripts).
2018-11-20 18:12:43 -03:00
David Capello 5b6c35aa86 lua: add Layer.parent/previous/next properties 2018-09-18 09:36:42 -03:00
David Capello a138f2bce6 lua: add more properties to Layer metatable 2018-09-18 00:21:40 -03:00
David Capello 03c663da21 lua: add functions to create layers/frames/cels/tags/slices
Some extra additions:
* Layer.cels
* AniDir constants
* Slice property setters
* Tag.sprite
* Fixed frame numbers in Tag properties
2018-09-11 18:29:15 -03:00
David Capello 0b72249fcd lua: add BlendMode constants 2018-09-10 15:11:59 -03:00
David Capello 240a83b7a0 lua: add Layer.isTransparent/isBackground 2018-09-06 13:02:50 -03:00
David Capello eb946438f5 lua: add __eq to some other metatables 2018-09-05 09:41:44 -03:00
David Capello 4a143cb902 lua: move user data fields to each class 2018-09-05 09:22:59 -03:00
David Capello 8ba664e306 lua: add Layer.isImage/isGroup properties 2018-09-04 17:30:18 -03:00
David Capello f456f3cba3 lua: Initial support for sprite properties
Frames, Palettes/Color, Layers, Cels, Tags, Slices, etc.
2018-09-04 16:10:32 -03:00