Commit Graph

1352 Commits

Author SHA1 Message Date
Thierry Crozat
1ef6ee26cc DREAMWEB: Also update LOGON Italian translation in help string 2013-03-21 08:59:46 +00:00
Thierry Crozat
6d988c1853 DREAMWEB: Change Italian translation of terminal LOGON command
SimSaw found the Italian user manual and it uses REGISTRA. So I
changed the translation in-game to use the same.
2013-03-20 21:24:27 +00:00
Thierry Crozat
88c216e086 DREAMWEB: Make some static arrays const 2013-02-26 22:42:14 +00:00
Thierry Crozat
4530dd23a5 DREAMWEB: Add localised commands in the network terminal
The original interpreter only used english commands in the terminal
even when playing one of the localised version (and even though
everything else in the terminal was localised). This adds the possibility
to either use the English commands or the localised ones.
Localized commands have been added for French, German (thanks to
SimSaw, who also proposed that idea) and Italian (thanks to Maff).
2013-02-26 22:17:42 +00: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
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
Willem Jan Palenstijn
89a330cb5d DREAMWEB: Add some debugging output to emergencyPurge 2012-11-30 23:22:51 +01:00
Willem Jan Palenstijn
f2fe1b775a DREAMWEB: Make frame fixups more specific and add sanity checks
This should detect (and trigger asserts on) the kind of ex frame
data corruption in bug #3591088.
2012-11-30 20:06:41 +01:00
Willem Jan Palenstijn
f5dbd23bab DREAMWEB: Fix emergencyPurge checks
It could re-delete previously deleted objects, causing
ex data (frame/text) corruption. This is the likely cause of bug #3591088.

Asm conversion error from eaf87bdfa7.
2012-11-30 20:06:36 +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
06cc3b051a DREAMWEB: Further migration to screen size constants. 2012-11-30 10:49:25 +00:00
D G Turner
396f45f551 DREAMWEB: Fix usage of defines, rather than values for screen size. 2012-11-30 08:49:23 +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
6df53857f9 DREAMWEB: Add debugging output for keyboard input. 2012-11-29 04:07:05 +00:00
D G Turner
863bbf2cc5 DREAMWEB: Correction of minor conversion mistake. 2012-11-29 03:26:37 +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
Filippos Karapetis
20afbe95e6 DREAMWEB: Fix bug #3582582 - "GUI: "Grid View" Loader Triggers Immediately in Dreamweb" 2012-11-06 12:08:55 +02:00
Filippos Karapetis
06a2ac495d DREAMWEB: Also filter out invalid characters in getNextWord()
Thanks again to eriktorbjorn for spotting this. This one should be the
last place where we should filter out invalid characters
2012-11-06 01:47:03 +02:00
Filippos Karapetis
bdb8bdae2a DREAMWEB: Filter out leftover invalid characters in game texts
Thanks to eriktorbjorn for spotting the actual problem
2012-11-06 01:30:33 +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
Filippos Karapetis
c0babb010a Merge pull request #278 from bluegr/pcxdecoder
GRAPHICS: Add a PCX decoder
2012-09-16 14:06:42 -07:00
Torbjörn Andersson
bf27ff1438 DREAMWEB: Increase _operand1 buffer size
Theoretically, it should be almost as big as _inputLine, so let's
make them the exact same size just for simplicity. This fixes crashes
for me when trying to use very long parameters to the monitor's READ
command, and could possibly fix a bug reported in the German version
where you supposedly have to read "kurzmitteilung".
2012-09-14 20:22:12 +02:00
Filippos Karapetis
28733463fa DREAMWEB: Switch to the common PCX decoder 2012-09-13 01:51:01 +03:00
Paul Gilbert
b6000da875 DREAMWEB: Marked Dreamweb as stable 2012-07-18 00:49:28 +10:00
Johannes Schickel
e66b9d4487 DREAMWEB: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:50 +02:00
Ori Avtalion
f9d2871eb4 JANITORIAL: Remove extra semicolons 2012-07-03 18:28:14 +03: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
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
7d29e4017d DREAMWEB: Modify Sound code to better match original behaviour.
This fixes bug #3531635 - "DREAMWEB: doors don't play "open" sound when
opening".
In addition, the resultant code is simpler and should better match the
original behaviour and a basic playtest has not shown any regressions.
2012-06-05 01:00:01 +01:00
D G Turner
db77b9e4a7 DREAMWEB: Modify sound code to prevent missing sound effects.
This should fix bug #3528164 "DREAMWEB: missing sound
effects/music cues during main title" by preventing repeated calls
of SFX id 12 being lost if the next call is made before the sound
handler has cleared the previous one.
2012-06-02 22:28:34 +01:00
D G Turner
d9983a6224 DREAMWEB: Cleanup of debugging code and formatting in sound code.
This commit removes various temporary debugging output, cleans up
some points of formatting and replaces some hexadecimal sizes and
offsets with decimal for readability.
2012-06-02 07:03:40 +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
D G Turner
96ae10c749 DREAMWEB: Removal of dead code and cleanup in sound code.
The removed blocks in the playChannel<n> functions referencing index are
non-functional leftovers from more complex logic in the original code
structure, and thus can be safely removed.
2012-05-30 03:53:52 +01:00
D G Turner
45974a1bf0 DREAMWEB: Increased debugging output from sound related code.
This code is intended as temporary debugging code to aid investigation
of bug #3528164 - "DREAMWEB: missing sound effects/music cues during
main title" and can be removed once this bug is fixed.
2012-05-22 16:31:23 +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
D G Turner
e23ac65799 DREAMWEB: Modify detection entries to allow for early UK CD Release.
As this version has identical dreamweb.r00 and r02 files to the
international floppy release, have added the executable to clarify
between the two versions.

Fixes bug #3526483 - "DREAMWEB: No speech playing in CD version"
2012-05-18 17:13:37 +01:00
Willem Jan Palenstijn
f6acc5d5be DREAMWEB: Fix crash when entering short console password
_inputLine is not a string, so it shouldn't be cast to Common::String.
This fixes bug #3525602.
2012-05-10 23:06:32 +02: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
D G Turner
4161d83cba DREAMWEB: Add detection entry for another French/Spanish CD variant.
The MD5sums are taken from bug #3524362 "DREAMWEB: Problem with
Spanish/French version".
2012-05-07 23:21:20 +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
Johannes Schickel
e72f51129b DREAMWEB: Tag all detection entries as testing instead of unstable. 2012-05-03 18:44:41 +02:00
Filippos Karapetis
8a227d6903 DREAMWEB: Slight cleanup 2012-04-22 16:32:52 +03: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