Commit Graph
78 Commits
Author SHA1 Message Date
Walter Agazzi 88291f358f BURIED: Clear _controlDown flag on GUI windows opening
Prevents being stuck in fast mode, fixes TRAC #13584
2022-12-30 23:12:44 +02:00
Cameron Cawley 28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Filippos Karapetis b52f486232 BURIED: Move agent evaluation (score) logic into a separate file
This is used by the death screens, the completion screen, and our
in-game score screen, so move the duplicate code into a new file
2022-01-02 16:52:20 +02:00
Filippos Karapetis 1ccf15f34a BURIED: Allow pausing the game in the demo version 2022-01-02 12:20:46 +02:00
Filippos Karapetis 73adf9548a BURIED: Show the agent evaluation (current points) with Control-D
This is the text that is shown in the death screens - it's an
enhancement in ScummVM, which is also quite useful for debugging
2021-12-31 19:12:30 +02:00
Filippos Karapetis 1880b37100 BURIED: Add metadata to saved games - FR #12889
- Saved games now contain all metadata, including thumbnails, creation
date and play time
- Savesd games are now named buried.###, and they are compatible among
all versions
- Saved games are now sorted by slot, like in other engines, and are no
longer sorted alphabetically as before
- The engine checks on startup for saves using the original format and
converts them to the new format, thus it's possible to import saved
games from the original game
- The currently selected item is now stored in the saved game, thus
crashes that were related to loading a game with fewer items than the
currently selected item no longer occur
2021-12-30 13:27:49 +02:00
Filippos Karapetis b8094a3908 BURIED: Cleanup of the saving/loading dialog code 2021-12-30 00:24:35 +02:00
Filippos Karapetis c411bbb758 BURIED: Clean up game pausing functions and use pauseEngine() 2021-12-29 22:52:46 +02:00
Filippos Karapetis 479c2ba1f3 BURIED: Proper handling of engine pausing - bug #12886
The game is now paused while the interface menu, the save dialog and the
restore dialog is shown. The interface menu always pauses the game when
shown, regardless of the pause option. Hotkeys for saving, loading and
pausing the game are disabled while these dialogs are open.
2021-12-29 22:28:17 +02:00
Filippos Karapetis 404743fafa BURIED: Implement game pausing via Control-P - bug #12934
Also, this commit fixes wrong fall through when handling the other
hotkey combinations
2021-12-29 18:47:58 +02:00
Filippos Karapetis de13dc6364 BURIED: Fix fallback in the latest video and audio skipping code
This could result in infinite looping
2021-12-29 18:08:50 +02:00
Filippos Karapetis e13a72e8f6 BURIED: Also allow skipping synchronous sounds 2021-12-29 18:08:49 +02:00
Filippos Karapetis 2591106d38 BURIED: Pass the currently playing video to yield()
This allows sending the event to the specific video, not to all the
currently playing videos. Also, this allows to distinguish video from
audio loops and only process video skipping events when playing videos
2021-12-28 18:57:40 +02:00
Filippos Karapetis a6bee10165 BURIED: Add support and game option for video skipping - FR #12891
Video skipping is done with the escape key and is enabled by default,
but can be disabled with the new "skip support" game option to keep
the original game behavior where video skipping isn't possible
2021-12-28 15:01:37 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 369eae5f35 BURIED: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Cameron Cawley bf4ae50a3f COMMON: Add a helper function for loading version resources 2021-07-15 13:55:33 +02:00
Cameron Cawley 2186024624 BURIED: Improve text encoding conversion 2021-03-25 20:53:16 +01:00
Cameron Cawley fe6772a9e5 BURIED: Simplify the executable loading code 2021-03-25 20:52:28 +01:00
Cameron Cawley 1b98b8e6a2 BURIED: Update the console code 2021-03-25 16:31:31 +02:00
Eugene Sandulenko 9903913859 BURIED: Remove obsolete comment 2021-03-22 00:07:45 +01:00
Strangerke e798795cee BURIED: Make more consistent use of nullptr 2021-03-22 00:07:45 +01:00
Strangerke 7fac27c728 BURIED: Fix some CppCheck warnings 2021-03-22 00:07:45 +01:00
Eugene Sandulenko 622528796d BURIED: Added support for GOG.com release 2021-03-22 00:07:44 +01:00
Eugene Sandulenko 279acfd6bc BURIED: Fix metaengine.cpp compilation 2021-03-22 00:07:44 +01:00
Eugene Sandulenko c529636463 BURIED: Converted detection.cpp to the new plugin structure 2021-03-22 00:07:44 +01:00
Eugene Sandulenko b44bc8fdb4 BURIED: Fixes gor modern API 2021-03-22 00:07:44 +01:00
Matthew Hoops 936cdc998a BURIED: Add the path required by the Trilogy release 2021-03-22 00:07:44 +01:00
Matthew Hoops d3f68fe216 BURIED: Squash timers down to one if multiple are set to fire 2021-03-22 00:07:44 +01:00
Matthew Hoops c1c5ba7bb4 BURIED: Switch to timer messages generated on-the-fly 2021-03-22 00:07:44 +01:00
Matthew Hoops 57920ae92d BURIED: Display a message when trying to load non-apartment saves in the trial 2021-03-22 00:07:44 +01:00
Matthew Hoops 7e57ba728e BURIED: Add support for displaying Japanese text 2021-03-22 00:07:44 +01:00
Matthew Hoops 810f006e9a BURIED: Use separate pause sound functions for pausing the game 2021-03-22 00:07:43 +01:00
Matthew Hoops 3eaa2774bb BURIED: Ensure timers get removed upon window destruction 2021-03-22 00:07:43 +01:00
Matthew Hoops 91e21dd39e BURIED: Stop sending messages if we're quitting 2021-03-22 00:07:43 +01:00
Matthew Hoops 948a6a55ae BURIED: Implement control down 2021-03-22 00:07:43 +01:00
Matthew Hoops 3273594eac BURIED: Implement returning to the main menu 2021-03-22 00:07:43 +01:00
Matthew Hoops 384d8f2c95 BURIED: Add some commands to add/remove inventory items 2021-03-22 00:07:42 +01:00
Matthew Hoops 0a3b06d996 BURIED: Make sure syncSoundSettings() is called from run() 2021-03-22 00:07:42 +01:00
Matthew Hoops d8226496e0 BURIED: Prevent saving during a synchronous sequence 2021-03-22 00:07:42 +01:00
Matthew Hoops 6ac35b1c34 BURIED: Implement pauseEngineIntern() 2021-03-22 00:07:42 +01:00
Matthew Hoops e593a6a3bb BURIED: Implement basic save/load support through the GMM
In-game save/load buttons don't work yet
2021-03-22 00:07:41 +01:00
Matthew Hoops c8b3013d24 BURIED: Add a basic debugger 2021-03-22 00:07:39 +01:00
Matthew Hoops b460830309 BURIED: Add the old apartment scene
The second part of the intro partially plays correctly now!
2021-03-22 00:07:39 +01:00
Matthew Hoops 9c0da1c36b BURIED: Add the scene view class 2021-03-22 00:07:39 +01:00
Matthew Hoops a966f157af BURIED: Add detection for the Japanese version 2021-03-22 00:07:39 +01:00
Matthew Hoops 503645f379 BURIED: Add a method of querying the EXE version
For a couple of string differences
2021-03-22 00:07:39 +01:00
Matthew Hoops 10ac40bda0 BURIED: Add support for setting capture mode on a window 2021-03-22 00:07:39 +01:00
Matthew Hoops 6b72a97670 BURIED: Add support for the Win95 binaries 2021-03-22 00:07:38 +01:00
Matthew Hoops cc3d4b18aa BURIED: Remove unneeded double-click message 2021-03-22 00:07:38 +01:00