Commit Graph

211 Commits

Author SHA1 Message Date
Daan Vanden Bosch
e1f4c34588 Added all known object-specific properties. 2020-09-24 16:59:58 +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
jtuu
9ea2faa826 Added a definition for opcode unknown_de. 2020-08-02 12:45:05 +03:00
Daan Vanden Bosch
329ca0e539 Made low-level quest objects structurally cloneable again. 2020-07-19 18:11:17 +02:00
Daan Vanden Bosch
6fd94c1de2 Improved PRS compression performance. 2020-07-19 00:13:49 +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
cd67e214f1 Introduced Block concept to represent a continuous chunk of bytes. 2020-07-17 00:00:17 +02:00
Daan Vanden Bosch
767397d26d Removed custom WebGL and WebGPU renderers. All 3D rendering is now done by THREE.js again. 2020-07-14 21:50:35 +02:00
Daan Vanden Bosch
2eaf4fe455 Upgraded all dependencies and fixed linting issues. 2020-07-14 20:57:50 +02:00
Daan Vanden Bosch
f8d4507b34 Fixed bug in Widget.finalize_construction. Fixed linting warnings. 2020-07-14 19:46:11 +02:00
jtuu
e0eadeb1ed Fixed an optional module not really being optional (prs-rs). 2020-07-02 17:39:47 +03:00
jtuu
d5c72152e8 Added definitions for opcodes f8b0-f8b5. 2020-06-02 06:38:38 +03:00
jtuu
03616bc890 Made browser specific code runnable in a non-browser environment. 2020-06-02 06:32:37 +03:00
jtuu
103de10b02 Ensure object has the right amount of properties when converting QuestObjects to DatObjects. 2020-06-01 21:38:56 +03:00
jtuu
0d4a15a035 Changed typings of array writing methods in AbstractWritableCursor to be more permissive.
The purpose of this change is to allow using TypedArrays with these methods.
2020-06-01 19:44:45 +03:00
jtuu
6cb6be92d7 Made prs-rs an optional module.
Compression will fall back into the JS implementation if program is not built with prs-rs.
2020-06-01 01:17:26 +03:00
jtuu
172b8e2fd4 Added tests for WASM PRS 2020-05-31 22:24:34 +03:00
jtuu
08b55f8b11 WebAssembly PRS compression/decompression. 2020-05-30 07:06:08 +03:00
jtuu
6c3eb9fd26 Fixed opcode unknown_f961 definition. 2020-05-28 21:10:52 +03:00
Daan Vanden Bosch
9492515b25 Added docs to two NPC properties. 2020-05-01 14:40:32 +02:00
Daan Vanden Bosch
38f4bdd484 Renamed "Debug Log" to "Debug" and moved all debugging related buttons to its toolbar. 2020-04-30 18:27:19 +02:00
Daan Vanden Bosch
da64ad93c5 Event view widgets are now correctly disabled while debugging. 2020-04-29 20:48:47 +02:00
Daan Vanden Bosch
d69a0cbc00 TextArea now correctly sets the disabled state of its textarea element. 2020-04-29 20:05:35 +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
78c18eb1e9 Improved rendering of entities that use additive blending in NPCs/Objects panels. 2020-04-25 22:17:26 +02:00
Daan Vanden Bosch
599cab4b2b Fixed all formatting and linting errors introduced by upgraded eslint and prettier. 2020-04-25 20:29:20 +02:00
Daan Vanden Bosch
44ae05cf90 Fixed bug in Disposer. Fixed linting issue in QuestEditorToolBarController and improved error message. 2020-04-25 19:34:49 +02:00
Daan Vanden Bosch
b3055bc271 Orbital camera rotation sort of works. Translation happens after rotation instead of the other way around. 2020-02-20 14:57:19 +01:00
Daan Vanden Bosch
8e54ac90fd Fixed issue with NJ meshes. 2020-02-01 19:46:57 +01:00
Daan Vanden Bosch
928bdfc12a Fixed issues with incorrectly transformed NJ model meshes. 2020-02-01 18:34:15 +01:00
Daan Vanden Bosch
4eaff297d5 Fixed perspective transformation. 2020-02-01 15:19:16 +01:00
Daan Vanden Bosch
c180b6997e Fixed compilation issues. 2020-01-29 17:37:49 +01:00
Daan Vanden Bosch
ff31c1ad27 Improved panning with perspective camera. 2020-01-29 17:36:15 +01:00
Daan Vanden Bosch
64daaf8fd2 Simplified webpack config and fixed issue with WebGPU typings. 2020-01-29 14:53:08 +01:00
Daan Vanden Bosch
3230268962 Started working on pure WebGL model viewer. 2020-01-26 23:13:09 +01:00
Daan Vanden Bosch
a19a3a4837 WebGPU renderer can now render textures. WebGL and WebGPU renderers now reuse more code. 2020-01-25 22:38:07 +01:00
Daan Vanden Bosch
baffab3234 Started work on WebGPU renderer. 2020-01-23 01:16:52 +01:00
Daan Vanden Bosch
9960d745c2 All texture viewer features are now supported by the TextureWebglRenderer. 2020-01-19 22:38:45 +01:00
Daan Vanden Bosch
85ccdbb0a6 Added experimental WebGL renderer. 2020-01-19 17:16:28 +01:00
Daan Vanden Bosch
f4d9cb290e Additive blending now also works for xj models. Darkened the collision geometry to better accommodate additive blending. 2020-01-18 21:26:49 +01:00
Daan Vanden Bosch
06e1a8e60b Added "additive" blending for the materials that need it. 2020-01-18 20:01:22 +01:00
Daan Vanden Bosch
a92dbcc287 Object models are now loaded completely. 2020-01-17 22:42:11 +01:00
Daan Vanden Bosch
603c221365 Improved DisposablePromise disposal process. 2020-01-17 18:23:32 +01:00
Daan Vanden Bosch
79a68a6b7b Added internet time to navigation menu. 2020-01-17 14:23:50 +01:00
Daan Vanden Bosch
50d1ff7f93 Fixed bug in object code writer. Strings in the object code are now written correctly when the format is DC/GC. 2020-01-16 22:55:47 +01:00
Daan Vanden Bosch
b276ba988e Quests can now be saved in GC format. 2020-01-16 21:45:20 +01:00
Daan Vanden Bosch
7c9a74171e Quest editor now uses the Dialog class for the "Save As" dialog so more options can be added to it. 2020-01-14 21:19:07 +01:00
Daan Vanden Bosch
b2e0a612f8 Dialogs are now properly disposed. 2020-01-08 21:42:12 +01:00
Daan Vanden Bosch
b93b22a223 Made Dialog reusable. 2020-01-07 17:40:01 +01:00
Daan Vanden Bosch
10d6eb68d9 Fixed bug in url path parsing. 2020-01-07 00:19:57 +01:00