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
Johannes Schickel
15d52025c2
DRASCULA: Simplify speech mute handling.
...
This also adds two TODOs to playFile, which are related to how the sound data
size is calculated.
2011-11-13 22:30:46 +01:00
Johannes Schickel
9a71985171
DRASCULA: Improve confirm quit screen.
...
Now the confirm quit screen still updates the room and allows mouse movement.
For me that removes the feeling that ScummVM locked up when I pressed escape.
2011-11-13 21:05:01 +01:00
Johannes Schickel
7600751525
DRASCULA: Allow faster quit when in the mid of a conversation.
...
This allows quitting ScummVM in only a minimal time when a converstion is
running instead of waiting for it to finish. It is still not instant but much
better.
2011-11-13 20:57:41 +01:00
Torbjörn Andersson
4066137f5d
DRASCULA: Don't go straight to inventory after close volume settings.
2011-11-09 22:14:32 +01:00
Eugene Sandulenko
6d4189e2ed
DRASCULA: Fix warnings
2011-11-02 23:18:10 +00:00
Eugene Sandulenko
32972a5ffb
AD: Switched rest of the engines to new GUIO
2011-10-23 17:53:13 +01:00
D G Turner
a293bbbbb4
DRASCULA: Remove unecessary VOC header dependency.
...
Also, remove two engines not using VOC from voc.h header.
2011-10-09 22:13:30 +01:00
Filippos Karapetis
8755ebc0aa
DRASCULA: Separated the save name syncing code, and added a TODO
2011-08-24 10:39:05 +03:00
Christoph Mallon
a5a8833c05
COMMON: Add DisposablePtr<T>, which replaces many repeated implementations of a dispose flag.
2011-08-07 15:19:08 +02:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
Littleboy
b694a78f62
ANALYSIS: Add static casts to is* functions
...
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
7c992d6598
DETECTOR: Merge ADParams into AdvancedMetaEngine
2011-06-14 18:17:01 +02:00
Max Horn
ae75b9780c
DRASCULA: Switch to alternate AdvancedMetaEngine, avoid ADParams
2011-06-10 22:15:41 +02:00
Max Horn
4827cc914a
ENGINES: Change incorrect use of 'target' to 'gameid'
2011-06-10 22:15:40 +02:00
D G Turner
889f5d119a
DRASCULA: Replace snprintf() usage with Common::String::format()
...
Safer and less portability issues.
2011-06-02 02:53:48 +01:00
Max Horn
4cbe4ede66
COMMON: Registers RandomSources in constructor with the event recorder
...
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00