Commit Graph

53 Commits

Author SHA1 Message Date
Daan Vanden Bosch
864bf40da3 Prevented all tests to log to console, except for one DebugController test. 2020-09-27 00:31:22 +02:00
Daan Vanden Bosch
5d3d6a24ba Model assets are now reloaded when the model property is changed. 2020-09-24 19:52:02 +02:00
Daan Vanden Bosch
edba25c3bd The model property is now taken into account for many objects during initial load of model assets. 2020-09-24 19:07:22 +02:00
Daan Vanden Bosch
033cbf2436 Entity-specific properties are now shown in the entity info view for supported entities. 2020-09-23 21:37:20 +02:00
Daan Vanden Bosch
329ca0e539 Made low-level quest objects structurally cloneable again. 2020-07-19 18:11:17 +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
2eaf4fe455 Upgraded all dependencies and fixed linting issues. 2020-07-14 20:57:50 +02:00
Daan Vanden Bosch
c9891410d9 Improved WebGPU renderer:
- The renderer now uses buffer memory mapping instead of the deprecated setSubData
- It can now render models without texture
- It can now use S3TC textures
2020-04-26 22:19:26 +02:00
Daan Vanden Bosch
b276ba988e Quests can now be saved in GC format. 2020-01-16 21:45:20 +01:00
Daan Vanden Bosch
542f61bf0c Improved error handling in viewer. 2020-01-06 23:32:14 +01:00
Daan Vanden Bosch
93e05ea614 - Moved instructions/opcodes and DFA code to core to avoid dependency from core to quest_editor
- When the assembly worker updates map designations, it now takes map_designate and map_designate_ex into account
2020-01-02 18:42:08 +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
850521c9e9 When undoing removal of the last event of a connected sub graph, the recreated sub graph will be inserted at the correct index now. 2019-12-31 19:21:16 +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
5f11b6de26 Event DAG edges now update correctly again. 2019-12-31 14:40:23 +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
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
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
be144ce9b1 Event section IDs and delays can now be edited. 2019-12-22 17:24:22 +01:00
Daan Vanden Bosch
2083793e67 Added basic test for application initialization. 2019-12-22 00:43:27 +01:00
Daan Vanden Bosch
05c9f3ce81 All code now uses HttpClient interface instead of fetch for improved testability. 2019-12-21 22:49:41 +01:00
Daan Vanden Bosch
f8a9c65086 NPC wave numbers are now shown in the entity info view. 2019-12-21 15:56:24 +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
b2c8a56a7b Fixed bug in QuestEntityControls that resulted in entities being positioned incorrectly when transitioning between sections. 2019-12-17 22:03:17 +01:00
Daan Vanden Bosch
4a755a884f Entity world-relative rotation now stays constant while translating manually. 2019-11-04 18:02:30 +01:00
Daan Vanden Bosch
db9d15b78a Fixed bug in computation of inverse rotation of section. The bug manifested while manually translating an entity across a rotated section. 2019-11-04 18:01:11 +01:00
Daan Vanden Bosch
f1fa19238d Event DAG edges are now shown with lines. 2019-10-31 19:11:14 +01:00
Daan Vanden Bosch
5f1b3d5ff1 Quest events are now grouped in DAGs. 2019-10-29 15:22:46 +01:00
Daan Vanden Bosch
13fd0a984c Fixed bug in QuestModel. 2019-10-27 22:47:38 +01:00
Daan Vanden Bosch
ff8f02fe5b Refactored events model and added a basic view for it behind a feature flag. 2019-10-10 23:11:52 +02:00
Daan Vanden Bosch
c287fdeb2f Renamed event-related types. Updated feature list. 2019-10-10 19:47:38 +02:00
Daan Vanden Bosch
9803bfe125 Wave data is now parsed/written and converted to models. 2019-10-10 13:47:43 +02:00
Daan Vanden Bosch
345c9ab0dc Improved typing of ListProperty. 2019-10-07 18:26:45 +02:00
Daan Vanden Bosch
4bf2148b39 Entities can be rotated via the entity info view. 2019-09-29 18:53:01 +02:00
Daan Vanden Bosch
1498b37f67 Reduced GC pressure while rotating entities. 2019-09-28 21:31:04 +02: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
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
7ae4ad428c Basic entity creation via drag and drop. 2019-09-19 22:20:17 +02:00
Daan Vanden Bosch
1c2473c24f Improved loading of store data. 2019-09-05 20:30:11 +02:00
Daan Vanden Bosch
bb7bf16f9f Ported part of the hunt optimizer to the new GUI system. The methods tab is now working except for sorting. 2019-09-02 14:41:46 +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