Commit Graph

16 Commits

Author SHA1 Message Date
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
5d6f04c2c4 Small fix for bug in QuestEntityControls. 2019-09-25 01:01:34 +02:00
Daan Vanden Bosch
83eade32dc Refactored QuestEntityControls to make it easier to add behavior. 2019-09-25 00:53:06 +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
f40b1fb168 NPCs in the NPC list are now filtered according to the selected area. Objects can now be added via drag and drop from the object list. 2019-09-22 15:18:46 +02:00
Daan Vanden Bosch
3d9b003e39 Fixed regression: hovered entities are now highlighted again. 2019-09-21 19:03:30 +02:00
Daan Vanden Bosch
dbb5b65b74 Reduced garbage creation for increased performance. 2019-09-21 14:54:42 +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
a97b56cecc Simplified and deduplicated entity transformation code. 2019-09-21 12:48:34 +02:00
Daan Vanden Bosch
6e666b0ea5 Entity drag and drop code doesn't use custom events anymore for increased performance and simplicity. Made code more typesafe and decoupled. Fixed some bugs. 2019-09-20 22:27:19 +02:00
Daan Vanden Bosch
7ae4ad428c Basic entity creation via drag and drop. 2019-09-19 22:20:17 +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
Daan Vanden Bosch
72506461ab Swapped code using new and old UI system around. 2019-08-21 17:56:46 +02:00
Daan Vanden Bosch
791968dd4e Made quest ID, name, short description and long description undoable. 2019-08-14 17:37:06 +02:00
Daan Vanden Bosch
66127253d3 Split code into one module per tool + core and application module. 2019-08-10 22:09:06 +02:00