49 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
5885634c60 STARK: Rework how scripts wait for action animations to complete
Previously scripts were paused for the duration of the animation. This
could lead to issues where scripts would wake up one frame too late or
too early, resulting in animation glitches.

Now, scripts are suspended until the animation is done playing. This
makes sure scripts select the new animation in the same frame as the one
they were waiting for.

Fixes incorrect frames sometimes being visible before or after video
animation. Reduces a bit the animation blending issues for skeletal
animations. More work is still needed to improve skeletal animation
blending for the remaining glitches to be fixed.
2019-01-24 12:38:03 +01:00
Bastien Bouclet
8d3ea2f5a1 STARK: Fix speeches that have not started playing waking up their script
Fixes #1499.
2018-11-10 21:44:05 +01:00
Bastien Bouclet
a7a7b4468a STARK: Add save state serializers to more entities 2017-06-05 09:44:49 +02:00
Bastien Bouclet
2e8766fbbf STARK: Add state serializers for a number of entities 2017-06-05 09:44:48 +02:00
Bastien Bouclet
aaa56f34ed STARK: Implement opcode Item Set Activity 2017-05-26 14:46:09 +02:00
Bastien Bouclet
888828f373 STARK: Implement the skippable pause opcode 2017-05-26 11:36:32 +02:00
Bastien Bouclet
c7e75552ef STARK: Implement the fast forward mode
Used to skip animations. Does not behave exactly as the original due to
frame timing being incorrect in ResidualVM.

Fixes #1324.
2017-03-25 18:31:12 +01: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
f74502813b STARK: Add a simple disassembler 2016-04-24 13:05:07 +02:00
Bastien Bouclet
088055e1f4 STARK: Improve the listScript console command
It now displays if a script is waiting for a resource to complete
2016-01-14 15:04:45 +01:00
Pawel Kolodziejski
f9e78dc731 STARK: formating code - whitespaces 2016-01-01 07:30:11 +01:00
Bastien Bouclet
8bc66b22b2 STARK: Clear more data when resetting a script 2016-01-01 07:30:10 +01:00
Bastien Bouclet
68c84381a6 STARK: Add script driven location scrolling 2016-01-01 07:30:05 +01:00
Bastien Bouclet
068ecbd192 STARK: Implement the script abort opcode 2016-01-01 07:30:04 +01:00
Bastien Bouclet
495c90c95c STARK: Always reset scripts once they complete 2016-01-01 07:30:04 +01:00
Bastien Bouclet
a110908b10 STARK: Fix running script with multiple begin opcodes 2016-01-01 07:30:03 +01:00
Bastien Bouclet
24a570ebdf STARK: Run dialog triggered scripts
Still needs a system to save and restore the dialog player's state
2016-01-01 07:29:59 +01:00
Bastien Bouclet
cde8241e03 STARK: Fix running some dialog scripts 2016-01-01 07:29:59 +01:00
Bastien Bouclet
918e4320a6 STARK: Implement two walk opcodes 2016-01-01 07:29:58 +01:00
Bastien Bouclet
b44354f554 STARK: Generalize upon the FMV playback and introduce the concept of Screen 2016-01-01 07:29:54 +01:00
Bastien Bouclet
c4fa477083 STARK: Various cleanups 2016-01-01 07:29:54 +01:00
Bastien Bouclet
18d3344f87 STARK: Add shortcuts to use the singleton services 2016-01-01 07:29:53 +01:00
Bastien Bouclet
dcd5ae0710 STARK: Rename the UI class and move it to the services subfolder 2016-01-01 07:29:53 +01:00
Bastien Bouclet
3f328c735a STARK: Implement opScriptEnable 2016-01-01 07:29:52 +01:00
Bastien Bouclet
707c269138 STARK: Implement the script call opcode 2016-01-01 07:29:52 +01:00
Einar Johan Trøan Sømåen
d03fbe430a STARK: Save the enabled-ness of scripts. 2016-01-01 07:29:47 +01:00
Einar Johan Trøan Sømåen
0f6790ea38 STARK: Suspend script while FMVs is playing. 2016-01-01 07:29:47 +01:00
Bastien Bouclet
756a8bf383 STARK: Suspend the script while running opSpeakWithoutTalking 2016-01-01 07:29:40 +01:00
Einar Johan Trøan Sømåen
9418227e25 STARK: Stub opScriptCall, and add a hack to allow the called scripts to be run for now. 2015-02-20 01:04:46 +01:00
Einar Johan Trøan Sømåen
7f7edea996 STARK: Make opScriptEnable actually have an effect on the enabled-ness of a script. 2015-02-19 18:07:03 +01:00
Bastien Bouclet
413ee2a75d STARK: Move the format readers to their own namespace 2015-02-13 12:52:32 +01:00
Bastien Bouclet
0f978e54dd STARK: Rename Resource to Object to reflect the namespace change 2015-02-13 11:18:37 +01:00
Bastien Bouclet
37cda066c0 STARK: Rename ResourceType to Type to reflect the namespace change 2015-02-13 11:13:10 +01:00
Bastien Bouclet
254021c602 STARK: Move the resources to a separate namespace 2015-02-13 11:10:44 +01:00
Bastien Bouclet
50014c4fc0 STARK: Properly handle resuming at the end of a script 2015-01-17 12:40:02 +01:00
Bastien Bouclet
85b7a3627e STARK: Implement a basic dialog player 2015-01-15 17:43:18 +01:00
Bastien Bouclet
26c2205307 STARK: Implement a sound playing opcode 2015-01-14 20:43:09 +01:00
Bastien Bouclet
4433ed200f STARK: Start moving file formats to a dedicated folder 2015-01-14 18:10:09 +01:00
Bastien Bouclet
7de123d6a1 STARK: Allow retrieving the current chapter 2015-01-11 15:57:04 +01:00
Bastien Bouclet
a75de69533 STARK: Add support for calling dialogs 2015-01-11 15:25:43 +01:00
Bastien Bouclet
c93098e7af STARK: Move the service provider to a separate file 2015-01-11 11:01:01 +01:00
Bastien Bouclet
7f8f3789e5 STARK: Split Global and Current to a separate file 2015-01-11 10:47:52 +01:00
Bastien Bouclet
d9b440e74b STARK: Move service classes to a service sub folder 2015-01-11 10:39:24 +01:00
Bastien Bouclet
2d2fe62cc2 STARK: Implement the pause opcode 2015-01-10 10:27:32 +01:00
Bastien Bouclet
749f2b2564 STARK: Implement some functions for item subtype 3 2015-01-10 08:20:27 +01:00
Bastien Bouclet
7797f58e1f STARK: Trigger the location change scripts 2015-01-06 21:31:16 +01:00