David Capello
|
aed23f4751
|
lua: use the active EngineDelegate::onConsolePrint() in print() function
This is needed to output print() messages in the DevConsoleView when
it's open.
|
2018-09-14 20:38:27 -03:00 |
|
David Capello
|
b4b232b10f
|
Update submodules
|
2018-09-14 20:34:59 -03:00 |
|
David Capello
|
eb56884677
|
lua: use our base::open_file_raw to open files from io lib funcs
|
2018-09-13 16:55:53 -03:00 |
|
David Capello
|
4a35e20adf
|
lua: fix Sprite:saveAs() to avoid using the UI
|
2018-09-13 12:28:11 -03:00 |
|
David Capello
|
99d7a434d4
|
lua: remove Sprite:save()
At the moment we will remove this function because it makes more sense
to use saveAs() from scripts.
|
2018-09-13 12:27:48 -03:00 |
|
David Capello
|
2b3e386d15
|
Load Scripts menu before loading keyboard shortcuts
In this way we can see the keyboard shortcuts to run scripts when the
menus are loaded for the first time.
|
2018-09-13 11:56:39 -03:00 |
|
David Capello
|
6108d2d5ad
|
lua: add missing get_image_from_arg() function
|
2018-09-13 11:53:41 -03:00 |
|
David Capello
|
415a37ade0
|
lua: Add Cel.image property setter
|
2018-09-13 11:50:45 -03:00 |
|
David Capello
|
ded3b8ba77
|
lua: add Image:putSprite()
|
2018-09-13 11:50:30 -03:00 |
|
David Capello
|
bd33333f15
|
lua: add Palette() ctor to copy palettes
|
2018-09-13 11:50:04 -03:00 |
|
David Capello
|
be8f026b91
|
lua: the Color(integer) ctor behavior will depend on the active color mode
|
2018-09-13 10:54:44 -03:00 |
|
David Capello
|
fdac96153b
|
lua: fix app.fg/bgColor to get the color value with convert_args_into_color()
|
2018-09-13 10:53:43 -03:00 |
|
David Capello
|
fe9f8bc468
|
Add option to disable the alert about drawing with fg/bg index out of bounds
|
2018-09-13 10:53:14 -03:00 |
|
David Capello
|
195c74ec11
|
lua: add Frame.__eq
|
2018-09-12 18:37:17 -03:00 |
|
David Capello
|
ce9f064438
|
lua: add support to use ipairs() with some collections (sprites/tags/slices/layers/frames/cels)
|
2018-09-12 18:36:41 -03:00 |
|
David Capello
|
02388e2d6a
|
lua: add app.sprites
|
2018-09-12 12:55:56 -03:00 |
|
David Capello
|
b2f83e0a90
|
lua: complete some app.active* set/get properties
|
2018-09-12 12:17:48 -03:00 |
|
David Capello
|
3cd70aa0aa
|
lua: Add cel.position setter/getter
|
2018-09-12 11:22:13 -03:00 |
|
David Capello
|
4ab94e9982
|
lua: add Sprite/Image.spec (ImageSpec metatable)
|
2018-09-11 21:52:53 -03:00 |
|
David Capello
|
065e2520a9
|
Minor formatting change
|
2018-09-11 18:32:13 -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
|
4c5637f636
|
Add missing doc::Image(ImageSpec) impl
|
2018-09-11 16:53:09 -03:00 |
|
David Capello
|
83285d1717
|
Remove unused variable
|
2018-09-11 15:02:08 -03:00 |
|
David Capello
|
9f23f0be55
|
lua: change Frame.frame property to Frame.frameNumber
|
2018-09-10 16:14:13 -03:00 |
|
David Capello
|
5a6ff70edc
|
lua: include stacktrace when we access an invalid property
|
2018-09-10 16:00:02 -03:00 |
|
David Capello
|
0b72249fcd
|
lua: add BlendMode constants
|
2018-09-10 15:11:59 -03:00 |
|
David Capello
|
f66d355249
|
Avoid unused var in release mode
|
2018-09-10 14:35:54 -03:00 |
|
David Capello
|
c12fd2a5f4
|
lua: add Sprite.transparentColor
|
2018-09-10 14:35:45 -03:00 |
|
David Capello
|
d8fb99576e
|
lua: Palette() ctor by default is a 256 colors palette
|
2018-09-10 14:34:35 -03:00 |
|
David Capello
|
4eefcaaa09
|
lua: add Sprite:setPalette()
|
2018-09-10 13:49:41 -03:00 |
|
David Capello
|
10d7020b23
|
lua: add Image:pixels(Rectangle) function
|
2018-09-07 18:03:33 -03:00 |
|
David Capello
|
f604ac95dd
|
lua: add app.alert() function
|
2018-09-07 16:42:58 -03:00 |
|
David Capello
|
ef23e1b307
|
lua: add app.isUIAvailable
|
2018-09-07 16:06:32 -03:00 |
|
David Capello
|
d91fe69c15
|
lua: add Selection(Rectangle) ctor
|
2018-09-07 14:47:17 -03:00 |
|
David Capello
|
6abda997d4
|
lua: Add Selection:add/subtract/intersect/__eq
|
2018-09-07 14:44:54 -03:00 |
|
Gaspar Capello
|
336407fab6
|
Enhancement undo show tooltips option (fix #1827)
|
2018-09-06 15:26:42 -03:00 |
|
David Capello
|
3035820d39
|
Add script::ScopedEngineDelegate
|
2018-09-06 15:12:48 -03:00 |
|
David Capello
|
0e3be4ec91
|
Add Zughy-32 palette
|
2018-09-06 15:01:11 -03:00 |
|
David Capello
|
26d510fffd
|
Support more commands without UI
- BackgroundFromLayer
- CelOpacity
- LayerFromBackground
- RemoveLayer
|
2018-09-06 14:18:59 -03:00 |
|
David Capello
|
2cac540d34
|
lua: add cel.opacity getter/setter
|
2018-09-06 13:22:12 -03:00 |
|
David Capello
|
240a83b7a0
|
lua: add Layer.isTransparent/isBackground
|
2018-09-06 13:02:50 -03:00 |
|
David Capello
|
eb1ebfe728
|
lua: add app.fg/bgColor
|
2018-09-06 13:02:23 -03:00 |
|
David Capello
|
4dd57bd483
|
lua: show full filename when an assert() fails
|
2018-09-06 11:48:18 -03:00 |
|
David Capello
|
2fa07f17bf
|
Always run script tests
|
2018-09-05 19:40:07 -03:00 |
|
David Capello
|
f5b8675d77
|
Make NewLayer command available in non-UI compilation
|
2018-09-05 19:36:40 -03:00 |
|
David Capello
|
57aa2de6d9
|
Create submenus in File > Scripts for each directory in the user scripts/ folder
|
2018-09-05 14:21:11 -03:00 |
|
David Capello
|
674e108b00
|
Don't show the .lua extension in File > Scripts
|
2018-09-05 14:07:05 -03:00 |
|
David Capello
|
bc247395ca
|
Fix RunScript command description when a filename is specified
|
2018-09-05 14:03:45 -03:00 |
|
David Capello
|
798d6df5ff
|
Add File > Scripts menu
|
2018-09-05 13:35:13 -03:00 |
|
David Capello
|
e82847987f
|
Remove link to donate page in Help menu
|
2018-09-05 11:28:20 -03:00 |
|