Age | Commit message (Collapse) | Author |
|
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
|
|
svn-id: r52963
|
|
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
|
|
- Use OK and YES/NO messages boxes when required
- Empty messages are no longer displayed
svn-id: r52960
|
|
svn-id: r52957
|
|
svn-id: r52952
|
|
svn-id: r52951
|
|
svn-id: r52950
|
|
Enabling basic Urban drawing again
svn-id: r52949
|
|
svn-id: r52948
|
|
svn-id: r52947
|
|
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
|
|
svn-id: r52945
|
|
svn-id: r52944
|
|
svn-id: r52943
|
|
svn-id: r52942
|
|
svn-id: r52935
|
|
svn-id: r52933
|
|
svn-id: r52932
|
|
Not all releases put the Wyrmkeep credits patch in a "graphics"
sub-directory, so assume it could be anywhere.
svn-id: r52930
|
|
(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
|
|
svn-id: r52922
|
|
svn-id: r52921
|
|
- Add F3 behavior
- Move drawStatusText() to Screen
svn-id: r52920
|
|
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
|
|
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
|
|
svn-id: r52910
|
|
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
|
|
carcass.
svn-id: r52906
|
|
svn-id: r52904
|
|
svn-id: r52903
|
|
svn-id: r52902
|
|
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
|
|
svn-id: r52891
|
|
definitely save to backport, belongs to r52887
svn-id: r52888
|
|
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
|
|
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
|
|
svn-id: r52880
|
|
svn-id: r52878
|
|
svn-id: r52877
|
|
fixes bug #3072868
should be save for backporting
svn-id: r52875
|
|
svn-id: r52871
|
|
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
|
|
svn-id: r52860
|
|
This fixes the path on the world map, during intro
svn-id: r52858
|
|
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
|
|
Otherwise buffered-up key presses can cause dialog to be skipped once
the player finally picks a conversation option.
svn-id: r52850
|
|
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
|
|
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
|
|
svn-id: r52842
|