Commit Graph
24 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
Eugene Sandulenko 901f05fca3 BLADERUNNER: Save full size thumbnails into saves. This bumps the save version to 4.
The original format compatibility quirks should stay working
2021-04-17 15:04:36 +02:00
Thanasis Antoniou 7bf340427c BLADERUNNER: Extend max saved game's name length to 41 chars
41 is the original's name size and resolves truncated autosave names in localized versions

Fixes bug #11340
Saves version is increased to "3" (in savefile.h) now, so only new versions of the engine will be able to open the save files with the larger field for the saved game's name
2020-02-06 00:14:53 +02:00
Peter Kohaut 3619b613bc BLADERUNNER: Fixed crossplatform thumbnails in saves
Thumbnail was broken when savefile was transfered between big endiang
and little endian platforms.

closes #11258
2019-11-26 22:15:27 +01:00
Peter Kohaut a7399c5111 BLADERUNNER: Use best pixel format on every platform
Updated all drawing routines to be pixel format agnostic.
Might decrease performance.
2019-08-31 23:09:19 +02:00
Thanasis Antoniou caa4578add BLADERUNNER: Use unsigned 32bit diff for time durations 2019-07-17 19:09:15 +03:00
David Fioramonti 9bf2b5d03e BLADERUNNER: Show saved game creation date and add play time
Bumped saved game version to 2 to add play time.

Can load version 1 saves and save/load version 2 saves.
2019-05-27 06:54:40 -04:00
Thanasis Antoniou 9bfca34497 BLADERUNNER: Fixes for UG18 Guzza scene cases 2019-05-25 03:39:57 +03:00
Peter Kohaut 036f2221f8 BLADERUNNER: Fixed typo in pixelFormat name 2019-04-17 23:09:01 +02:00
Peter Kohaut e86ee33999 BLADERUNNER: Abstraction from 555 pixel format
Removing hardcoded 555 pixel format to support Android
2019-04-17 22:51:18 +02:00
Thanasis Antoniou 423dcd0a01 BLADERUNNER: Prevent lockup when save file is missing data
Missing thumbnail data was causing a lockup on mouse-over

Still working on debugging why these corrupted save files may be created -- (Game_Over()) autosaves.
2019-04-01 00:45:43 +03:00
Peter Kohaut acb51d0e72 BLADERUNNER: Savagame names fixes
It was not possible to change the name of exisitng savegame
Saves were read too ofter just for over-drawing the thumbnail
2019-03-09 22:16:38 +01:00
Peter Kohaut 45a27decf3 BLADERUNNER: Fixed overflow in savegame name 2019-03-04 22:55:31 +01:00
Peter Kohaut 9c25be9121 BLADERUNNER: Cleanup of TODO notes 2019-03-04 19:43:36 +01:00
Peter Kohaut d8eb3c14a4 BLADERUNNER: Removal of memory leaks 2019-02-12 23:07:14 +01:00
Peter Kohaut b14fbaa72b BLADERUNNER: Cleanup of audio code
Separated audio cache.
Fixed bug in the audio cache where still used sound might get freed.
Fixes crashes when engine is unloading which were caused
by a race condition between the timer code and engine teardown code.
2019-02-11 22:48:07 +01:00
Peter Kohaut a5854b524b BLADERUNNER: Fixed resource leak in game listing
This was causing issues with loading / saving games
2019-02-02 00:50:16 +01:00
Peter Kohaut 1855d1cf13 BLADERUNNER: Add in-game saving screen 2018-12-05 18:18:49 +01:00
Peter Kohaut cfb46da90c BLADERUNNER: Add in-game loading screen
It is also possible to start new game from it.
2018-11-25 22:22:25 +01:00
Peter Kohaut 88fa8c3c5c BLADERUNNER: Fixed ambient sounds after load
After loading a game, ambient sounds stoped playing, now they are
working properly.
Also some smaller compiler warnings were fixed.
2018-11-24 17:19:40 +01:00
Peter Kohaut 824ecc0aad BLADERUNNER: Preliminary saving & loading support
Saving and loading is accessible via ScummVM dialogs.
No in-game UI support yet.

It is possible to load saves from original game via debugger console.
ScummVM saves have additional header and are incompatibile with original
game.
2018-11-24 08:39:03 +01:00
Peter Kohaut 5e9985bd6e BLADERUNNER: Load game methods
save methods update
replaced few char* with Common::String
changed few pointers to references
2018-03-24 17:28:34 +01:00
Thomas Fach-Pedersen 2a646f8cc2 BLADERUNNER: Save game methods 2018-03-24 17:07:06 +01:00