27 Commits

Author SHA1 Message Date
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Bastien Bouclet
e149814766 JANITORIAL: Replaced a few instances of ScummVM in error messages 2019-06-08 06:06:48 +02:00
Bastien Bouclet
0667ed8482 STARK: Use the hash function for pointers from ScummVM 2018-02-10 16:08:21 +01:00
Bastien Bouclet
bfcdaf970c STARK: Start keeping track of the diary state
Only diary entries and FMVs are implemented for now.
Conversations are still not recorded.
2017-05-30 14:24:22 +02:00
Bastien Bouclet
4dac8fb024 STARK: Implement an opcode allowing a light to follow a path 2017-05-26 21:44:00 +02:00
Bastien Bouclet
e08ea6a961 STARK: Implement the opcode for an animated item to follow a path 2017-05-26 17:35:38 +02:00
Bastien Bouclet
b51b49ebc0 STARK: Implement opcode item rotate to direction 2017-05-26 13:53:25 +02:00
Bastien Bouclet
888828f373 STARK: Implement the skippable pause opcode 2017-05-26 11:36:32 +02:00
Bastien Bouclet
23f1222eec STARK: Implement the floatScene opcode 2017-05-25 21:31:17 +02:00
Bastien Bouclet
052be38c96 STARK: Implement the swayScene opcode 2017-05-25 13:00:44 +02:00
Bastien Bouclet
1beae260c8 STARK: Fix incorrect include style 2017-05-08 07:39:33 +02:00
Bastien Bouclet
6d6822666e STARK: Don't crash when decompiling a script referencing an unloaded location 2017-03-19 09:16:26 +01:00
Bastien Bouclet
2252a50017 STARK: Define aliases for resource references in the decompiled output 2016-06-02 13:10:45 +02:00
Bastien Bouclet
d29834d9a7 STARK: Don't copy control flow related command arguments in the AST 2016-06-02 07:10:10 +02:00
Bastien Bouclet
90ee6b02ff STARK: Implement the "do nothing" command 2016-06-01 18:33:20 +02:00
Bastien Bouclet
d523c326c5 STARK: Dont try to visit the same block multiple times when decompiling
Unless the block is trivial. The original compiler seems to reuse "end" commands.
2016-06-01 18:03:25 +02:00
Bastien Bouclet
d2f1bb8d80 STARK: Empty blocks are decompilation errors 2016-06-01 18:02:07 +02:00
Bastien Bouclet
c0d91fcab9 STARK: Properly decompile infinite loops in scripts 2016-05-26 18:40:53 +02:00
Bastien Bouclet
c66876d22a STARK: Add a verification step to the decompiler
It ensures the AST still follows the same control flow as in the CFG.
These methods could be used to write a script compiler.
2016-05-24 18:01:34 +02:00
Bastien Bouclet
ec8c45746d STARK: Add a script decompiler 2016-05-23 21:37:11 +02:00
Bastien Bouclet
500de98e32 STARK: Add error handling to the disassembler 2016-05-23 21:31:34 +02:00
Bastien Bouclet
344326e28c STARK: Add an AST representation of the script language 2016-05-23 20:50:17 +02:00
Bastien Bouclet
44ee4376f3 STARK: Split the CFG specifics out of the Command class 2016-05-23 08:07:52 +02:00
Bastien Bouclet
4a450f892f STARK: Add control flow analysis to the disassembler 2016-05-21 09:45:34 +02:00
Bastien Bouclet
f300a1c841 STARK: Special case degenerate conditions when disassembling 2016-05-21 09:31:44 +02:00
Bastien Bouclet
f74502813b STARK: Add a simple disassembler 2016-04-24 13:05:07 +02:00