Commit Graph

948 Commits

Author SHA1 Message Date
Daan Vanden Bosch
060e746aac Model viewer now pauses and unpauses when switching tools. 2019-08-21 16:55:12 +02:00
Daan Vanden Bosch
66147fa5e1 Fixed bug in model viewer. 2019-08-21 15:39:32 +02:00
Daan Vanden Bosch
429595b513 Model viewer now completely build on the new UI system. 2019-08-21 15:19:44 +02:00
Daan Vanden Bosch
3ba13606aa More work on new UI. 2019-08-20 15:02:58 +02:00
Daan Vanden Bosch
c7cbf68411 The model viewer can load NJ and XJ files again. 2019-08-19 23:49:40 +02:00
Daan Vanden Bosch
5571f6b1a8 Started working on new UI. 2019-08-19 22:56:40 +02:00
Daan Vanden Bosch
1d0da754ca Added AddObjectComponent. 2019-08-17 17:14:09 +02:00
Daan Vanden Bosch
a619eaa8f7 Updated features list. 2019-08-17 12:59:31 +02:00
Daan Vanden Bosch
b8ff183808 Somewhat improved parameter hint signatures. 2019-08-16 20:26:37 +02:00
Daan Vanden Bosch
e95513bb3c Referenced registers should be able to have names too. 2019-08-16 20:01:38 +02:00
Daan Vanden Bosch
56964cb4e2 Added preliminary support for parameter hints. 2019-08-16 19:57:29 +02:00
Daan Vanden Bosch
7d0d3188c2 Script labels in TalkLinkToSupport objects are now detected. 2019-08-16 16:41:05 +02:00
Daan Vanden Bosch
48a1998679 Fixed bug in area geometry loading code. 2019-08-14 18:55:05 +02:00
Daan Vanden Bosch
7454517eb6 Fixed new quest creation. 2019-08-14 18:48:28 +02:00
Daan Vanden Bosch
3a94a94e5d Improved entity section guessing when translating entities. 2019-08-14 18:29:40 +02:00
Daan Vanden Bosch
791968dd4e Made quest ID, name, short description and long description undoable. 2019-08-14 17:37:06 +02:00
Daan Vanden Bosch
cd2849cae4 Script entry points are now extracted from NPCs and objects. 2019-08-14 13:58:48 +02:00
Daan Vanden Bosch
9b19431e0a Fixed bug in pasm syntax highlighting. 2019-08-13 15:44:35 +02:00
Daan Vanden Bosch
206cc3ebb0 More .dat object properties are now parsed. 2019-08-12 20:34:47 +02:00
Daan Vanden Bosch
1a1a52bd43 Seaside area at night variant 1 can now be used to add a second tower map. 2019-08-12 17:55:04 +02:00
Daan Vanden Bosch
29b2e754dd Fixed float parsing bug in assembly lexer. 2019-08-12 17:18:42 +02:00
Daan Vanden Bosch
6c17c36b61 Split NPC counts off into its own dockable component. 2019-08-11 21:59:36 +02:00
Daan Vanden Bosch
66127253d3 Split code into one module per tool + core and application module. 2019-08-10 22:09:06 +02:00
Daan Vanden Bosch
cf1cd26c41 Fixed a bug in area variants computation. 2019-08-10 19:37:34 +02:00
Daan Vanden Bosch
ecbab0637d Area variants now change automatically when bb_map_designate instructions are added, deleted or changed. The 3D view also updates automatically. 2019-08-10 18:11:27 +02:00
Daan Vanden Bosch
2d551a1951 Separated most of quest domain models from quest parsing code and made quest parsing data structures more structured cloning-friendly. All areas for the quest's episode are now shown in the area selector with the number of entities in them in parentheses. 2019-08-10 00:27:57 +02:00
Daan Vanden Bosch
48f0d5157d Renamed buildweb to build. 2019-08-08 15:50:18 +02:00
Daan Vanden Bosch
7cfcf5222c Script editor now supports line comments. 2019-08-08 11:02:06 +02:00
Daan Vanden Bosch
269b9cbd25 Removed unnecessary default quest character. 2019-08-07 22:31:02 +02:00
Daan Vanden Bosch
48b683f514 Fixed .qst embedded file naming bug. Implemented simpler PRS compression algorithm that seems to cause fewer errors during roundtrip tests. 2019-08-07 22:28:03 +02:00
Daan Vanden Bosch
194df177ab When creating a new quest and saving it, the filename of a quest that was loaded earlier was shown. This is now fixed. 2019-08-07 14:22:47 +02:00
Daan Vanden Bosch
c8ae97d8f6 Fixed bug in assembler. 2019-08-07 13:57:59 +02:00
Daan Vanden Bosch
d32c56ed02 Improved quest unit test. 2019-08-07 09:03:25 +02:00
Daan Vanden Bosch
fbef785410 Refactored opcode types to make them structurally clonable. 2019-08-07 08:43:47 +02:00
Daan Vanden Bosch
b928738d06 Float literal arguments passed via the stack are now handled correctly in the assembler and disassembler. 2019-08-06 17:37:34 +02:00
Daan Vanden Bosch
d3efe94837 Started working on a quest script VM. It has a call stack, supports threading, waiting for vsync and can execute some instructions at the moment. 2019-08-06 17:07:12 +02:00
Daan Vanden Bosch
054b1c99fb Fixed bugs in DFA code. All dynamic label references are now detected unless they're computed in a way which is too complex to analyse at the moment. 2019-08-06 01:14:57 +02:00
Daan Vanden Bosch
9284cf4a8a Fixed assembler bug related to arg_pushr. 2019-08-05 22:33:07 +02:00
Daan Vanden Bosch
2fc55cdc1a Dynamically referenced object code segments are now parsed correctly. 2019-08-05 16:56:39 +02:00
Daan Vanden Bosch
1ba7d3b6a7 All bugs resulting from opcode typing changes have been fixed. 2019-08-05 00:14:39 +02:00
Daan Vanden Bosch
dbe1b06fa6 Only one bug remains after opcode typing changes. 2019-08-04 22:59:32 +02:00
Daan Vanden Bosch
8e5472044b Fixed most issues resulting from opcode typing changes. 2019-08-04 19:50:02 +02:00
Daan Vanden Bosch
7aefdb688c Opcode code is now generated from yaml definitions. 2019-08-04 17:52:01 +02:00
Daan Vanden Bosch
e1d1cf564f Basic opcode definitions are done. 2019-08-04 16:01:44 +02:00
Daan Vanden Bosch
fba6ac3e10 Created yaml file with opcode definitions (70% complete). 2019-08-03 23:23:55 +02:00
Daan Vanden Bosch
83d32dfe99 Added basic algorithm to compute the possible values of a register at a specific program point. 2019-08-02 00:13:19 +02:00
Daan Vanden Bosch
76c3169fd3 Added ValueSet, an efficient integer set. 2019-08-01 19:37:26 +02:00
Daan Vanden Bosch
d9ff4308e0 Added control flow graph creation algorithm. 2019-07-31 21:37:17 +02:00
Daan Vanden Bosch
ccb31854c3 Object code is now parsed recursively from its entry labels to ensure all segments are parsed as the correct type. 2019-07-30 23:15:23 +02:00
Daan Vanden Bosch
a1cec18636 Fixed bugs in assembler. 2019-07-30 16:39:50 +02:00