Commit Graph

140 Commits

Author SHA1 Message Date
Daan Vanden Bosch
f86a895900 Made most simple quest properties editable. 2019-07-25 22:43:27 +02:00
Daan Vanden Bosch
7f4569d40a Fixed bug in assembly worker. Improved undo stack management in quest editor. Improved robustness of quest editor layout persistence. 2019-07-25 17:02:35 +02:00
Daan Vanden Bosch
7f404ff35a Fixed bug in quest editor UI persister. 2019-07-24 23:28:22 +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
7f34ed9d69 Changing an entity's position via the entity info component now results in an action on the undo stack. 2019-07-24 20:47:20 +02:00
Daan Vanden Bosch
5bd8feb766 Script editor undo is now integrated with general undo system. 2019-07-24 20:10:34 +02:00
Daan Vanden Bosch
c0e3ac924a Improved global keybind handling. General quest editor undo stack is now disabled when the script editor is focussed. 2019-07-24 18:07:32 +02:00
Daan Vanden Bosch
52376193ae Quest editor layout is now persisted. 2019-07-24 16:44:17 +02:00
Daan Vanden Bosch
25b7a4869b Fixed bug with golden layout. 2019-07-24 15:53:18 +02:00
Daan Vanden Bosch
11c00e1af7 Fixed bug that would let the camera pan when pressing arrow keys anywhere. 2019-07-24 15:48:39 +02:00
Daan Vanden Bosch
ed41a2398b Put all user settings persistence code in its own module. 2019-07-24 14:31:49 +02:00
Daan Vanden Bosch
3fd812012a Tweaked look and feel. 2019-07-24 13:48:01 +02:00
Daan Vanden Bosch
350ae884e8 Now using golden-layout in quest editor. 2019-07-23 18:39:47 +02:00
Daan Vanden Bosch
e4f78a9d82 Improved asm editor performance with a web worker. 2019-07-23 15:54:42 +02:00
Daan Vanden Bosch
1840bf6575 Added assembler worker code. 2019-07-23 11:03:35 +02:00
Daan Vanden Bosch
fdebfabbda Changed button text. 2019-07-22 23:29:10 +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
1408b2ffdc Improved asm editor highlighting. 2019-07-22 19:28:12 +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
402bd0d1ef Linting. 2019-07-20 00:15:36 +02:00
Daan Vanden Bosch
15327d1478 Huge performance improvement when translating quest entities. 2019-07-20 00:14:51 +02:00
Daan Vanden Bosch
f670718637 Simplified mesh creation. Some performance improvements. Added debug mode to quest viewer that shows per-section colored area render geometry. 2019-07-19 21:49:59 +02:00
Daan Vanden Bosch
a181847647 Ninja render geometry is now parsed correctly. 2019-07-19 19:34:48 +02:00
Daan Vanden Bosch
8c21ea59c9 Quest editor now has undo/redo. 2019-07-18 15:39:23 +02:00
Daan Vanden Bosch
7b7daa29ac Refactored entity controls. The selection doesn't change anymore while controlling the camera. 2019-07-17 21:59:41 +02:00
Daan Vanden Bosch
8223107921 Refactored model loading code. 2019-07-17 19:37: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
f23fe0091b Walls are not rendered anymore in the quest editor. 2019-07-13 18:58:11 +02:00
Daan Vanden Bosch
7c85081bb0 Objects are now rendered with textures in the quest editor. 2019-07-13 18:12:09 +02:00
Daan Vanden Bosch
60dcbae9b4 Textures are now repeated with mirroring. 2019-07-13 17:40:48 +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
ff40ab7264 Using alpha test instead of transparency in npc models. 2019-07-13 13:43:18 +02:00
Daan Vanden Bosch
8163cd2299 Fixed bug in texture application and tweaked quest renderer camera settings. 2019-07-12 23:55:37 +02:00
Daan Vanden Bosch
ac31ea83f6 The quest editor now shows most enemies with textures. 2019-07-12 21:01:07 +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
2d1ea81afd Added gh-pages deployment script. 2019-07-12 14:13:08 +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
6c27c403d5 Upgraded some dependencies. 2019-07-11 21:29:46 +02:00
Daan Vanden Bosch
cb5e9427f7 Upgraded dependency minor/patch versions. 2019-07-11 17:40:23 +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