aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
AgeCommit message (Collapse)Author
2016-04-11DRASCULA: Fix random crash when loading pendulum scene savegameThierry Crozat
When saving from the pendulum scene the curX and curY values are negative while the curWidth and curHeight values are unset. This causes random crashes as we may do an array out of bound access when enterRoom() is called at the end of the load.
2016-04-11DRASCULA: Rename variable to clarify its meaningThierry Crozat
2016-04-11DRASCULA: Fix color for Drascula at the end of chapter 5Thierry Crozat
I checked the original and the code in ScummVM and there is no call to talk_solo in chapter 4, while we indeed need to use the red color for all calls to talk_solo in chapter 5.
2016-04-11DRASCULA: Improve loading savegames in Pendulum sceneThierry Crozat
The previous fix only fixed the incomplete state when loading from the launcher. Now this is fixed when loading from the game as well. It also fixes loading a savegame from the first stage of the pendulum scene (when the protagonist is not visible) to any other scene in chapter 6. The protagonist was not made visible again when loading the savegame.
2016-04-10DRASCULA: Fix loading games in room 102 when still chainedThierry Crozat
Room 102 has two states. The first one has an animation of a pendulum while the protagonist is chained to a table beneath it. The second state is after the protagonist free himself. In the second state the pendulum has stopped. When saving in the first state, loading the save game did not properly setup the pendulum animation causing graphic glitches. This fixes bug #7113 DRASCULA: Serious sprite glitches
2016-04-09DRASCULA: Fix character walking off screenThierry Crozat
There was an unhandled case in chapter 2 when the character is at the exact Y location and close to the X location to where we asked him to walk. The code started the walk but without properly setting the curDirection and trackProtagonist variables. This resulted in the walk never stopping. I checked what the original source code is doing for this case and implemented it in the same way: the character does not start walking. This fixes bug #7112: DRASCULA: protagonist walking off the screen
2016-04-08DRASCULA: Fix text alignment to be faithful to the originalThierry Crozat
The changes in this commit should provide an identical text placement to the original. In addition to using the original source code as reference I have checked that is the case by comparing with DosBox for the intro of the Spanish and English versions as well as for parts of the game with the English version. I added comments for the obscure parts (such as the original adding a space at the end of the last line of text when splitting a string into several lines, thus impacting how that last line is aligned).
2016-04-07DRASCULA: Improve text centering and spacing between linesThierry Crozat
This in particular fixes bug #7111: Incorrect position in texts, not as the original. However this codes centers the text better than what we see in DosBox, so the result is not identical. This change is based on the code before the commit 7cf7f4b "Rewrote the very confusing centerText() function into something that makes more sense". The changes in that commit do not all make sense to me so I reverted the line spacing (to add back 2 pixels between text lines) and part of the logic to center text. The result looks a lot closer to the original engine in DosBox, but not identical.
2016-03-13BACKENDS: Only expose one set of functions for AudioCDManagerMatthew Hoops
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13BACKENDS: Move to an openCD() without parameters as the public APIMatthew Hoops
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-02-25DRASCULA: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-01-26DRASCULA: Only request actual save slots in listSaves.Johannes Schickel
2015-03-01DRASCULA: comment "talk.cpp"norbertbajko
Explain #5903 DRASCULA-IT bug fix
2015-03-01DRASCULA: comment "talk.cpp"norbertbajko
Explain #5903 DRASCULA-IT bug fix
2015-03-01DRASCULA: comment "actors.cpp"norbertbajko
Explain #5903 DRASCULA-IT bug fix
2015-03-01DRASCULA: fix crash/graphic glitch at castle towersNorbert Bajkó
Fix bug #5903 DRASCULA-IT: Crash/graphic glitch at castle towers
2014-12-22DRASCULA: use Common::String::format when possiblePino Toscano
Use Common::String::format instead of a MAXPATHLEN-sized char[] buffer.
2014-10-11DRASCULA: Remove unused static variableThierry Crozat
This code was used until commit aaf8b58 that reworked the detection to support French and German versions.
2014-06-16DRASCULA: Reduce some variable scope in AnimationStrangerke
2014-06-15DRASCULA: Handle audio files in the "audio" folder (bug #6631)Filippos Karapetis
The music add-on packs we provide have the audio files in an "audio" folder, but without clear indication that its contents should be copied inside the game data folder. Since this can lead to confusion from users, we just add support for this case
2014-05-27ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd.Johannes Schickel
2014-05-27ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.Johannes Schickel
2014-02-18DRASCULA: Make GPL headers consistent in themselves.Johannes Schickel
2013-12-06DRASCULA: Hookup up debug console correctly.D G Turner
This now opens correctly on CTRL-d keystroke.
2013-11-24BUILD: Remove need for engine.mk in each engine directory.D G Turner
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-24BUILD: Remove need for engine-plugin.h in engines.D G Turner
This is now generated automatically by the configure script from the engine directory names.
2013-11-24BUILD: Split engines/plugins_table header down to a file per engine.D G Turner
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-24BUILD: Split engines.mk down to a single file per engine.D G Turner
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-24BUILD: Split configure.engines down to a single file per engine.D G Turner
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-09DRASCULA: More variables initialized. CID 1003403Eugene Sandulenko
2013-10-29DRASCULA: More uninit variables. CID 1003403Eugene Sandulenko
2013-10-18DRASCULA: Initialize class variables. CID 1003403Eugene Sandulenko
2013-10-17DRASCULA: Fix buildWillem Jan Palenstijn
2013-10-17DRASCULA: Fix uninitalized class variables. CID 1003403Eugene Sandulenko
2013-10-17DRASCULA: Give hint about unused return value. CID 1003863Eugene Sandulenko
2013-10-17DRASCULA: Fix potential buffer overrun. CID 1003311Eugene Sandulenko
2013-10-17DRASCULA: Fix potential buffer overrun. CID 1003310Eugene Sandulenko
2013-10-17DRASCULA: Fix potential buffer overrun. CID 1003309Eugene Sandulenko
2013-10-17DRASCULA: Fix potential buffer overrun. CID 1003308Eugene Sandulenko
2013-09-12Merge pull request #378 from lordhoto/pluggable-engines-translationsJohannes Schickel
RFC: Pluggable Engines: I18N: Move specification of engine specific files to enginedir/POTFILES
2013-08-19DRASCULA: Some renaming. Also, get rid of some extraneous globalsFilippos Karapetis
This removes the superfluous talkHeight, talkWidth and timeDiff variables. It also changes _loadedDifferentChapter to be a boolean
2013-08-12I18N: Move specification of engine specific files to enginedir/POTFILES.Johannes Schickel
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-03DRASCULA: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03DRASCULA: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-05-20Revert "DRASCULA: Add detection entries for the Debian repacked versions ↵Filippos Karapetis
(bug #3612236)" This reverts commit f0071c65adf72f0fda07395b19b28a7e730b619a.
2013-05-20Revert "DRASCULA: Fix the comment of the Debian repacked Italian version"Filippos Karapetis
This reverts commit d06a6542249ae18ec4b43ffb7ac4e5273baf3fd7.
2013-05-19DRASCULA: Fix the comment of the Debian repacked Italian versionFilippos Karapetis
2013-05-19DRASCULA: Add detection entries for the Debian repacked versions (bug #3612236)Filippos Karapetis