Commit Graph
32 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 e3c6748a7f STARK: Rework skeletal animation blending control
The previous animation blending system had some flows. The
AnimationHandler was owned by the model which was incorrect, since it's
possible to change models during an animation sequence. The
AnimationHandler is now owned by the item, ensuring there is only one
per character instance.

We now ignore animation change requests for one frame. This is because
the scripts often cause an animation change, and request another one the
very next frame. This used to cause issues because we were blending the
latest animation with the previous one which was only active for one
frame, causing a discontinuity. This new solution is kind of a hack.
Hopefully it is good enough and there is no need to implement animation
blending for more than two animations at once.
2019-01-25 09:48:31 +01:00
Bastien Bouclet 191113819b STARK: Save and restore the previous location stack
Fixes #1497.
2018-11-17 10:59:07 +01:00
Bastien Bouclet 76c628a25f STARK: Clear the game state when shutting down the resource provider
Fixes keeping the old state when starting a new game.
2018-05-21 11:10:49 +02:00
Bastien Bouclet 796b82ad4c STARK: Fix crash when shutting down the resource provider when uninitialized 2018-05-21 07:29:08 +02:00
Bastien Bouclet b175220283 STARK: Add the camera angle when setting the initial item direction
Fixes #1412.
2018-05-03 21:03:43 +02:00
Bastien Bouclet 43bc857b05 STARK: Improve const-correctness for the services 2018-02-14 20:25:30 +01:00
Bastien Bouclet 7f729947ce STARK: Don't run location init scripts when loading saves
The state for currently active locations should be loaded from the save instead.
2017-06-05 09:44:49 +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 f17b5b5443 STARK: Don't save the state when shutting down the data provider
Half the objects are gone, the save can't be consistent.
Fixes valgrind errors on exit.
2016-01-01 19:07:32 +01:00
Bastien Bouclet a58f7f55f7 STARK: Stop a location/level's sounds when leaving it 2016-01-01 15:20:19 +01:00
Bastien Bouclet 1d6555fc37 STARK: Remove / update TODOs 2016-01-01 07:30:11 +01:00
Bastien Bouclet c80b4899c0 STARK: Keep the last three locations in memory
Previously we kept only two, but the maintenance tube control
panel access data three locations back.
2016-01-01 07:30:11 +01:00
Bastien Bouclet cb2d2d37a8 STARK: Make scrolling views follow the character 2016-01-01 07:30:04 +01:00
Bastien Bouclet 9caa621cdc STARK: Fix loading savegames 2016-01-01 07:30:02 +01:00
Bastien Bouclet 0da4f77298 STARK: Only set a default location if there was not already one set 2016-01-01 07:30:01 +01:00
Bastien Bouclet 7a38d609d4 STARK: Ensure the resource's state is restored after they are fully loaded 2016-01-01 07:30:01 +01:00
Bastien Bouclet 39201f3c51 STARK: Fix crash when leaving a location while a dialog is active 2016-01-01 07:30:01 +01:00
Bastien Bouclet 2e1e44571d STARK: Allow saving and restoring Objects as resource references 2016-01-01 07:30:00 +01:00
Bastien Bouclet f898c7fbe7 STARK: Don't run the level entry scripts when only the location changed 2016-01-01 07:29:58 +01:00
Bastien Bouclet 9f90a97206 STARK: Place April on a default location when none is provided
Useful when changing locations using the console
2016-01-01 07:29:58 +01:00
Bastien Bouclet 38f417e0c6 STARK: Some renaming for consistency 2016-01-01 07:29:57 +01:00
Bastien Bouclet 4c5c6014c2 STARK: Rename the Item resource hierarchy 2016-01-01 07:29:52 +01:00
Bastien Bouclet 273a358ad3 STARK: Initiate rework of the user interface code
A base class, Window, will be used to ensure all the UI containers
work in a similar way.
2016-01-01 07:29:48 +01:00
Einar Johan Trøan Sømåen 1345c29b8e STARK: Add a simple locationStack to allow returning from 2D Locations. 2016-01-01 07:29:43 +01:00
Bastien Bouclet 73ee04635a STARK: Load the static level 2016-01-01 07:29:40 +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 254021c602 STARK: Move the resources to a separate namespace 2015-02-13 11:10:44 +01:00
Bastien Bouclet 59c205483c STARK: Implement the go to command 2015-01-16 09:35:47 +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