aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2010-10-01SCUMM/FM-TOWNS: fix palette and other graphics issuesFlorian Kagerer
This commit should fix at least the following bugs/feature requests: #1032859, #1252088, #1055391, #1315968, #1315938, #1742106, #812891. The FM-Towns version of Scumm games use a mixed graphics mode with 2 layers (one with 32767 colors and one with 16 colors). Among other things I have added a screen output class which emulates this dual layer approach which allows specific hardware effects like enabling and disabling layers (e.g. in the voodoo priestess scene in MI1). Old savegames (saved before this update) will load, but you’ll encounter palette glitches in the verb/inventory screen, since the 16 color palette for layer 2 is not contained in your savegame. This will be true at least for version 5 games. Certain scene change actions (which require the verb/inventory part to be redrawn) might correct this (e.g. try looking at the treasure map in MI1 and closing it). Version 3 games should be okay, since they use a static text palette which is never changed and which will be reset after loading a savegame. This update requires a USE_RGB_COLORS setting for proper operation. 8 bit users will get a warning that they’ll have to expect palette glitches . Apart from that the engine in 8 bit mode should not only still work okay, but also benefit from some of the other (non palette related) improvements (e.g. bug #1032859 should be fixed even in 8 bit mode). Japanese font drawing hasn’t been improved much yet. This will be a separate task. svn-id: r52966
2010-10-01HUGO: Remove viewport variables from _configArnaud Boutonné
svn-id: r52963
2010-10-01HUGO: Fix crash using mouseArnaud Boutonné
Fix crash when clicking on objects without a default 'TAKE' action (like the hero, the eyes and the bat in the first screen) svn-id: r52962
2010-09-30HUGO: Improve message boxesArnaud Boutonné
- Use OK and YES/NO messages boxes when required - Empty messages are no longer displayed svn-id: r52960
2010-09-30GOB: Remove useless variableArnaud Boutonné
svn-id: r52957
2010-09-30GOB: Fix 16bit cursorsSven Hesse
svn-id: r52952
2010-09-30GOB: Remove extra \n in debug warning()sSven Hesse
svn-id: r52951
2010-09-30GOB: Transparency support for 16bit surfacesSven Hesse
svn-id: r52950
2010-09-30GOB: Create 16bit surfaces for true color gamesSven Hesse
Enabling basic Urban drawing again svn-id: r52949
2010-09-30GOB: Remove the now useless VGAVideoDriverSven Hesse
svn-id: r52948
2010-09-30GOB: Change all drawing to use class SurfaceSven Hesse
svn-id: r52947
2010-09-30GOB: Add a new class SurfaceSven Hesse
This will be the new class managing all drawing, providing depth-agnostic methods for all drawing operations, including 2 iterator-like classes, Pixel and ConstPixel. svn-id: r52946
2010-09-30GOB: Remove dither stuff, commenting out most v6 drawingSven Hesse
svn-id: r52945
2010-09-30GOB: Stub setting up of 16bpp graphicsSven Hesse
svn-id: r52944
2010-09-30GOB: Add kFeaturesTrueColorSven Hesse
svn-id: r52943
2010-09-30GOB: Rename kFeatures640 to kFeatures640x480Sven Hesse
svn-id: r52942
2010-09-28ALL: Fixup some #define namesMax Horn
svn-id: r52935
2010-09-28HUGO: Suppress useless parameter in several functionsArnaud Boutonné
svn-id: r52933
2010-09-28TINSEL: Remove redundant '_Windows' checkMax Horn
svn-id: r52932
2010-09-28SAGA: Fix wrong logo animation in some versions of ITETorbjörn Andersson
Not all releases put the Wyrmkeep credits patch in a "graphics" sub-directory, so assume it could be anywhere. svn-id: r52930
2010-09-28SAGA: Fix an ITE intro regressionTorbjörn Andersson
(Possibly related to bug #3076822 - ITE: Dialog repeats in intro.) The p2_a.voc patch file wasn't played. This was because the engine first loaded p2_a.voc as a replacement for voice resource 4. Then it tried to load p2_a.iaf and, when it failed, removed the patch data for the very same resource. Now it only tries to read a patch if it hasn't already found a patch for the resource. (There may have been a similar bug in the end credits as well.) svn-id: r52928
2010-09-28SAGA: Initialise _driverTypeTorbjörn Andersson
svn-id: r52922
2010-09-27HUGO: Move strlwr to UtilsArnaud Boutonné
svn-id: r52921
2010-09-27HUGO: Add F3 behavior (recall), little cleanupArnaud Boutonné
- Add F3 behavior - Move drawStatusText() to Screen svn-id: r52920
2010-09-26SCI: adding separate status drawing codeMartin Kiewitz
now also draws "IV" in KQ4 correctly. This wasn't the case before because we reused the regular drawing code, which would see the 0xA ("IV") as linebreak save for backport svn-id: r52913
2010-09-26SCI: kDrawPic setting _picNotValid on non-frontMartin Kiewitz
fixes lsl5 english graphic corruption during taj mahal wakeup, should also fix sq5 1.03 graphic corruption right after scrubbing (bug #3041069) save for backporting svn-id: r52911
2010-09-26JANITORIAL: Removed unnecessary semi-colons.Torbjörn Andersson
svn-id: r52910
2010-09-26AGOS: Hopefully fix bug #3000876 ("FF: Crackling/static popping")Torbjörn Andersson
We want the WAV stream in playSounData() to contain the entire WAV data, but the size we read does not include the eight first bytes. svn-id: r52908
2010-09-26AGOS: Fix bug #3011638 - WAXWORKS: Crash retrieving spear from the crocodile ↵Travis Howell
carcass. svn-id: r52906
2010-09-26AGOS: Fix Valgrind warnings on exit.Torbjörn Andersson
svn-id: r52904
2010-09-26HUGO: Remove extra ;Arnaud Boutonné
svn-id: r52903
2010-09-26HUGO: Add H1 Dos introArnaud Boutonné
svn-id: r52902
2010-09-26AGI: Fix bug in cmd_cancel_line()Torbjörn Andersson
We have to update cursor position, not just terminate the input buffer. This makes Ctrl-C work as intended, which fixes one half of bug #3054184 ("SQ1 AGI: keyboard special keys are not functioning properly"). I'm not sure if the second half actually is a bug. svn-id: r52899
2010-09-25SCUMM: Fix bug #3052804 by reverting NES-specific screen width hackEugene Sandulenko
svn-id: r52891
2010-09-25SCI: little optimization in kAddToPicMartin Kiewitz
definitely save to backport, belongs to r52887 svn-id: r52888
2010-09-25SCI: changes to kAddToPicMartin Kiewitz
kAddToPic doesnt do loop/cel fixups, it also doesnt support global scaling and will only set nsRect on scaled Cels, not reusing fill() of kAnimate anymore, but doing those things separately fixes kq6 - 2nd window shown instead of peppermint bush (bug #3070465) should be save to backport svn-id: r52887
2010-09-25AGI: Fix C64 AGI picturesMatthew Hoops
The initial screen color needs to be 0 and not 0xf for these. Winnie C64/Apple II should be completable now, with some graphical glitches and palette problems. svn-id: r52881
2010-09-25HUGO: Add H2 Dos splash screenArnaud Boutonné
svn-id: r52880
2010-09-25HUGO: Fix stricmp use and text color in splash screenArnaud Boutonné
svn-id: r52878
2010-09-25HUGO: Add intro for H3 DosArnaud Boutonné
svn-id: r52877
2010-09-24SCI: save/restore intensity of sysPaletteMartin Kiewitz
fixes bug #3072868 should be save for backporting svn-id: r52875
2010-09-24SCI: Implement voice mapping for CMS driver.Johannes Schickel
svn-id: r52871
2010-09-23DRASCULA: Play the English "von Braun" trackTorbjörn Andersson
The workaround is no longer needed since we provide the previously missing track. It shouldn't break the game if you play from the CD either, as the timing appears to be hardwired rather than keyed to the music. svn-id: r52866
2010-09-22HUGO: Constify char* parameters in ScreenArnaud Boutonné
svn-id: r52860
2010-09-22HUGO: Fix intro in H3 WinArnaud Boutonné
This fixes the path on the world map, during intro svn-id: r52858
2010-09-22AGI: Fix for Bug #3067263 "SQ2: ScummVM hanging on the inventory screen"David Turner
This was due to a loop in AgiEngine::selectItems(int n), which lacked a check that the engine was quitting or restarting. svn-id: r52856
2010-09-21DRASCULA: Keep keyboard buffer flushed while waiting for conversationTorbjörn Andersson
Otherwise buffered-up key presses can cause dialog to be skipped once the player finally picks a conversation option. svn-id: r52850
2010-09-21DRASCULA: Fix bug #3069977 ("Grafic Glitches in text")Torbjörn Andersson
If response() loads an image into backSurface, we need to restore the conversation charset to it once we're done. This may very well fix a few other similar bugs, but I haven't verified that. svn-id: r52845
2010-09-21DRASCULA: Fix invalid memory access on inventory screenTorbjörn Andersson
When clicking outside of all inventory objects, the whichObject() function would return 43, which is an invalid inventoryObjects[] index. I think that's what caused it to crash for me. There are a few other inventoryObjects[]-related changes as well. svn-id: r52843
2010-09-21KYRA2/LOL PC-98: fix sfx rateFlorian Kagerer
svn-id: r52842