Commit Graph

33 Commits

Author SHA1 Message Date
Daan Vanden Bosch
f95e7ea220 All unit tests pass again. Removed dependency on text-encoding. Refactored cursors to reuse more code. 2019-07-27 21:47:49 +02:00
Daan Vanden Bosch
4eeda19837 Jest tests are working again. 2019-07-27 17:13:00 +02:00
Daan Vanden Bosch
e859477727 Linting works again. Static asset generation is working as before but has been bugged since an earlier change. 2019-07-27 15:40:30 +02:00
Daan Vanden Bosch
f86a895900 Made most simple quest properties editable. 2019-07-25 22:43:27 +02:00
Daan Vanden Bosch
50eaf43082 Script editor is now readonly if no quest is loaded. Fixed a bug in the assembly worker. Fixed wrong opcode. 2019-07-24 22:53:20 +02:00
Daan Vanden Bosch
1d253e78f8 Bin files are now parsed completely. Fixed bugs related to global key binds. The URL hash is now used for remembering which tool is active between browser refreshes. 2019-07-24 22:15:38 +02:00
Daan Vanden Bosch
a9f46ae4f3 Added complete assembler error checking to the editor. Improved editor autocompletion. Script asm modifications are now persisted when saving. 2019-07-22 22:51:44 +02:00
Daan Vanden Bosch
769e6a8619 Added basic assembler. 2019-07-22 16:03:58 +02:00
Daan Vanden Bosch
cb7f088f22 Fixed bug in prs compression code. Improved prs compression performance by about 5x. Instructions are now written as object code in quest bin files. 2019-07-22 12:31:20 +02:00
Daan Vanden Bosch
73e199d724 Quest script assembly can now be viewed. 2019-07-21 20:44:34 +02:00
Daan Vanden Bosch
99d401e785 Linting and eliminated mobx warning. 2019-07-21 10:44:33 +02:00
Daan Vanden Bosch
14dd8dabff Improved quest script instruction set model. 2019-07-21 00:11:26 +02:00
Daan Vanden Bosch
7e5e34d770 New quests can now be created. The created quests don't have initialization code yet. 2019-07-20 21:18:09 +02:00
Daan Vanden Bosch
a181847647 Ninja render geometry is now parsed correctly. 2019-07-19 19:34:48 +02:00
Daan Vanden Bosch
3122c256fb Refactored xj parsing code somewhat. 2019-07-16 17:12:57 +02:00
Daan Vanden Bosch
769e0e8377 Fixed issues with textures and tweaked lighting and ground color in quest renderer. 2019-07-13 21:48:18 +02:00
Daan Vanden Bosch
46eb7cfdd0 Textures can now be applied to XJ models in the model viewer. 2019-07-13 17:09:28 +02:00
Daan Vanden Bosch
43ca288221 Textures can now be applied to models in the model viewer. 2019-07-12 18:52:49 +02:00
Daan Vanden Bosch
81c3668706 Fixed bugs in model viewer. Model viewer now automatically pauses when unmounted. NJ texture coordinates are now parsed. 2019-07-12 13:10:51 +02:00
Daan Vanden Bosch
36cb131920 Added XVM texture viewer. 2019-07-11 17:30:23 +02:00
Daan Vanden Bosch
a60c69a3ef Refactored area render geometry code. 2019-07-09 20:22:18 +02:00
Daan Vanden Bosch
f1b3df9754 Refactored BufferCursor into a hierarchy of cursors and a ResizableBuffer to improve code clarity. 2019-07-08 23:56:05 +02:00
Daan Vanden Bosch
4e540acf0c Refactored area collision detection geometry parsing code. 2019-07-07 01:16:12 +02:00
Daan Vanden Bosch
9c71c3deb8 Clearer naming of NJ types. 2019-07-06 21:55:02 +02:00
Daan Vanden Bosch
3c8f7ba01e Added lint task and enforced code style in static_generation and test. 2019-07-02 21:20:11 +02:00
Daan Vanden Bosch
19681d69a3 Enforced stricter eslint rules. 2019-07-02 20:56:33 +02:00
Daan Vanden Bosch
3498a10385 Added prettier and unleashed on the code base. 2019-07-02 18:08:06 +02:00
Daan Vanden Bosch
37690ef1e6 Code style consistency. 2019-07-02 17:00:24 +02:00
Daan Vanden Bosch
3c398d6133 Small tweaks. 2019-07-02 13:59:45 +02:00
Daan Vanden Bosch
017eb3e3e0 PSO v2 NJM files can now be parsed. 2019-07-01 21:20:09 +02:00
Daan Vanden Bosch
f19f2df2d2 Added various improvements. 2019-07-01 15:01:40 +02:00
Daan Vanden Bosch
e8226d94be Bugfix: respect the original bone's rotation order in animation keyframes. 2019-07-01 13:05:58 +02:00
Daan Vanden Bosch
43a4c7503d Refactored binary data format code. 2019-07-01 08:53:16 +02:00