Commit graph

217 commits

Author SHA1 Message Date
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760
d987e1a6b1 DREAMWEB: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Thierry Crozat
75f8cfac56 DREAMWEB: Use more accurate vsync timing
The vsync delay is 14 ms (1000 / 70), and using a loop with
a sleep of 10ms until we had passed that delay meant we were
actually waiting anytime between 14 and 23 milliseconds, which
made the game slower than it should be. This was partially
corrected by using a delay of 11 ms (800 / 70), but this was
still inacurate and too slow in average.

In addition, since the change in commit 87c8b60, it was ignoring
the time spent in the game loop, which on slow devices is not
negligeable, and this has been fixed as well.

Finally also change the fast speed from 20 to 4. In commit
87c8b60 the delay was changed from macroseconds to milliseconds,
and any speed above 14 would then result in a delay of 0 due to
the integer division. We have the turbo mode for that, so it
seems to make sense to make the fast mode a bit slower rather
than having two modes that do the same thing.
2020-05-03 00:13:33 +01:00
Paul Gilbert
f21ffdca33 DREAMWEB: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Eugene Sandulenko
93dfd3922e DREAMWEB: Added support for Russian fan-translation 2020-01-29 00:50:41 +01:00
Filippos Karapetis
87c8b60ee1 DREAMWEB: Change the vsync code to use a delay, instead of an interrupt
This adjusts the screen update code to check for events more often,
which will help with the game's responsiveness on some platforms
2020-01-23 00:36:14 +02:00
Filippos Karapetis
f524745774 DREAMWEB: Simplify the character kerning checks 2018-07-09 00:41:04 +03:00
Eugene Sandulenko
2d428e2760 DREAMWEB: Cleanup 2016-07-28 11:34:34 +03:00
Johannes Schickel
603eb3bfb6 DREAMWEB: Remove superflous default value registration for extra GUI options. 2015-12-28 00:14:11 +01: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
Eugene Sandulenko
986369bcb5 DREAMWEB: Initialize struct contents. CID 1003402 2013-11-09 12:59:38 +02:00
Eugene Sandulenko
dc91eafdad DREAMWEB: More unitialized variables. CID 1003402 2013-10-29 09:58:36 +02:00
Eugene Sandulenko
fee20ebe31 DREAMWEB: Initialize few more class variables. CID 1003402 2013-10-18 16:04:48 +03:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Thierry Crozat
674c625209 DREAMWEB: Fix key handling for non-QWERTY layouts
This fixes bug #3590814.
The case for KP0-KP9 can probably be removed as it should be
handled by the case above. But I don't have a keyboard with
keypad to test. So I am leaving it for now.
2012-12-02 14:41:17 +00:00
D G Turner
06cc3b051a DREAMWEB: Further migration to screen size constants. 2012-11-30 10:49:25 +00:00
D G Turner
6df53857f9 DREAMWEB: Add debugging output for keyboard input. 2012-11-29 04:07:05 +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
Filippos Karapetis
42b8f3db4d DREAMWEB: Add an extra line showing the available terminal commands
This is possible, since the game is freeware now. It is very
helpful when playing the game in order to avoid referring to the
manual. The extra help text is shown when the player uses the
'help' command inside the game terminal.

Also, the list of games where copy protection is skipped has been
reordered alphabetically in the README
2012-11-15 14:30:42 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +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
29a866217f DREAMWEB: Fix Speech Directory Name for SP/FR CD Variant.
This should fix the remaining issues on bug #3524362 "DREAMWEB: Problem
with Spanish/French version".
2012-05-08 16:58:43 +01:00
D G Turner
0cff5c547c DREAMWEB: Add _speechDirName to remove duplication of Directory name. 2012-05-08 16:48:01 +01:00
Willem Jan Palenstijn
5a1f458bd0 DREAMWEB: Add character map for the Italian version.
It is the same as the French version. This fixes bug #3523338.
2012-05-04 23:35:18 +02: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
8d274f5006 DREAMWEB: Simplify modifyFileName() by using _datafilePrefix 2012-04-16 23:21:30 +01:00
Thierry Crozat
a4aaca5919 DREAMWEB: Minor style fixes 2012-04-16 21:26:55 +01:00
Thierry Crozat
c62c5d61ca DREAMWEB: Add character mapping for french version 2012-04-15 11:45:14 +01: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
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
Filippos Karapetis
d41d7e5f36 DREAMWEB: Clean up the palette brightness code 2012-03-04 01:11:50 +02:00
D G Turner
4e68b06fed DREAMWEB: Remove uneeded Common::String construction. 2012-02-24 19:43:49 +00:00
D G Turner
542014c309 DREAMWEB: Add datafile name prefix to engine and modify showPCX() to it.
This new variable removes the need for duplicates strings of the form
"DREAMWEB.*" spread throughout the dreamweb engine, replacing them with
a common const string on the engine holding the datafile name prefix.

This will reduce binary size and it should also simplify adding support
for foreign language variants, where the datafile name prefix is
changed.

To demostrate usage and prove this, showPCX() is migrated to using this.
2012-02-24 15:04:09 +00:00
Max Horn
37216ab381 DREAMWEB: Avoid including advancedDetector.h from dreamweb.h 2012-02-22 18:25:37 +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
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
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
Max Horn
bfd891d571 DREAMWEB: Mark some member vars as only being used in keypad.cpp; cleanup 2011-12-28 23:06:49 +01:00
Max Horn
e2c006f793 DREAMWEB: Remove global file handle 2011-12-28 19:59:53 +01:00
Filippos Karapetis
6a5c75a439 DREAMWEB: Changed hasSpeech() to also take account of the audio settings
This fixes an assert in the madman sequence
2011-12-28 20:26:15 +02: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
198900069e DREAMWEB: Remove some now-redundant references to the DreamWeb namespace 2011-12-28 15:12:30 +02: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
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
D G Turner
a09fdaa0b1 DREAMWEB: Move 4 volume related variables out of data blob. 2011-12-28 01:31:24 +00:00