Commit Graph
576 Commits
Author SHA1 Message Date
alxpnv 2614f0d245 DREAMWEB: lower the music volume in the last scene 2022-10-27 02:45:57 +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
taylorzhancher ea9a7dccf1 DREAMWEB: Add Text To Speech support 2021-09-04 19:27:46 +01:00
Eugene Sandulenko 203ac1205c DREAMWEB: Fix verb order in Russian DreamWeb 2020-12-07 01:49:17 +01:00
Eugene Sandulenko 93dfd3922e DREAMWEB: Added support for Russian fan-translation 2020-01-29 00:50:41 +01:00
Colin Snover 6e157429b7 BACKENDS: Fix window sizing of games that switch between multiple resolutions 2017-10-07 12:30:29 -05:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Strangerke 137f625548 DREAMWEB: Some British to American english 2014-02-19 21:45:22 +01:00
Johannes Schickel aaff7b1736 DREAMWEB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Thierry Crozat 54640a7317 I18N: Workaround to fix spelling in French command 3 2013-04-26 23:57:00 +01:00
D G Turner 617f6179c1 DREAMWEB: Change various loop variables to uint, rather than size_t.
This is partly for readability and partly to avoid any possible
portability issues i.e. though they should be the same, size_t is
defined by system headers, whereas uint is defined within our build
system.

Also, replaced a array size calculation with our ARRAYSIZE macro.
2012-11-30 12:08:55 +00:00
D G Turner 9dc4542f3c DREAMWEB: Migrate object/inventory related functions out of stubs. 2012-11-30 11:21:31 +00:00
D G Turner bf876a13c6 DREAMWEB: Remove dead code functions and minor formatting cleanup. 2012-11-30 04:35:54 +00:00
D G Turner a6f2703ec2 DREAMWEB: Further cleanup to keyboard input buffer code.
Removed the buffer from being a global non-const variable. Also, the
code changes should allow the buffer size to be increased by just
changing the size of _keyBuffer if needed.
2012-11-29 03:00:17 +00:00
D G Turner bcee44793f DREAMWEB: Simplify _lastHardKey usage and migrate to Common::KeyCode.
This improves readability and should help with dealing with changes
to fix bug #3590814 ("DREAMWEB: M key does not work in Network").
2012-11-29 01:39:08 +00:00
D G Turner d335b78003 DREAMWEB: Fix minor regression with Ryan's watch.
Using Ryan's watch within the game, the watch time always started at
19.30 from point of use, which did not seem correct.

Checking with the original CD and Floppy interpreters under DOSBox
showed they used the current system time, so this was incorrect.

Bisection shows that this regression was introduced by commit
57e940f678 i.e. "DREAMWEB: Move all saved
variables to a GameVars struct" and was probably a side effect of a
minor call ordering change in the equivalent of setupInitialVars()
with respect to the getTime() call.

However, to ensure no further regressions, it was easier to fix this
by replacing the initial value setting by a getTime() call.
2012-07-01 06:20:53 +01:00
D G Turner 6691424397 DREAMWEB: Remove irrelevant additions in SFX id 62 usage. 2012-05-31 05:39:08 +01: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 6ecf27711c DREAMWEB: Move all of the mouse cursor related code into a separate file 2012-04-22 16:06:25 +03:00
Thierry Crozat a3406aab13 DREAMWEB: Support opening data files from ES and FR CD version 2012-04-15 11:45:14 +01:00
Filippos Karapetis 98b60f1af8 DREAMWEB: Slight cleanup of DreamWebEngine::animPointer() 2012-03-27 00:21:48 +03:00
Filippos Karapetis d41d7e5f36 DREAMWEB: Clean up the palette brightness code 2012-03-04 01:11:50 +02:00
D G Turner 966210b56d DREAMWEB: Migrate remaining minor functions to using datafile prefix variable.
Currently, the usages associated with savegames have been omitted.
These will probably need a different prefix constant as it is likely
foreign variants still use "DREAMWEB.*" for savegames, while using
a different prefix for the datafiles. We may even migrate away from
this naming convention as this causes savegame collisions when multiple
language variants are present, which could cause issues.

The usages in the Room members of the constant g_roomData structure have
also been omitted, as the members are copied into the savegame format,
thus replacing these and fixing other accesses is not trivial.
2012-02-24 15:04:16 +00:00
D G Turner a397748ace DREAMWEB: Migrate loadTextFile() to using datafile prefix variable. 2012-02-24 15:04:15 +00:00
D G Turner bca22d4bee DREAMWEB: Migrate loadGraphicsFile() to using datafile prefix variable. 2012-02-24 15:04:13 +00:00
D G Turner e3c5f9180c DREAMWEB: Migrate loadSounds() to using datafile prefix variable. 2012-02-24 15:04:12 +00:00
D G Turner 31bf535a83 DREAMWEB: Migrate loadTempText() to using datafile prefix variable. 2012-02-24 15:04:10 +00:00
Alyssa Milburn 6e70f77289 DREAMWEB: Dynamically allocate GraphicsFile::_frames.
This avoids extra memory usage due to the previous commit.
2012-02-23 22:37:21 +01: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
Max Horn dcbf77cc92 DREAMWEB: Document some locations 2012-02-16 11:11:45 +01:00
Willem Jan Palenstijn 3fc8b7227b DREAMWEB: Fix missing subtitle lines in speech+subtitle mode
This is done by adding a (very ugly) way to force the previous timed-temp
line off screen, so the next one can be shown.
2012-02-12 23:57:09 +01:00
Willem Jan Palenstijn d09be37c69 DREAMWEB: Minor clean up 2011-12-29 14:39:53 +01:00
D G Turner 59458c9b15 DREAMWEB: Simplify finalization call in dreamweb main function.
Thanks to Fingolfin for the suggestion.
2011-12-29 02:58:19 +00:00
D G Turner 311e1c495c DREAMWEB: Minor clean up and removal of goto usage in dreamweb(). 2011-12-28 23:37:16 +00:00
Max Horn 93ee179641 DREAMWEB: Minor cleanup 2011-12-29 00:00:44 +01:00
Max Horn 9f99fb5f8a DREAMWEB: Use ObjectType enums in more places 2011-12-28 23:53:54 +01:00
Max Horn dc4af2afc2 DREAMWEB: Added commandOnlyCond() method 2011-12-28 23:06:49 +01:00
Willem Jan Palenstijn 32e5778d1f DREAMWEB: Fix crash when loading a room without reels 2011-12-28 20:11:36 +01:00
Max Horn e2c006f793 DREAMWEB: Remove global file handle 2011-12-28 19:59:53 +01:00
Willem Jan Palenstijn ea6546ae25 DREAMWEB: Clean up checkCoords 2011-12-28 19:55:06 +01:00
Max Horn c6dfac9b0a DREAMWEB: Move more methods to keypad.cpp, reorder them to match ASM 2011-12-28 19:36:17 +01:00
Filippos Karapetis e2aaba4a69 Merge pull request #154 from fingolfin/dreamweb-cleanup
Dreamweb: Mark structs packed, minor tweaks
2011-12-28 10:29:53 -08: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
Max Horn 8f2b8e821f DREAMWEB: Cleanup 2011-12-28 16:36:17 +01:00
Max Horn ca7da4cffc DREAMWEB: Rename a member of SetObject & DynObject to objId
SetObject::name and DynObject::id are stored at the exact same offset,
and have the exact same meaning (see also objectMatches()). Now they
also have the same name, objId.
2011-12-28 16:36:16 +01:00
Max Horn c10ea611e8 DREAMWEB: Rename getEitherAdCPP to getEitherAd, use obj type enums 2011-12-28 16:36:16 +01:00
Filippos Karapetis 1c17b277eb DREAMWEB: Mark all of the differences between the floppy and CD versions
- Add TODOs for the CD checks in setupTimedTemp() and startTalk()
- The current doSomeTalk() is for the CD version only
- Implement a difference of the CD version in intro
2011-12-28 16:16:41 +02:00