Commit Graph

19 Commits

Author SHA1 Message Date
Daan Vanden Bosch
f4b8b30590 .bin and .dat files can now be loaded directly. 2020-01-02 15:26:40 +01:00
Daan Vanden Bosch
050e0ffd57 Added Vol Opt part 2. 2020-01-01 14:26:14 +01:00
Daan Vanden Bosch
71433d253f Actions can now be removed from events. 2019-12-31 23:54:11 +01:00
Daan Vanden Bosch
7806fae98b Actions can now be added to events. 2019-12-31 23:45:49 +01:00
Daan Vanden Bosch
6a88c4558b Lock door and unlock door actions are now editable. 2019-12-31 23:10:27 +01:00
Daan Vanden Bosch
d824984889 - Events are now serialized in the order that they were deserialized
- When adding a new event while an existing event is selected, the new event will now have the selected event as parent
- Generated event IDs now follow the SEGA convention more closely
2019-12-31 20:00:43 +01:00
Daan Vanden Bosch
fe00d6f6a8 - Defensive copies are now made of values emitted in list change events
- Bugfix: FlatMappedListProperty would propagate changes to its dependency list property incorrectly
- Creating event actions is now undoable
2019-12-31 18:45:12 +01:00
Daan Vanden Bosch
bc95a490ca Refactored QuestEventDagModel. 2019-12-30 16:40:58 +01:00
Daan Vanden Bosch
5e8467e7ed QuestEventDagModel now enforces connectivity. 2019-12-30 02:19:38 +01:00
Daan Vanden Bosch
596bd103da Events can now be selected by clicking anywhere on the event and the selected event can be deleted by pressing the delete key. 2019-12-29 23:00:09 +01:00
Daan Vanden Bosch
de20e7b82f - Bugfix: FlatMappedListProperty wouldn't recompute its value and emit an event when it's computed property changed
- Event section IDs are now immutable
- Top level events can now be added
2019-12-27 23:33:34 +01:00
Daan Vanden Bosch
5b5ce69d07 You can now view just the NPCs of a specific wave by clicking a button next to the wave ID in the events view. 2019-12-27 16:56:48 +01:00
Daan Vanden Bosch
c5d78b49ac Bugfix in FlatMappedProperty and FlatMappedListProperty: flat mapped values would not update correctly if the flat mapped property didn't have observers. 2019-12-27 02:49:30 +01:00
Daan Vanden Bosch
994afa7387 Refactored HTML element creation code. Removed PropertyChangeEvent, properties don't emit their old value anymore. Added an EventsController and moved some code from EventsView and QuestEditorStore to it. 2019-12-27 00:55:32 +01:00
Daan Vanden Bosch
b4dcbba8f8 Added NpcCountsController and added snapshot tests for NpcCountsView. 2019-12-26 18:46:28 +01:00
Daan Vanden Bosch
2808983add Added DisposablePromise to facilitate cancelling promises that are underway when a component is disposed. Added EntityInfoController with unit test and added tests for EntityInfoView. 2019-12-26 00:44:30 +01:00
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
243638879c Entity counts in area select are now updated when adding or removing entities. Added more unit tests. 2019-12-24 03:04:18 +01:00
Daan Vanden Bosch
100272a115 Added a QuestInfoController and added unit tests for QuestInfoView. 2019-12-23 22:38:44 +01:00