Commit Graph

604 Commits

Author SHA1 Message Date
Johannes Schickel
cf91cebb9d DRASCULA: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
D G Turner
7432a33137 DRASCULA: Hookup up debug console correctly.
This now opens correctly on CTRL-d keystroke.
2013-12-06 22:55:03 +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
Eugene Sandulenko
fe67837077 DRASCULA: More variables initialized. CID 1003403 2013-11-09 12:51:39 +02:00
Eugene Sandulenko
36ad6a69ca DRASCULA: More uninit variables. CID 1003403 2013-10-29 09:42:11 +02:00
Eugene Sandulenko
6ff57db90f DRASCULA: Initialize class variables. CID 1003403 2013-10-18 16:01:10 +03:00
Willem Jan Palenstijn
ee9e6b94ae DRASCULA: Fix build 2013-10-17 13:40:26 +02:00
Eugene Sandulenko
955b585bd0 DRASCULA: Fix uninitalized class variables. CID 1003403 2013-10-17 13:51:30 +03:00
Eugene Sandulenko
9854911932 DRASCULA: Give hint about unused return value. CID 1003863 2013-10-17 13:47:16 +03:00
Eugene Sandulenko
b0ade3a637 DRASCULA: Fix potential buffer overrun. CID 1003311 2013-10-17 13:45:25 +03:00
Eugene Sandulenko
bc08216659 DRASCULA: Fix potential buffer overrun. CID 1003310 2013-10-17 13:43:21 +03:00
Eugene Sandulenko
66e6830395 DRASCULA: Fix potential buffer overrun. CID 1003309 2013-10-17 13:40:17 +03:00
Eugene Sandulenko
df73f27f67 DRASCULA: Fix potential buffer overrun. CID 1003308 2013-10-17 13:38:29 +03:00
Johannes Schickel
01dea8bd67 Merge pull request #378 from lordhoto/pluggable-engines-translations
RFC: Pluggable Engines: I18N: Move specification of engine specific files to enginedir/POTFILES
2013-09-12 15:38:13 -07:00
Filippos Karapetis
d531484350 DRASCULA: Some renaming. Also, get rid of some extraneous globals
This removes the superfluous talkHeight, talkWidth and timeDiff
variables. It also changes _loadedDifferentChapter to be a boolean
2013-08-19 03:08:58 +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
Johannes Schickel
acfdfd46d1 DRASCULA: Take advantage of Surface::getPixels. 2013-08-03 04:02:50 +02:00
Johannes Schickel
2131d2d2f5 DRASCULA: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:32 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Filippos Karapetis
e4d5b37a3e Revert "DRASCULA: Add detection entries for the Debian repacked versions (bug #3612236)"
This reverts commit f0071c65ad.
2013-05-20 12:44:17 +03:00
Filippos Karapetis
bd91467891 Revert "DRASCULA: Fix the comment of the Debian repacked Italian version"
This reverts commit d06a654224.
2013-05-20 12:44:03 +03:00
Filippos Karapetis
d06a654224 DRASCULA: Fix the comment of the Debian repacked Italian version 2013-05-19 08:37:57 +03:00
Filippos Karapetis
f0071c65ad DRASCULA: Add detection entries for the Debian repacked versions (bug #3612236) 2013-05-19 08:32:37 +03:00
Filippos Karapetis
d2a97bc928 DRASCULA: Reorder detection entries
Entries have been grouped by type (packed / unpacked) and ordered by
language, alphabetically
2013-05-19 08:32:37 +03:00
Filippos Karapetis
2dce7167b9 DRASCULA: Add detection entries for updated unpacked French / Italian versions (bug #3612236) 2013-05-19 08:32:36 +03:00
Filippos Karapetis
b59ac9ea3a DRASCULA: Remove superfluous strcpy() 2013-05-14 11:55:56 +03: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
Willem Jan Palenstijn
53f38aeff1 DRASCULA: Remove dead code 2013-04-24 23:01:07 +02:00
Willem Jan Palenstijn
2d1fd3b554 ALL: Fix typo (existant->existent) 2013-02-23 22:07:32 +01:00
Filippos Karapetis
89bbc9c292 DRASCULA: Fix shadowing warnings (thanks LordHoto), and rename some variables 2013-01-06 21:54:40 +02:00
Filippos Karapetis
00c0986562 DRASCULA: More animation cleanup. Separate subfunction of animation_12_5() 2013-01-04 23:06:19 +02:00
Filippos Karapetis
c1b0c80cce DRASCULA: Merge some animation functions and document all animations 2013-01-04 19:31:25 +02:00
Torbjörn Andersson
069f1079d8 DRASCULA: Respond quicker to aborting the von Braun song
This also fixes a palette glitch when trying to interrupt during
a fade. (The old image would flash before the room changed. It's
possible other such glitches still exist here, but if so they're
much less obvious than that one was.)
2013-01-04 14:21:34 +01:00
Filippos Karapetis
92dc12a3b2 DRASCULA: Properly set the game play time when loading a saved game 2013-01-04 13:24:43 +02:00
Filippos Karapetis
fe9228d4bb Oops, fix save converter message 2013-01-04 13:17:28 +02:00
Filippos Karapetis
4adfdb17e3 DRASCULA: Add advanced savegame functionality
This cleans up the save/load code and resolves multiple issues with the
original save/load screen.
Save game timestamps and thumbnails are now implemented, together with
the ability to load a game from the launcher.
F7 is now mapped to the ScummVM load dialog, and F10 to the save dialog
(if the user has selected to use the ScummVM save screen).
2013-01-04 13:12:52 +02:00
D G Turner
541c43992f DRASCULA: Change loop variable to uint, rather than size_t. 2012-11-30 12:45:26 +00: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
Johannes Schickel
0268f21980 DRASCULA: Get rid of casts on CursorManager::replaceCursor calls. 2012-06-16 03:28:42 +02:00
upthorn
9c70954f64 DRASCULA: listSaves handles unsynced save index
This is a situation that would occur when a user copies drscula save
files from one device to another, without copying the corresponding
index, or copies the index without all corresponding save files.
2012-04-16 13:52:36 -07:00
upthorn
9e5015e631 DRASCULA: added list saves support
Added kSupportsListSaves to DrasculaMetaEngine::hasFeature
Added working listSaves to DrasculaMetaEngine
2012-04-15 11:09:15 -07:00
Max Horn
658080deed ALL: Avoid using is* macros from ctype.h
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
D G Turner
4a59c954fd DRASCULA: Replace usage of 'goto'. 2011-12-08 14:54:18 +00:00
D G Turner
a0dbe45a45 DRASCULA: Add fix for crash/OOB memory accesses in bug #3440895
This bug is "DRASCULA-IT: Crash/graphic glitch at castle towers".
The crash was due to width and height values being passed to
copyBackground() being invalid due to out of bounds read from
the factor_red array. This adds debugging statements and fixes
the crash by clipping accesses to the maximum index of factor_red.

This doesn't however fix the observed GFX glitch, but stops it being
a segfault.
2011-11-25 06:30:10 +00:00
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Filippos Karapetis
c71ed522de DRASCULA: Further cleanup of the sound playing code 2011-11-16 12:03:31 +02:00