Commit Graph
95 Commits
Author SHA1 Message Date
alxpnv 0b1bcac6ac DREAMWEB: fix thumbnails when using original save/load screens 2022-10-22 01:42:00 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 2c23cf985f DREAMWEB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02: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
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Eugene Sandulenko 93dfd3922e DREAMWEB: Added support for Russian fan-translation 2020-01-29 00:50:41 +01:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Johannes Schickel aaff7b1736 DREAMWEB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Willem Jan Palenstijn 02fe2ded35 DREAMWEB: Check for exFrame data corruption on load
This provides earlier detection for corrupted savegames caused by
bug #3591088
2012-12-01 12:40:24 +01:00
Filippos Karapetis 20afbe95e6 DREAMWEB: Fix bug #3582582 - "GUI: "Grid View" Loader Triggers Immediately in Dreamweb" 2012-11-06 12:08:55 +02:00
Johannes Schickel 7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel 15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
D G Turner 628cfa3d47 DREAMWEB: Objectify Sound functions & data into DreamWebSound class.
This change should have no functional change, but makes the sound code
more decoupled, modular and readable, prior to attempting a fix for
bug #3528164 - "DREAMWEB: missing sound effects/music cues during main
title".
2012-05-31 05:16:10 +01:00
D G Turner ae31469a9a DREAMWEB: Replaced vsync() function with waitForVSync().
As a call to waitForVSync() was the only contents of vsync(), there
should be no functional change.
2012-05-30 04:23:34 +01:00
Filippos Karapetis b678dca1c0 DREAMWEB: Fix bug #3528160 - "DREAMWEB: graphical glitch on UKV CD version loading screen" 2012-05-21 11:41:15 +03:00
Filippos Karapetis fb5aa3ccbb DREAMWEB: Rename the dreamweb_originalsaveload option to originalsaveload
This changes its naming to be like the rest of the game options
2012-03-25 17:50:22 +03:00
D G Turner bca22d4bee DREAMWEB: Migrate loadGraphicsFile() to using datafile prefix variable. 2012-02-24 15:04:13 +00:00
Alyssa Milburn 256d160679 DREAMWEB: Remove shared temp graphics variables.
Instead, have a different variable for each use.
2012-02-23 22:34:22 +01:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Torbjörn Andersson c456d6d29a DREAMWEB: Rewrite a comment, since the old one could be misread
I read it as "this is how the original code expects save slots to
be initialized", but I guess it could be read as "the original
engine had 21 save slots". Which it didn't.
2012-01-12 00:00:26 +01:00
Torbjörn Andersson 0998c64c20 DREAMWEB: Change selectSaveLoadPage()'s command type to be unique
At Filippos's and wjp's suggestion. I don't really understand what
it does (other than printing the mouse over text), so I had simply
copied and pasted from another function.
2012-01-11 23:38:37 +01:00
Torbjörn Andersson 0a5df02134 DREAMWEB: Extend the number of saveslots from 7 to 21 in the original
save/load dialogs.
2012-01-08 19:36:59 +01:00
Max Horn dc4af2afc2 DREAMWEB: Added commandOnlyCond() method 2011-12-28 23:06:49 +01:00
Willem Jan Palenstijn ea6546ae25 DREAMWEB: Clean up checkCoords 2011-12-28 19:55:06 +01:00
Filippos Karapetis eaed1b725a DREAMWEB: Replaced most isCD calls with calls checking for speech
This is quite useful for devices with limited storage, where the user
can use the CD version without its speech files
2011-12-28 18:54:17 +02:00
Willem Jan Palenstijn 63da2ac271 DREAMWEB: Clean up some constants 2011-12-28 16:48:10 +01:00
Filippos Karapetis 279746fcf0 DREAMWEB: Completely remove all of the runtime, and move everything into DreamWebEngine
Also, remove dead code (allocateMem/deallocateMem)
2011-12-28 15:07:17 +02:00
Willem Jan Palenstijn 57e940f678 DREAMWEB: Move all saved variables to a GameVars struct
The data segment is now completely unused.
2011-12-28 13:12:22 +01:00
Filippos Karapetis 26f1643e86 DREAMWEB: Remove a lot of unused/duplicate constants and move some of them to dreambase.h 2011-12-28 12:15:52 +02:00
Willem Jan Palenstijn 4c2d2684ea DREAMWEB: Mass-move variables out of data
This has been done by an automated search/replace, culling unused
variables in the process. The remaining variables in data are all stored
in savegames.
2011-12-28 02:36:52 +01:00
Willem Jan Palenstijn f729742f87 DREAMWEB: Convert exText into TextFile 2011-12-27 23:02:33 +01:00
Willem Jan Palenstijn e54196f37f DREAMWEB: Remove Extras segment 2011-12-27 23:02:33 +01:00
Willem Jan Palenstijn 90cb52b7f6 DREAMWEB: Streamline graphics file access 2011-12-27 23:01:58 +01:00
D G Turner 0155e88d10 DREAMWEB: Move kRoomssample out of data blob.
N.B. Last commit was kForeignRelease, not kSubtitles.
2011-12-27 04:39:50 +00:00
D G Turner 5cfa1899bd DREAMWEB: Move kQuitRequested out of data blob. 2011-12-27 03:08:43 +00:00
Filippos Karapetis 3ff26ba84f DREAMWEB: Move all of the functions to DreamBase and remove stubs.h 2011-12-27 03:00:00 +02:00
Filippos Karapetis d7335d69e3 DREAMWEB: Move the roomsCanGo array out of the data blob 2011-12-26 13:59:20 +02:00
Max Horn 04a147921f DREAMWEB: Rename workToScreenCPP to workToScreen 2011-12-26 01:41:56 +01:00
Willem Jan Palenstijn bbdbffc107 DREAMWEB: Move changes out of buffers 2011-12-23 23:46:38 +01:00
Max Horn b2fcdd6c86 DREAMWEB: Move rest of saveload.cpp to DreamBase 2011-12-23 10:18:02 +01:00
Max Horn ef98df5895 DREAMWEB: cleanup 2011-12-23 03:43:19 +02:00
Max Horn cdc6bc421b DREAMWEB: Turn RectWithCallback into template
Also moves checkCoords to DreamBase, adding a nasty cast to it. This is a
temporary HACK, which allows moving functions that use checkCoords to
DreamBase one at a time, instead of all at once (and at the same time as
checkCoords). This can be undone once everything using checkCoords has been
moved to DreamBase.
2011-12-23 03:39:44 +02:00
Max Horn d033566f6d DREAMWEB: Move most of saveload.cpp to DreamBase 2011-12-23 03:31:01 +02:00
Willem Jan Palenstijn 60ece632b8 DREAMWEB: Remove reelRoutines from data blob 2011-12-18 16:54:16 +01:00
Willem Jan Palenstijn 4178ad6b68 DREAMWEB: Fix ReelRoutine terminator saving/loading 2011-12-18 12:38:53 +01:00
Filippos Karapetis 5d1e1fbbbc DREAMWEB: Spacing 2011-12-18 13:16:25 +02:00
Filippos Karapetis 09eaef6bcd DREAMWEB: Remove regression from b0a42f1 (duplicate saved reel data) 2011-12-18 13:08:27 +02:00
Filippos Karapetis 08fec8fa34 DREAMWEB: Add meta information to saved games
This information includes savegame versioning and the saved game's
date/time, played time and game thumbnail. This information is stored
into an unused data block of the original save format, so the
generated ScummVM saves are (hopefully) fully compatible with the
original ones and can be loaded in the original interpreter
2011-12-18 02:55:22 +02:00
Willem Jan Palenstijn 46caa77164 DREAMWEB: Add disabled reelRoutine conversion work 2011-12-17 22:28:54 +01:00
Willem Jan Palenstijn b0a42f115e DREAMWEB: Use serializer for ReelRoutines 2011-12-17 21:30:54 +01:00