Commit Graph

1372 Commits

Author SHA1 Message Date
D G Turner
260ee4f390 DREAMWEB: Add missing getDebugger() for engine API. 2013-12-06 23:43:08 +00:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Strangerke
06f9a5265a DREAMWEB: Remove dead function enableSavingOrLoading() (which fixes CID 1003402) 2013-11-09 23:54:09 +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
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