Commit Graph

224 Commits

Author SHA1 Message Date
Daan Vanden Bosch
c633176925 Fixed unit test. 2020-09-29 16:14:57 +02:00
Daan Vanden Bosch
b68e0b37c6 Removed "Leader flag" from wolves, because it was the value used to determine whether it's a savage wolf or barbarous wolf. 2020-09-27 21:58:58 +02:00
Daan Vanden Bosch
25d82507c0 Fixed some bugs in NPC data interpretation. 2020-09-27 20:40:24 +02:00
Daan Vanden Bosch
99f6a68312 Added all known NPC-specific properties. 2020-09-27 17:43:00 +02:00
Daan Vanden Bosch
6d9e7120d8 Reverted change to default_ep_1.qst so it sets NPC script labels correctly again. Added a check before warning about invalid label references to see if it's a built-in function. 2020-09-27 16:17:13 +02:00
Daan Vanden Bosch
b7c57744df Added unit tests for try_finally and added dispose override to LogStore. 2020-09-27 01:05:37 +02:00
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
94d15b86ec Most data format parsing functions now return a Result type instead of logging and/or throwing when a problem is encountered. 2020-09-26 21:11:49 +02:00
Daan Vanden Bosch
d7588888ae Fixed formatting issues. 2020-09-26 16:49:07 +02:00
Daan Vanden Bosch
4f7797966e Fixed bug in FlatMappedProperty that resulted in undo stack switching not working correctly. 2020-09-25 22:39:31 +02:00
Daan Vanden Bosch
ddb4ba0cc6 Fixed visual bug that made a thin white line appear at the top of the 3D View when activating it via its tab. 2020-09-25 20:23:28 +02:00
Daan Vanden Bosch
d35cbcaf98 Object-specific property values of type angle are now displayed in degrees instead of radians. Fixed the types of some object-specific properties. 2020-09-24 20:25:15 +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
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