Commit Graph
168 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
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Bastien Bouclet ef87472cc8 STARK: Change animation scripts to use the script suspend system
Animation scripts now work the same way as video and skeleton animations
now.

Fixes #1517.
2019-02-01 08:58:56 +01:00
Bastien Bouclet 2b9242c8ea STARK: Delay playing FMVs until all the location change scripts are done
This ensures no sound is started by the scripts after the game has
already been paused. In-game sounds no longer play during FMVs.
2019-01-25 21:02:02 +01:00
Bastien Bouclet 0607e8c7a7 STARK: Implement retrieving path positions for commands 2019-01-25 09:48:31 +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 24eda9e18d STARK: Adjust a few TODOs 2018-11-22 13:35:47 +01:00
Douglas Liu f1b3caba08 STARK: Implement the Book Of Secrets Open command 2018-06-29 23:45:54 +08:00
Douglas Liu 8121a28c91 STARK: Enable exit to main menu in the book of secrets 2018-06-29 22:10:25 +08:00
Bastien Bouclet 8b5e7433f5 STARK: Change anim hierarchies to override parent animations 2018-05-03 21:04:49 +02:00
Bastien Bouclet 1f9df9edb8 STARK: Initial work on the top menu new item animation 2018-02-24 18:49:25 +01:00
Bastien Bouclet 9f1ce38187 STARK: Fix segfault when calling opItemSetActivity
Fixes a crash when getting the glove
2017-06-07 18:10:09 +02: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 4210c8dec1 STARK: Change the VisualSmacker interface to only deal with in game time
It previously sometimes returned in video time, which doesn't account for
the playback rate.

Fixes the worm going in and out of the floor bag.
2017-05-29 19:04:51 +02:00
Bastien Bouclet b5baf28155 STARK: Make the actor rotation speed framerate independent 2017-05-28 09:30:46 +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 5aaa7fb78a STARK: Add a stub for the opcode Book of Secrets Open
So that the opcode lists from the decompiler and the interpreter are in sync.
2017-05-26 15:01:23 +02:00
Bastien Bouclet aaa56f34ed STARK: Implement opcode Item Set Activity 2017-05-26 14:46:09 +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 1f9c20a6ea STARK: Switch to framerate independant rumble duration 2017-05-25 21:31:21 +02:00
Bastien Bouclet e6696fd5bc STARK: Switch to framerate independant fading 2017-05-25 21:31:21 +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 ce9637dee2 Merge pull request #1326 from firesock/stark-opfade
STARK: Implement opFadeScene
2017-04-08 17:17:16 +02:00
Awad Mackie 54cdb8053a STARK: Implement opFadeScene 2017-04-08 14:30:13 +01: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 76b7bdc2fc STARK: Implement opSoundChange, sound volume and pan fading 2017-03-21 21:22:51 +01:00
Awad Mackie c4a37c2d31 STARK: Add support for opRumble 2016-11-19 15:20:51 +01:00
Bastien Bouclet 90ee6b02ff STARK: Implement the "do nothing" command 2016-06-01 18:33:20 +02:00
Bastien Bouclet f74502813b STARK: Add a simple disassembler 2016-04-24 13:05:07 +02:00
Bastien Bouclet 3a6ab0bf05 STARK: Allow retrieving a command's arguments 2016-04-24 12:59:02 +02:00
Bastien Bouclet aab6640053 STARK: Remove useless function call
This line was here due to some careless copy / paste.
2016-04-16 07:47:08 +02:00
Bastien Bouclet f5e082d13a STARK: Implement skeletal animation blending 2016-04-10 11:35:30 +02:00
Bastien Bouclet 6aa353866f STARK: Keep track of the inventory state when pushing/poping locations
The original does something much more complicated. Not sure why.
2016-02-02 20:55:40 +01:00
Bastien Bouclet c43e76184d STARK: Forbid characters from walking on script selected floor faces
Not working entirely as expected. It is still possible to pass through
Roper Klacks. Probably the path finding code needs to be made more
accurate.
2016-01-17 16:32:08 +01:00
Bastien Bouclet 1e2de67856 STARK: Remove an useless warning 2016-01-01 07:30:11 +01:00
Pawel Kolodziejski f9e78dc731 STARK: formating code - whitespaces 2016-01-01 07:30:11 +01:00
Bastien Bouclet 5c4703c962 STARK: Implement the end game opcode
This marks the first complete run of the game in ResidualVM

(Yay!)
2016-01-01 07:30:11 +01:00
Bastien Bouclet 6bcdff8b17 STARK: Add an opcode to check if the inventory is open 2016-01-01 07:30:10 +01:00
Bastien Bouclet 59d1320994 STARK: Add commands to assign an integer and set an anim frame 2016-01-01 07:30:10 +01:00
Bastien Bouclet e873aa7af8 STARK: Enable the talking animation when a speech is active for a character 2016-01-01 07:30:09 +01:00
Bastien Bouclet 1f1a208676 STARK: Add an opcode to change the walk target 2016-01-01 07:30:09 +01:00
Bastien Bouclet 022e28bec7 STARK: Add an opcode to know if an anim script has been reached 2016-01-01 07:30:07 +01:00
Bastien Bouclet b048c4ae86 STARK: Add a movement type allowing an item to follow a path 2016-01-01 07:30:07 +01:00
Bastien Bouclet 8678e56301 STARK: Partially implement opcode SoundChange 2016-01-01 07:30:06 +01:00
Bastien Bouclet 46001c6f21 STARK: Don't try to look at items when we are on top of them 2016-01-01 07:30:06 +01:00
Bastien Bouclet 635bb687d8 STARK: Add an opcode to change a light's color 2016-01-01 07:30:06 +01:00