Commit Graph

126 Commits

Author SHA1 Message Date
Brendan Robert
bc0e0b1217 Global variables can be created and used in scripts now 2015-06-28 23:19:29 -05:00
Brendan Robert
314102bba7 Global and Local functions are now working! All underlying functionality for global/local variables is also in place but untested until variable UI is hooked up 2015-06-23 17:07:19 -05:00
Brendan Robert
050613781d Abstracted Map and Global to both be scopes and share common constructs. 2015-06-23 16:31:37 -05:00
Brendan Robert
e41e515014 Global functions now have proper return and non-return variant calls and full parameter support! 2015-06-23 01:37:39 -05:00
Brendan Robert
f94e2beeb7 Global functions now show up!! 2015-06-22 02:14:12 -05:00
Brendan Robert
2cb2135810 Big step forward in supporting user-defined types, global functions and global variables (still in progress). This has all the new XML/bean support and most of the Blockly glue to make things work. 2015-06-22 01:40:07 -05:00
Martin Haye
5fa973ea7c Added a 'get any key' block. 2015-06-03 07:56:19 -07:00
Brendan Robert
44be65de1a Added new graphics icons added to Blockly 2015-06-01 20:43:28 -05:00
Brendan Robert
126e35d201 Updated Blockly internals to latest from GitHub. Added prompt dialog handler so variable renaming and creation now work! Also added stubs for the next chunk of scripting soon to be added. 2015-06-01 20:43:27 -05:00
Martin Haye
234fadabe1 Merge branch 'master' of https://github.com/badvision/lawless-legends 2015-05-31 19:03:41 -07:00
Martin Haye
6b51dff8b9 Added move_backward blockly block. 2015-05-31 19:03:38 -07:00
Brendan Robert
671de1257c FIXED OLE-12 -- Map script deletion has been implemented with confirmation. Same confirmation propmpt has been added to global script deletion as well. 2015-05-30 16:28:10 -05:00
Martin Haye
994205c842 Merge branch 'master' of https://github.com/badvision/lawless-legends 2015-05-28 09:05:29 -07:00
Martin Haye
f1dfcccff3 Added Blockly blocks for showing portraits. 2015-05-28 08:14:01 -07:00
Brendan Robert
32a3180ebd FIXED OLE-7
Global scripting is now somewhat available but needs some additional features to be really usable.
2015-05-28 01:04:31 -05:00
Brendan Robert
5ef88e1268 OLE-7 Renamed controller/tab to reflect globals, not just global scripts 2015-05-28 01:03:37 -05:00
Brendan Robert
761c3247a2 OLE-7: Refactored script controller to use the same abstract pattern as other UI controllers 2015-05-27 23:48:53 -05:00
Brendan Robert
86a9edf5aa Added new revolver icon for Outlaw editor, but currently there's no packaging to take advantage of it yet. 2015-05-25 23:49:44 -05:00
Brendan Robert
240ea8aad8 Stubbed out the new global script editor UI, not hooked up to anything yet though. 2015-05-25 23:49:10 -05:00
Brendan Robert
93efce12eb Script name colors are now prevented from being too bright and also are bold to be more readable. 2015-05-23 15:50:58 -05:00
Brendan Robert
59b55105a5 Added cursor helper and cleaned up event model (a little) 2015-05-22 00:17:55 -05:00
Brendan Robert
c238eb3afd Added null checks for new maps 2015-05-22 00:17:21 -05:00
Brendan Robert
c24db71b78 Flipped eraser icon horizontally 2015-05-22 00:17:06 -05:00
Brendan Robert
13ac184d89 Object cloning now possible -- TransferHelper is the current holder of the functionality but it should probably be moved somewhere better 2015-05-21 00:14:30 -05:00
Brendan Robert
71f20dcf1b Sort scripts alphabetically now 2015-05-20 23:15:31 -05:00
Brendan Robert
7541cf4a52 Moved left arrow over so it doesn't overlap scripts pane 2015-05-20 23:15:15 -05:00
Brendan Robert
5d252cfc77 fixed incorrectly implemented debounce logic 2015-05-20 23:14:42 -05:00
Martin Haye
907666c716 Now able to script transitions from 2D to 3D and back. 2015-05-20 09:47:35 -07:00
Brendan Robert
b12d9cec7d Control Space hooked up as well as new eraser tool 2015-05-16 12:31:22 -05:00
Brendan Robert
bb913b0242 "Control Space" feature for quick tile selection 2015-05-16 12:29:22 -05:00
Brendan Robert
2049cb0756 Fixed annoying bug that would cause current tile to be disselected when editing name/category 2015-05-15 00:08:13 -05:00
Brendan Robert
1c7b1159be Tiles are now presented in category-based submenus and current tile is retained when switching maps 2015-05-15 00:07:51 -05:00
Brendan Robert
f4b45003bd Switched to JFX 1.8 packaging and added visibility controls for scripts (still a work in progress though) 2015-05-14 01:01:58 -05:00
Brendan Robert
c79f333d24 Adding new visiblity icons 2015-05-14 01:01:28 -05:00
Brendan Robert
8206fb28dd Updated project dependencies to be compatible with JDK8u40 2015-04-02 23:44:09 -05:00
Brendan Robert
e0d16ebd08 Fixed way that missing tiles are handled: WARNING this update requires JRE 8_40 or higher 2015-03-29 01:35:46 -05:00
Brendan Robert
fe2a00c46c Added zoom level display to image editor 2015-03-15 11:19:56 -05:00
Brendan Robert
547d0c72f4 Added state preservation logic to image editor to keep brush and fill pattern selections intact when switching images 2015-03-14 23:24:08 -05:00
Brendan Robert
5da472806d Minor semantic changes, nothing earth-shattering here 2015-03-12 00:14:36 -05:00
Brendan Robert
cfad4e4bdc Added category name to tile selection in map editor 2015-03-08 19:15:51 -05:00
Brendan Robert
6bc3b87329 Changed category to a single value and added auto-sort in the tile and image selectors 2015-03-08 18:58:31 -05:00
Brendan Robert
61bf08d0c4 Added PC/Hi/Lo variants of the B&W checkered patterns 2015-02-09 21:24:34 -06:00
Brendan Robert
17d8c6d082 Added whole-image paste support 2015-02-03 19:10:36 -06:00
Brendan Robert
f6b38066c7 Added logic to reset zoom of image editor when switching/creating images and also fixed blue rectangle showing in wrong place when drawing rectangles. 2014-12-16 22:06:27 -06:00
Brendan Robert
e7aa88ab65 Moved image editor fxml and fixed case issue that broke in many OSes (but worked in Mac, strangely enough). Also un-smushed image form fields 2014-12-16 21:07:29 -06:00
Brendan Robert
ef905a7457 Changed zoom/pan of image editor to use scrollPane, also other small code tweaks in a few places. 2014-12-15 20:59:38 -06:00
Brendan Robert
a5915592b9 Updated test expectations for red/blue hgr tests 2014-11-08 10:09:50 -06:00
Brendan Robert
929e285f00 Fixed image editor panning behavior (overlap issue is still present) 2014-11-08 09:25:33 -06:00
Brendan Robert
21e5495202 Added lo/hi variations for black and white. Also made incremental improvements for image editing (fixed slowness issues) 2014-11-08 08:32:00 -06:00
Brendan Robert
ca3f295d8d Added black/white tests back, lowered expectations for other test quality 2014-11-05 01:16:39 -06:00