Commit Graph

948 Commits

Author SHA1 Message Date
Daan Vanden Bosch
cd830a7388 Fixed two bugs in assembler. 2021-04-26 16:08:05 +02:00
Daan Vanden Bosch
c093cb813e Added semantic highlighting for labels to the ASM editor. 2021-04-26 15:38:34 +02:00
Daan Vanden Bosch
797c5a298e Fixed bugs in ASM editor signature help. The bytecode IR now contains all ASM instruction arguments, even when they are the wrong type or there are too many. 2021-04-25 16:53:26 +02:00
Daan Vanden Bosch
b973c99c6a All instructions using the same opcode are now highlighted when the cursor is on an opcode mnemonic in the ASM editor. 2021-04-24 23:04:59 +02:00
Daan Vanden Bosch
2f0ebd9443 Added go to symbol to ASM editor. 2021-04-24 13:19:19 +02:00
Daan Vanden Bosch
9494a70591 Added type definitions and documentation to completion suggestions. 2021-04-24 12:14:48 +02:00
Daan Vanden Bosch
5210792a3e Simplified opcode definitions and improved ASM editor type signatures. 2021-04-23 18:03:45 +02:00
Daan Vanden Bosch
3122bb4666 Added opcode checks. Joined RegTufRefType and RegRefType. Improved type definitions. 2021-04-21 21:36:18 +02:00
Daan Vanden Bosch
949af36381 The assembler now detects when too few arguments are passed to an opcode again. 2021-04-21 16:36:31 +02:00
Daan Vanden Bosch
60147f3c7a Improved script ASM tokenization performance. 2021-04-20 22:00:44 +02:00
Daan Vanden Bosch
f4d39afdee Improved AssemblyWorker performance. 2021-04-20 16:34:48 +02:00
Daan Vanden Bosch
955d7dad29 Greatly improved script assembly performance. 2021-04-19 21:53:15 +02:00
Daan Vanden Bosch
feec12b308 Improved assembly performance in JS. 2021-04-18 21:35:02 +02:00
Daan Vanden Bosch
5c0b7a20f0 Upgraded Gradle, Kotlin and some libraries. 2021-04-18 20:10:10 +02:00
Daan Vanden Bosch
2d56e7830f Bytecode segments of unknown type are now interpreted as instructions segments if they can be heuristically determined to be code. 2021-04-18 15:14:50 +02:00
Daan Vanden Bosch
de8aef4cca The 3D view camera now resets when a different area variant is configured for the current area. 2021-04-18 12:02:24 +02:00
Daan Vanden Bosch
147c910209 Added more manual fixes for Mine 2 render geometry. 2021-04-18 11:18:24 +02:00
Daan Vanden Bosch
78e1da3ebd Added more manual fixes for area render geometry. 2021-04-17 13:04:14 +02:00
Daan Vanden Bosch
fc64f62285 The 3D view now updates when a different area variant is configured for the current area. Undo/redo of entity translations now works more or less correctly even when a different area variant is now active. Fixed a bug that resulted in double onChange calls when editing an input field. 2021-04-17 11:37:16 +02:00
Daan Vanden Bosch
ecdf7cafb8 Updated features/bugs list. 2021-04-16 22:23:37 +02:00
Daan Vanden Bosch
0112281b1a "Save" now works as expected after "Saving as". 2021-04-16 20:47:02 +02:00
Daan Vanden Bosch
a823e96f68 The save button is now disabled when there are no changes to save. The beforeunload dialog is now only shown when there are unsaved changes. 2021-04-16 15:36:42 +02:00
Daan Vanden Bosch
bc660b23e9 Fixed unit test. 2021-04-15 21:50:52 +02:00
Daan Vanden Bosch
5133235040 "Save" and "Save as..." buttons are now disabled while saving, mainly as visual feedback that a save happened. 2021-04-15 21:40:43 +02:00
Daan Vanden Bosch
4b8241ba80 Existing files can now be saved directly with the "Save" button or Ctrl-S. 2021-04-15 16:16:00 +02:00
Daan Vanden Bosch
329e067a17 The file system access API is now used for opening files when supported by the browser. 2021-04-14 20:35:59 +02:00
Daan Vanden Bosch
d6751b0151 You can now force panning/rotating mode by holding ctrl while clicking and dragging the mouse. 2021-04-13 21:35:07 +02:00
Daan Vanden Bosch
585ce44667 Context menu no longer pops up when dragging and releasing the pointer outside of the 3D view. 2021-04-13 20:49:46 +02:00
Daan Vanden Bosch
b9036f56d3 Fixed unit tests. 2021-04-13 18:41:10 +02:00
Daan Vanden Bosch
85df1015f8 A default new quest is now loaded when the quest editor starts up. 2021-04-13 17:52:20 +02:00
Daan Vanden Bosch
b856a22851 Added dev mode and added more manual tweaks for the render geometry. 2021-04-13 17:42:37 +02:00
Daan Vanden Bosch
29192e5684 Added manual area render geometry culling code. 2021-04-11 21:43:34 +02:00
Daan Vanden Bosch
126b50cb00 Fixed bug in Ninja geometry mesh caching and improved Ninja to Three.js conversion performance. 2021-04-09 22:12:28 +02:00
Daan Vanden Bosch
6003797f15 Textures can now be turned off in the viewer. 2021-04-09 20:56:51 +02:00
Daan Vanden Bosch
92017ca8ec Animated n.rel geometry is now parsed and rendered (without animations). 2021-04-09 16:08:38 +02:00
Daan Vanden Bosch
f20711296b Fixed bug in mesh order tweaks. 2021-04-08 21:34:07 +02:00
Daan Vanden Bosch
e4cbc38d4a "Show skeleton" checkbox is now disabled when the current viewer model doesn't have a skeleton. 2021-04-08 21:04:51 +02:00
Daan Vanden Bosch
5be29df0ac Upgraded to ThreeJS r127. The viewer can now load n.rel and c.rel geometry files. 2021-04-08 15:01:03 +02:00
Daan Vanden Bosch
60d0bc6116 Fixed XJ loading bug in the viewer. 2021-04-04 22:58:39 +02:00
Daan Vanden Bosch
0ff4752949 Fixed bug in NJ bone weight calculation. Improved NJ parser by avoiding reparsing of chunks. 2021-04-04 21:58:36 +02:00
Daan Vanden Bosch
47598a2670 Textures of type 3 are now correctly interpreted as D3DFMT_A1R5G5B5. 2021-03-31 15:28:33 +02:00
Daan Vanden Bosch
e180ac28c9 It's now possible to show the textured render geometry instead of the collision geometry. 2021-03-30 15:03:02 +02:00
Daan Vanden Bosch
969df2f371 Fixed Firefox issue with display of viewer animation list. 2021-03-26 21:00:13 +01:00
Daan Vanden Bosch
a0bf918e42 Fixed viewer animation bug: when loading a new animation, the frame rate would change back to 30 without any indication. 2021-03-26 20:27:23 +01:00
Daan Vanden Bosch
874cff7ae5 All viewer animation controls are now ported. 2021-03-26 19:56:48 +01:00
Daan Vanden Bosch
2ab0baa3b5 Added animation play/pause toggle to the viewer again. 2021-03-26 18:35:09 +01:00
Daan Vanden Bosch
610a2bb64a Added a "Clear animation" button to the viewer. 2021-03-26 18:22:35 +01:00
Daan Vanden Bosch
1c44ce4620 Light source now stays in place when rotating a model in the viewer. 2021-03-26 14:56:09 +01:00
Daan Vanden Bosch
7e5dea8e25 Character animations can be selected again in the viewer. 2021-03-26 14:49:48 +01:00
Daan Vanden Bosch
23716615bf Fixed bug that prevented a random model from being loaded when navigating to the viewer without /models or /textures or parameters. 2021-03-25 21:21:08 +01:00