Commit Graph
30 Commits
Author SHA1 Message Date
Cameron Cawley 5bd0ec43a6 STARK: Fully separate bitmaps and textures 2023-01-15 11:54:11 +02:00
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
Paweł Kołodziejski 7aab569882 STARK: Separated texture usage for 2D or 3D 2021-10-20 22:24:14 +02: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 c02152d006 STARK: Allow loading modded replacements for the Smacker animations
The replacements can be encoded either in Smacker or Bink.
2019-01-24 12:37:42 +01:00
Bastien Bouclet b9a1b8eefd STARK: Optionally use linear filtering when rendering backgrounds 2019-01-16 20:20:39 +01:00
Bastien Bouclet 8b3b309200 STARK: Don't display animations that have not been initialized
Prevents a garbage frame from being displayed if the animation is not
updated on the same frame it is started. Happens with the hovercar
animation in April's room and when the subway enters the station.
2019-01-05 16:54:39 +01:00
Bastien Bouclet 020e09bce6 STARK: Set the sound type for Bink and Smacker movies 2017-09-03 15:50:38 +02:00
Bastien Bouclet abd8c585f7 STARK: Change surface data to always be in the RGBA byte order
This eases uploading the textures to OpenGL, and will hopefully fix
endianness issues.
2017-08-20 16:06:36 +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 5577b3eece STARK: Pause the currently playing videos when ResidualVM pauses the engine
This way, the videos don't play too fast because they try to make up for the
pause time when resuming.
2017-05-25 21:31:21 +02:00
Bastien Bouclet 5d27096e53 STARK: Fix the last frame of Smacker animations not being displayed
As a side effect, fix a lot of graphic glitches where script execution
would resume too late, resulting in inconsistent graphics being drawn for one
frame.
2017-03-19 10:06:52 +01:00
Bastien Bouclet 5e55813165 STARK: Implement Smacker anim framerate override 2016-04-16 08:58:08 +02:00
Bastien Bouclet b358f025a1 STARK: Move surface rendering to its own class
So that more rendering parameters can be added in the future without
creating a mess.
2016-01-01 07:30:11 +01:00
Bastien Bouclet 5d512576f0 STARK: Fix Smacker animation position on scrolling locations 2016-01-01 07:30:02 +01:00
Bastien Bouclet 5791f4f9c9 STARK: Add initial support for script triggered animations 2016-01-01 07:30:00 +01:00
Bastien Bouclet af3ff9d0ad STARK: Only consider solid points in smacker videos as clickable 2016-01-01 07:29:57 +01:00
Bastien Bouclet c27c8d2d4e STARK: Remove an unused method parameter 2016-01-01 07:29:57 +01:00
Bastien Bouclet 372c1cc7bc STARK: Enable interaction with smacker anims 2016-01-01 07:29:56 +01:00
Einar Johan Trøan Sømåen 2d35ce9308 STARK: Add a hack to allow Smacker-videos to be placed correctly when scrolling. 2016-01-01 07:29:56 +01:00
Einar Johan Trøan Sømåen 2daa2435a2 STARK: Position AnimVideos according to their position-array, and ignore the x-y coord used when rendering them. 2016-01-01 07:29:56 +01:00
Bastien Bouclet ee2357d093 STARK: Move item pick test to the render entry class
Only the render entry knows the actual item position
2016-01-01 07:29:48 +01:00
Pawel Kolodziejski 793c2f0e69 STARK: corrected old Residual headers 2016-01-01 07:29:38 +01:00
Bastien Bouclet 3fb6a1dd45 STARK: Apply color keying when drawing Smacker movies 2015-02-15 17:51:31 +01:00
Bastien Bouclet b6fc87e0ff STARK: Draw 2D graphics using textures 2015-02-14 11:51:53 +01:00
Bastien Bouclet 72d2286911 STARK: Shorten Gfx class names to comensate for the added namespace 2015-02-13 20:35:52 +01:00
Bastien Bouclet a120d1c8ea STARK: Move Gfx classes to the Gfx namespace 2015-02-13 20:33:47 +01:00
Bastien Bouclet 00f63c0ce0 STARK: Add incomplete support for scrolling the scene 2015-02-08 13:34:44 +01:00
Bastien Bouclet 0ab86f9448 STARK: Play smacker animations 2015-01-03 12:17:53 +01:00