Commit Graph

14 Commits

Author SHA1 Message Date
Daan Vanden Bosch
99d50d754d Replaced js-logger. Improved testability with mocks, improved test configuration and code improvements. 2019-12-25 00:17:02 +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
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
3a95e8a974 Added server select. Widget construction now happens in two phases with a finalize_construction method being called from the lowest subclass. 2019-09-14 15:15:59 +02:00
Daan Vanden Bosch
62db02e278 ListProperties can now emit update events. 2019-09-03 16:44:13 +02:00
Daan Vanden Bosch
73619ea91f "Save as..." button works again. Added key bindings for most quest editor actions. 2019-08-31 20:01:35 +02:00
Daan Vanden Bosch
2859dacd90 Added icons, select button and quest area select. 2019-08-29 18:24:03 +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
03dc60cec9 Undo/redo now works again in the quest editor. The NPC counts view is also ported. 2019-08-26 15:42:12 +02:00
Daan Vanden Bosch
17400200a0 Ported quest info view to the new GUI system. 2019-08-23 17:00:39 +02:00
Daan Vanden Bosch
8e13441f26 Improved observables and ported more of the quest editor to the new GUI system. 2019-08-22 22:45:01 +02:00
Daan Vanden Bosch
dbd5dba682 Tweaked theme and started working on porting quest editor to the new UI system. 2019-08-21 22:04:08 +02:00
Daan Vanden Bosch
72506461ab Swapped code using new and old UI system around. 2019-08-21 17:56:46 +02:00