aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2016-04-13DRASCULA: Improve text centeringThierry Crozat
When splitting strings into several lines to fit on the screen the original engine could result in lines with one character beyond the right edge of the screen, which in practice would be drawn on the next line on its own, aligned to the left (and not centered). This commits adds a check to avoid this situation. So although it now behaves slightly differently than the original engine this is for the better.
2016-04-13WAGE: Basic stuff to MacWindowManagerEugene Sandulenko
2016-04-13TSAGE: Reduce GUI header dependenciesOri Avtalion
2016-04-13TESTBED: Include correct headerOri Avtalion
2016-04-13HUGO: Reduce header dependenciesOri Avtalion
2016-04-13AGI: Move predictivedialog.h out of agi.hOri Avtalion
2016-04-13WAGE: Added stub of MacWindowManager classEugene Sandulenko
2016-04-13WAGE: More auxiliary methods to MacWindow classEugene Sandulenko
2016-04-13WAGE: Stub for MacWindow classEugene Sandulenko
2016-04-12DRASCULA: Fix cursor visibility during animation at start of chapter 6Thierry Crozat
Here we transition from an animation at end of chapter 5 to another animation at start of chapter 6. Usually the cursor is hidden when performing the action that triggers the animation. But here there is no action to trigger it and the cursor is made visible when starting a new chapter or entering a room (so between the two animations). So explicitly hide it at the start of this specific animation (and it gets shown again when we enter room 102 at the end of the animation).
2016-04-12DRASCULA: Fix wrong background for inventory in chapter 6Thierry Crozat
This was a regression from commit fa3d3e3 and this fixes part of bug #7113 DRASCULA: Serious sprite glitches. The original uses extraSurface to draw text in draw_abc() in the Spanish version while other languages use tableSurface. But in ScummVM this was changed to use tableSurface for all languages. However this caused an issue in chapter 6 when displaying the inventory has it is also using tableSurface, as it was for all languages in the original. While using the same surface works for other languages, in the Spanish version we get the wrong background in the inventory. Rather than revert to using extraSurface for drawing text which is a big change and impact all the chapters, I have opted to simply swap the usage of the tableSurface and extraSurface in chapter 6 for the Spanish version compared to the original engine. The changes therefore only impact chapter 6 and only the Spanish version. I played the chapter in full to check that it indeed works without causing adverse effects.
2016-04-12WAGE: Update game statusEugene Sandulenko
2016-04-12WAGE: Fix console redrawing when desktop is redrawnEugene Sandulenko
2016-04-12WAGE: Redraw scene on object move to match original.Eugene Sandulenko
Still buggy a bit
2016-04-12WAGE: Fix click target search orderEugene Sandulenko
2016-04-12WAGE: Fix object sorting. Fixes many glitchesEugene Sandulenko
2016-04-11DRASCULA: Fix regression in subtitle display in Spanish versionThierry Crozat
This code was committed by mistake in the previous commit.
2016-04-11WAGE: Fix sorting of objects during moveEugene Sandulenko
2016-04-11DRASCULA: Fix typo in variable nameThierry Crozat
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-10ALL: Split SMALL_SCREEN_DEVICE into GUI_ENABLE_KEYSDIALOG and ↵Eugene Sandulenko
GUI_ONLY_FULLSCREEN
2016-04-09SHERLOCK: RT: Fix crasah showing items to Rose HanchemPaul Gilbert
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-09WAGE: Added debug code for dumping CODE resource forkEugene Sandulenko
2016-04-09SHERLOCK: Fix crash when searching the Serrated Scalpel journalTorbjörn Andersson
As far as I can tell, the lines I removed to draw the search box are already handled by the call to makeField() above. Also, they were drawing to the wrong surface, and one of them was in the wrong direction, which is what triggered an assertion.
2016-04-08SHERLOCK: Put back line break that I accidentally removed.Torbjörn Andersson
Thanks to LordHoto for noticing.
2016-04-08SHERLOCK: Fix crash when searching journal in Rose TattooTorbjörn Andersson
Another part bug, part regression from using ManagedSurface, I guess.
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-04-06SCI: Fix compilation for C++98.Johannes Schickel
2016-04-06Merge pull request #721 from lordhoto/sci-saveload-cleanupJohannes Schickel
SCI: Cleanup of Save/Load Code
2016-04-05WAGE: Fix bugs in original, when people mistype storage scene nameEugene Sandulenko
2016-04-05WAGE: Fixed moving objects to random sceneEugene Sandulenko
2016-04-05WAGE: Fix window overlapEugene Sandulenko
2016-04-05WAGE: Order scene and console drawing depending on what is activeEugene Sandulenko
2016-04-05WAGE: Split scene and console drawingEugene Sandulenko
2016-04-05WAGE: Added 4 more detection entries.Eugene Sandulenko
Only Disk and SEA archives are left unprocessed. Once this is finished I will put both originals and extracted archives online.
2016-04-05WAGE: Added three more fangames to detectionEugene Sandulenko
2016-04-04WAGE: Added 3 more games to detectionEugene Sandulenko
2016-04-04WAGE: Added 2 more games to detectionEugene Sandulenko
2016-04-04WAGE: 4 more games to detectionEugene Sandulenko
2016-04-04WAGE: More games added to detectionEugene Sandulenko
2016-04-03KYRA: (LOL) fix bug #7104 (LOL-CD: mixing sfx and voice mode does not work)athrxx
2016-04-03MOHAWK: Fix endianness issue in Myst opcode 30Bastien Bouclet
The previous code was reading data of the system's endianness as little endian. Now the data is converted to little endian before it is read. Attempt to fix #7100.
2016-04-03MOHAWK: Switch to slot based save file naming for MystBastien Bouclet
Myst previously used the user provided description as the save filename. This was not working when the user entered chacacters forbidden by the filesystem. The actual save format has not changed. Old saves are still compatible, but must be renamed to 'myst-###.mys' and 'myst-###.mym'. Fixes 7106.
2016-04-02Merge pull request #739 from salty-horse/comi_object_labels_settingJohannes Schickel
SCUMM: Add checkbox for object_labels setting in "Edit Game" dialog