Commit Graph

1364 Commits

Author SHA1 Message Date
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
Johannes Schickel
378387c903 I18N: Move specification of engine specific files to enginedir/POTFILES.
This allows to keep the engines to specfiy the files for translation close to
the engine sources itself.

Thanks to criezy for his suggestion on this approach.
2013-08-12 17:54:31 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Simon Sawatzki
7f3cbdba6b DREAMWEB: Changed Italian LOGON command
Changed REGISTRA to ACCEDI for better user convenience.
2013-05-04 22:13:53 +02:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Thierry Crozat
8942a96baf DREAMWEB: Change Spanish LOGON command to ACCESO 2013-05-02 21:37:52 +01:00
Thierry Crozat
6936f830ea DREAMWEB: Add commands in Spanish for the Network Terminal
Also changed the German HELP command to HILF at the translator
request (which means both HILF and HILFE work since the parser
only matches the start of the string).
2013-04-29 22:35:51 +01:00
Thierry Crozat
54640a7317 I18N: Workaround to fix spelling in French command 3 2013-04-26 23:57:00 +01:00
Max Horn
cdfd5f85c8 ENGINES: Silence clang warning about unused private member _vm
This affects the Console / debugger classes of multiple engines.
An alternative solution would have been to remove the unused _vm
member vars. However, it seems likely that in the future, the _vm
member could be useful for methods added to the console. So instead,
we add a simple assert(_vm) to silence the clang warning.
2013-04-18 23:50:19 +02:00
Willem Jan Palenstijn
ff33c5c367 DREAMWEB: Make location array sizes more consistent
While location 15 doesn't actually exist, this makes roomPics more
consistent with the roomsCanGo array.
2013-04-17 21:14:04 +02:00
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