Commit Graph

28 Commits

Author SHA1 Message Date
Daan Vanden Bosch
15ea3f5112 Upgraded all dependencies. 2019-12-21 20:49:20 +01:00
Daan Vanden Bosch
8ce19fac62 Most dependencies are now injected to improve testability. 2019-12-21 19:40:42 +01:00
Daan Vanden Bosch
ccf8ea6630 ASM editor is now readonly when necessary again. 2019-12-21 14:33:14 +01:00
Daan Vanden Bosch
8e0b7abc52 The current stepping line is now automatically scrolled into view. 2019-12-20 18:26:16 +01:00
Daan Vanden Bosch
663ad75435 Debugging now happens in the VM itself, this simplifies the code. 2019-12-20 16:10:50 +01:00
Daan Vanden Bosch
20885cb0f2 Simplified Widget.finalize_construction. Added game state to QuestRunner and modified execution flow to enable loading of area/entity models. Split QuestModelManager into two different classes so a different loading strategy can used in the quest runner view. Quest runner view is now automatically created when running a quest. 2019-12-19 18:54:01 +01:00
Daan Vanden Bosch
fcff6a2cd6 Almost all quest editor UI elements are now disabled when running a quest in the VM. 2019-12-19 00:11:42 +01:00
Daan Vanden Bosch
786e83ad99 Put breakpoints in script editor gutter behind feature flag. 2019-12-18 23:03:29 +01:00
Daan Vanden Bosch
2366cb3aa0 Refactored script debugging code to avoid circular dependencies and separate concerns. 2019-12-18 22:37:26 +01:00
jtuu
8582a25bc3 Lint 2019-11-16 18:07:21 +02:00
jtuu
918d8f7bdc The script editor is now set to readonly mode when a quest is running. 2019-11-16 17:35:20 +02:00
jtuu
6e41b6fb79 Reworked script editor decorations.
Breakpoints now move correctly when script is edited.
2019-11-15 19:59:05 +02:00
jtuu
911bde2bd9 Highlight the source location currently being executed when VM pauses. 2019-11-14 00:34:07 +02:00
jtuu
144e9513ac Added toggleable icons that represent breakpoints in the script editor. 2019-11-13 21:51:30 +02:00
Daan Vanden Bosch
0583b7499e Added ASM editor history navigation with mouse buttons and keyboard. 2019-10-05 21:11:58 +02:00
Daan Vanden Bosch
c64ba16c7a The ASM editor command palette can now be opened with ctrl-shift-p. 2019-10-01 17:41:28 +02:00
Daan Vanden Bosch
859d85da45 ASM editor view is now sized correctly again. 2019-09-17 12:47:03 +02:00
Daan Vanden Bosch
7d941aa0e4 Undo is now reset when toggling "Inline args mode". 2019-09-15 23:16:11 +02:00
jtuu
f1e6a31f0e Merge branch 'master' into script-editor-settings 2019-09-15 21:44:31 +03:00
Daan Vanden Bosch
87c6ae37e4 Widget's element property is now abstract and is overridden in every concrete subclass. This often simplifies widget code. 2019-09-15 19:32:34 +02:00
Daan Vanden Bosch
da622aab61 Ctrl-Z and Ctrl-Shift-Z undo and redo commands now work more consistently. 2019-09-15 18:34:24 +02:00
jtuu
463685ffa1 Added a toolbar to the script view. 2019-09-14 23:25:21 +03:00
Daan Vanden Bosch
9906ea88a9 Added more finalize_construction calls where necessary. 2019-09-14 15:20:36 +02:00
Daan Vanden Bosch
5446f77202 Refactored widgets to make it possible to centralize processing of constructor-provided options. Made widget event/data flow unidirectional. 2019-08-28 21:36:45 +02:00
Daan Vanden Bosch
f100220176 Refactored widget properties to simplify the interface. 2019-08-28 00:50:38 +02:00
Daan Vanden Bosch
3fd4d7c882 Quest entity view is now ported to the new GUI system. 2019-08-27 14:50:16 +02:00
Daan Vanden Bosch
0a9abcc7ed ASM editor undo now correctly resets when a new quest is loaded. 2019-08-26 19:31:01 +02:00
Daan Vanden Bosch
4e38896676 The ASM editor view has been ported to the new GUI system. 2019-08-26 19:19:19 +02:00