Commit Graph

20 Commits

Author SHA1 Message Date
Daan Vanden Bosch
d51c12096e Object-specific properties are now editable. 2020-09-24 17:40:58 +02:00
Daan Vanden Bosch
8b8e87c8c5 Quest entities are now backed by an ArrayBufferBlock so that a "custom entity properties" feature can be added later. 2020-07-18 23:00:48 +02: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
8d1721fd4b Undo and redo now work correctly for deleting events. 2019-12-30 01:29:00 +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
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
be144ce9b1 Event section IDs and delays can now be edited. 2019-12-22 17:24:22 +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
9e2858dae2 Entities can now be rotated around their y-axis by right-click dragging. 2019-09-28 21:11:57 +02:00
Daan Vanden Bosch
d97872d528 The selected entity can now be deleted with the delete key. 2019-09-24 19:47:22 +02:00
Daan Vanden Bosch
79b85fc859 Entity creation is now undoable. Fixed a bug that occurred when you started to translate an entity and then moved the cursor outside of the 3D-view. 2019-09-21 14:39:04 +02:00
Daan Vanden Bosch
f73db32eaa Fixed entity translation bug. Fixed bug that caused default browser key bindings to be triggered instead of applications bindings. 2019-08-31 20:30:40 +02:00
Daan Vanden Bosch
31c51ca83d Fixed bug in entity translation undo/redo. 2019-08-29 18:42:44 +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
3fd4d7c882 Quest entity view is now ported to the new GUI system. 2019-08-27 14:50:16 +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