Commit Graph

40 Commits

Author SHA1 Message Date
Daan Vanden Bosch
3edc9b857d Improved FileButton behavior, opening the same file twice in a row will now work. Also simplified its implementation. 2020-01-05 23:20:53 +01:00
Daan Vanden Bosch
cb41529518 Model viewer options are now stored in url parameters so you can link to a specific set of options. 2020-01-05 22:40:26 +01:00
Daan Vanden Bosch
3983ce2613 The model viewer camera now resets when loading a model with "Open file...". 2020-01-05 19:23:21 +01:00
Daan Vanden Bosch
05d5ce6e29 Its now possible to choose a section ID and body type in the model viewer. 2020-01-05 18:40:35 +01:00
Daan Vanden Bosch
f87c2ecf84 - All views now have a View super type
- Widget now has a children array
- Widgets can be activated and deactivated (this recurses over child widgets)
- Renderers are now turned on and off in activate/deactivate methods
- It is now possible to set a tool-local path (this path is appended to the tool's base path)
- TabContainer can now automatically set a path based on paths given in its tab configuration
- It's now possible to directly link to subviews of the viewer and the hunt optimizer
2020-01-05 01:07:35 +01:00
Daan Vanden Bosch
dc9deee5a7 The model viewer can now show any character class' body type. 2020-01-03 23:04:57 +01:00
Daan Vanden Bosch
c9d4b6ab92 Bone weights are now normalized, this almost completely fixes the bone weight issues. 2020-01-03 12:05:51 +01:00
Daan Vanden Bosch
ed8030d697 Added textures to more character class models in model viewer. 2020-01-03 11:14:15 +01:00
Daan Vanden Bosch
20d5b0d52d Added textures to character class models in model viewer. 2020-01-03 00:50:19 +01:00
Daan Vanden Bosch
0035588e43 The different .qst formats are now unpacked correctly. 2020-01-02 13:44:34 +01:00
Daan Vanden Bosch
16b1d0934b The texture viewer can now deal with textures in an AFS archive. 2020-01-02 00:55:55 +01:00
Daan Vanden Bosch
53ca625d43 Added AFS parser. Character class asset loading can now be stopped by calling the CharacterClassAssetLoader's dispose method. 2020-01-01 20:15:39 +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
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
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
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
15ea3f5112 Upgraded all dependencies. 2019-12-21 20:49:20 +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
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
e6d1730e26 yarn upgrade. 2019-10-26 17:41:13 +02:00
Daan Vanden Bosch
a8997e66a9 Removed bind_bi from Property. 2019-10-26 17:03:12 +02:00
Daan Vanden Bosch
9b3d280e4f Upgraded all dependencies and fixed linting warnings/errors resulting from eslint upgrade. 2019-10-01 18:30:26 +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
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
9906ea88a9 Added more finalize_construction calls where necessary. 2019-09-14 15:20:36 +02:00
Daan Vanden Bosch
c9820ceccb More data is now shown in the optimization result view. 2019-09-11 15:51:56 +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
3185737cd9 Made fonts slightly smaller. 2019-08-21 19:06:02 +02:00
Daan Vanden Bosch
844e63735e Texture viewer now uses the new UI system. 2019-08-21 18:59:56 +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
3ba13606aa More work on new UI. 2019-08-20 15:02:58 +02:00
Daan Vanden Bosch
5571f6b1a8 Started working on new UI. 2019-08-19 22:56:40 +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