Commit Graph

246 Commits

Author SHA1 Message Date
Martin Haye
2aa9e342e7 Added tile swap for 3D mode. 2016-11-01 09:25:36 -07:00
Martin Haye
33d9f17503 New blocks for setting and clearing full-screen img. 2016-10-24 07:08:37 -07:00
badvision
0c0c989bf0 Added USE_ITEM pre-connected block 2016-10-08 14:05:22 -05:00
Martin Haye
5c5f5ccf7a Merge branch 'master' of https://github.com/badvision/lawless-legends 2016-08-31 08:17:13 -07:00
Doyousketch2
30e9960ca5 Update size of cursorAssistant when you zoom. 2016-08-25 15:15:19 -04:00
Martin Haye
ecf76efde2 Mostly implemented ability to add/remove players, but got some debugging to do. 2016-08-17 08:09:14 -07:00
Brendan Robert
e461f61b84 Added println with empty string combo block to editor 2016-07-27 23:44:15 -05:00
Brendan Robert
9f3e63e04c Updated pre-connected blocks 2016-07-27 23:42:07 -05:00
Martin Haye
0458b489c5 Fixed the Dropbox links for Outlaw editor to be more current. 2016-07-23 11:58:36 -05:00
Brendan Robert
7be0683eb9 Script editor now resizes with window 2016-07-16 20:39:28 -05:00
Martin Haye
43fa3101a3 Slow progress getting packer to run as a plugin. 2016-07-16 05:09:21 -07:00
Brendan Robert
e0c2ce2688 Preconnected block updates 2016-07-12 00:08:05 -05:00
Brendan Robert
31fd48eefd Added context menu for sheet editor to insert, clone, and delete rows. 2016-07-11 21:38:54 -05:00
Martin Haye
1fae938e8a Merge branch 'master' of https://github.com/badvision/lawless-legends 2016-07-10 17:18:07 -07:00
Martin Haye
be40d8f4f4 Added ability to clear all encounter zones, and to set the avatar tile. 2016-07-10 17:18:03 -07:00
Brendan Robert
2a9293272d Added additional pre-connected blocks 2016-07-10 18:28:04 -05:00
Martin Haye
df446bc38b Added support for arbitrary game flags, and most of stat increase/decrease. 2016-07-07 16:15:31 -07:00
Martin Haye
57c65f1c69 Added item-related Blocks. 2016-07-07 13:59:07 -07:00
Brendan Robert
63881d948f Added tile copy/export and a few other minor refactorings 2016-07-06 00:54:20 -05:00
Brendan Robert
ba0b04ce0e Can haz excel and TSV import! 2016-07-05 17:06:00 -05:00
Brendan Robert
dc81bbc8aa Enter is no longer required to keep changes when editing spreadsheet cells 2016-07-05 14:50:22 -05:00
Brendan Robert
641e8750d8 Better handling of data, edit existing sheets works better and column reordering is now retained 2016-07-05 11:59:06 -05:00
Brendan Robert
68b10cee7c Basic sheet editor functionality is working. 2016-07-05 11:50:14 -05:00
Brendan Robert
4df9461029 Minor code cleanups in mythos editor 2016-07-05 02:53:49 -05:00
Brendan Robert
2f75c3e14a Most of sheet implementation has been done, still a little left to do though. 2016-07-05 02:53:33 -05:00
Brendan Robert
da9e31a920 Noted Java bug that affects outlaw editor -- if affected you have to use 1.8u50 or earlier. (u40 works fine) 2016-07-04 12:39:14 -05:00
Brendan Robert
5e1e01e896 Added example interaction to plugin 2016-07-04 12:38:35 -05:00
Brendan Robert
a521b66045 Changed order of script elements in XML and added Mutation repair script for "if" blocks. 2016-07-04 12:37:49 -05:00
Martin Haye
cb124995f4 Established some basics of the new A2Pack plugin. 2016-07-03 15:31:13 -07:00
Brendan Robert
cd312cfc84 Added one more hint: How to take the game data and marshal it back to XML for external processing. 2016-07-03 01:10:39 -05:00
Brendan Robert
18ed359af0 Application state is now an OSGi concern and SCR has been fully integrated to simplify plugin registration 2016-07-03 01:01:05 -05:00
Martin Haye
8ebbc16da8 Fixed streqi logic for matching encounter zone codes. Added a Blockly for starting an encounter. 2016-06-28 07:40:09 -07:00
Brendan Robert
594fb0e10e First step in having an API: The global application state is now an OSGi component and can be accessed by the plugins. 2016-06-26 23:36:28 -05:00
Brendan Robert
485776902e Added starting point of plugin system and example plugin 2016-06-26 19:55:26 -05:00
Brendan Robert
0c832fd6ea BUGFIX: Script clones were also cloning map assignments. 2016-06-14 22:52:33 -04:00
Brendan Robert
22ad31e1ca Created starting point of sheet editor -- about 50% done. 2016-06-06 08:08:22 -05:00
Brendan Robert
7aa933c85b Added Sheets to the schema; resulting data model in JAXB looks good enough too. 2016-06-05 13:11:01 -05:00
Brendan Robert
06111f3b64 Added pre-defined blocks 2016-05-28 20:29:25 -05:00
Brendan Robert
12aec1ad6b Code cleanup for copy selection handling and added copy/paste in map editor 2016-05-07 22:05:25 -05:00
Brendan Robert
dddcc65ce4 Map Editor: Filled rectangle drawn in wrong location 2016-05-07 10:32:10 -05:00
Brendan Robert
cfb26b86b0 Fixed null pointer errors when switching and deleting maps and images 2016-04-23 13:11:35 -05:00
Brendan Robert
11a9640e26 Fixed bugs related to rectangular selection and rectangle drawing 2016-04-23 10:33:41 -05:00
Brendan Robert
294fe817e9 Added mouse coordinate info 2016-04-09 10:43:35 -05:00
Brendan Robert
c2b3283601 Copy/paste support added to the Apple hi-res editor (as well as selection) 2016-04-09 10:16:52 -05:00
Martin Haye
d17ef502e3 Good progress on implementing encounter zones. 2016-03-29 15:17:42 -07:00
Brendan Robert
e2dd52fbfc Completely reworked packaging mechanics to create a more reliable result. 2016-01-30 13:02:11 -06:00
Brendan Robert
a460696cdf Set undo levels to 50, got Image editor support working. Undo is 100% ready for testing! 2016-01-30 09:30:18 -06:00
Brendan Robert
47231d366b Got undo working for map editor (though it is slow because redraw is still slow), also bumped undo to 20 levels. 2016-01-30 09:18:37 -06:00
Brendan Robert
6854b8d744 Undo support feature; partially working. 2016-01-30 08:48:46 -06:00
Brendan Robert
59c4d53fc2 Added image clone functionality 2016-01-01 17:53:14 -06:00
Brendan Robert
ddb9afa119 Note to self: There is currently a bug in Oracle Java in Win7 that is breaking the script editor. 2016-01-01 17:43:51 -06:00
Brendan Robert
9f09dcc9a9 Enforce cached tile usage 2016-01-01 17:41:24 -06:00
Brendan Robert
1b2b8ef19e Partial refactoring and temporary work-around for map creation bug. A better fix would be a fully-observable list of maps but that might not be do-able. 2015-10-14 01:29:58 -05:00
Brendan Robert
7ac3f974b9 Fix for NPE the first time you create a new image and try to draw -- the state management was setting a null when there was no previous state 2015-10-14 01:28:54 -05:00
Brendan Robert
5634548879 Efficiency improvements in spell-checker.
1) Spell check is not run if value remains unchanged
2) Fast-failure added to distance calculation to throw out words that vary in length too much
3) Fast-failure added to distance calculation to exit as soon as the max threshold is reached
2015-09-14 19:50:04 -05:00
Brendan Robert
c11d8dfb1e Fixed a few minor defects and also set up the text block to run spell check right away when loading an existing script 2015-09-12 23:23:33 -05:00
Brendan Robert
0ca78ec5f8 Better spelling suggestions, using a secondary algorithm as a tie-breaker to favor the most relevant suggestions 2015-09-12 23:22:58 -05:00
Brendan Robert
287ceca85f Limiting spelling suggesions to the five cloest matches 2015-09-12 23:22:15 -05:00
Brendan Robert
38e8a0dcc7 Disabled blockly editor sounds 2015-09-12 23:21:17 -05:00
Brendan Robert
e69a655426 Permanently set starting class name for debug runs 2015-09-12 23:20:58 -05:00
Brendan Robert
8a88a147f2 Converted text entry to a bigger area, allowing multi-line entry. Added rudimentary spell checking (it's not perfect at the momenent) 2015-09-12 18:40:08 -05:00
Martin Haye
a4e87954a3 All code under Apache 1.1 license as we agreed on this morning. We always intended to do this, now actually getting around to it. 2015-09-10 09:22:07 -07:00
Brendan Robert
ceee2361dc Fixed edit to not happen twice in a row and also updated listviews after edits 2015-08-10 18:13:22 -05:00
Brendan Robert
24028d2d69 NTSC bleed-over is now an optional rendering feature, disabled for now 2015-08-08 20:03:08 -05:00
Brendan Robert
31c14d8d4c Maps are now sorted alphabetically 2015-08-08 20:02:45 -05:00
Brendan Robert
55023ceb79 Added cloning for user types 2015-08-08 20:02:15 -05:00
Brendan Robert
006ed04ad0 Fixed NPE caused by unitalized Scripts object 2015-07-08 15:21:20 -05:00
Brendan Robert
ffb848f386 Added some patch code to restore lost script names from the recent data model change 2015-07-07 00:20:26 -05:00
Brendan Robert
d2f4766e51 Put "init" as the topmost item in the sort again 2015-07-05 22:59:28 -05:00
Brendan Robert
736ab81061 Custom user types are now working, and a few other cleanups in the code were made along the way to support this massive change. 2015-07-05 22:54:23 -05:00
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