Commit Graph

38363 Commits

Author SHA1 Message Date
Eugene Sandulenko
024f492137 Added seek() method to MemoryWriteStreamDynamic.
If it deserves a separate class, shout.

svn-id: r49750
2010-06-15 10:34:14 +00:00
Eugene Sandulenko
38ef876d5b AGI: Split out IIgs sound emulator into separate files.
svn-id: r49749
2010-06-15 10:33:57 +00:00
Eugene Sandulenko
71917dc52d AGI: Implement FR #1881179.
FR #1881179: "AGI detecting agi mouse". Always run ScummVM in
AGIMOUSE compatibility mode, thus no detection for it is
needed.

svn-id: r49748
2010-06-15 10:33:26 +00:00
Eugene Sandulenko
f7c830af26 AGI: Fix walking for some versions of KQ4.
svn-id: r49747
2010-06-15 10:33:07 +00:00
Eugene Sandulenko
81870dba58 AGI: Fix bug #2825273.
Bug #2825273: "AGI: KQ4: Dwarf sequence". Always allow ESC to work
in KQ4.

svn-id: r49746
2010-06-15 10:32:44 +00:00
Eugene Sandulenko
88421532aa AGI: Implemented immediate update for most of gfx to match original.
This fixes many subtle effects as in many cases there were no
special pausing and engine relied only on the slowliness of the
machine.

svn-id: r49745
2010-06-15 10:32:25 +00:00
Eugene Sandulenko
462d1afed8 AGI: Fix bug #1875842.
Bug #1875842: "AGI: Character loses final walking position".
Do not reset ADJ_EGO_XY if non-directional keys were pressed.

svn-id: r49744
2010-06-15 10:32:01 +00:00
Eugene Sandulenko
83053ecc27 AGI: Fix bug #2825278.
Bug #2825278: "AGI: KQ4: Swimming on land". Our drawing code was
not picture perfect, and thus priority screen was trashed by one
of Fills, i.e. the color leaked and took whole screen.

svn-id: r49743
2010-06-15 10:31:39 +00:00
Eugene Sandulenko
ffc390e64c AGI: Fix bug #1945716.
Bug #1945716: "AGI: Fan(Kings Quest 2 1/4) - Sprite not erased".
Added a workaround, since it is design flaw of our rendering
system.

svn-id: r49742
2010-06-15 10:31:18 +00:00
Eugene Sandulenko
7034d071b6 AGI: proper fix for sprite leftover-related bugs. Removed workarounds.
svn-id: r49741
2010-06-15 10:30:54 +00:00
Eugene Sandulenko
295edafdc4 AGI: improve script-related debug output.
svn-id: r49740
2010-06-15 10:30:26 +00:00
Eugene Sandulenko
409fe0bd56 AGI: made sprite-related debug output more informative
svn-id: r49739
2010-06-15 10:30:01 +00:00
Eugene Sandulenko
341fba383e AGI: Fix bug #2862508.
Bug #2862508: "AGI: Black cauldron save through GMM". BC does not
have input line, and that was used for determining that user
can save. Added special case for BC, so it is always allowed to
save. In fact, original does not allow saving in some rare
occasions, but that will require analysing of variables, which
is a gross hack.

svn-id: r49738
2010-06-15 10:29:43 +00:00
Eugene Sandulenko
25948606c4 AGI: Fix bug #2960557.
Bug #2960557: "AGI: (Fan) SQ0 - Sprite (Ego) not erased".
Added a workaround. Actually root cause is not yet clear.

svn-id: r49737
2010-06-15 10:29:20 +00:00
Eugene Sandulenko
a993e2fb45 AGI: Fix bug #2960563.
Bug #2960563: "AGI: (Fan) SQ0: Text input field overdraws Text window".
Now our text wrapping code matches original.

svn-id: r49736
2010-06-15 10:28:58 +00:00
Eugene Sandulenko
4dddfd44ce AGI: Fix bug #2960584.
Bug #2960584: "AGI: (Fan) SQ0: Music lost on saving (and loading)".
Actually music did not loop at all. Our looping code was broken.

svn-id: r49735
2010-06-15 10:28:40 +00:00
Eugene Sandulenko
968f959158 AGI: Fix bug #2960567.
Bug #2960567: "AGI: Ego partly erased in Load/Save thumbnails".
Force screen redraw after confirmation window is closed.

svn-id: r49734
2010-06-15 10:28:21 +00:00
Eugene Sandulenko
4c617e8282 AGI: Fixed named fanmade games detection.
svn-id: r49733
2010-06-15 10:28:01 +00:00
Eugene Sandulenko
316e171e67 AGI: Fix bug #2959630.
Bug #2959630: "LSL1: Security in blackjack" fixed by partially
reverting r41241. Do not clear prompt without on disabling input.

svn-id: r49732
2010-06-15 10:27:42 +00:00
Eugene Sandulenko
14205bdbc0 AGI: add more status-related debug output.
svn-id: r49731
2010-06-15 10:27:23 +00:00
Eugene Sandulenko
1c1fb7c9ac AGI: add optional parameter to 'room' debug console command.
svn-id: r49730
2010-06-15 10:27:04 +00:00
Eugene Sandulenko
4046cd8457 AGI: debugger. Improved usage output, added safeguards to runopcode command
svn-id: r49729
2010-06-15 10:26:46 +00:00
Eugene Sandulenko
fa2b0a0dd2 SAGA: Fix bug #2827504.
Bug #2827504: "ITE: Music restarts on every background change in
credits". We errorneously were stopping music on each scene,
though it appeared only with Adlib music.

svn-id: r49728
2010-06-15 10:26:29 +00:00
Eugene Sandulenko
51c22b39c8 SAGA: Fix bug #2928923.
Bug #2928923: 'ITE: Graphic Glitches during racoon death "Cut Scene"'.
Disable actor drawing for these scenes. A long standing bug in
original.

svn-id: r49727
2010-06-15 10:26:10 +00:00
Eugene Sandulenko
fead2bb719 SAGA: Fix bug #2886130.
Bug #2886130: "ITE: Graphic Glitches during Cat Tribe Celebration".
We redraw statusbar for this scene. Bug in original.

svn-id: r49726
2010-06-15 10:25:50 +00:00
Eugene Sandulenko
d1c34efad9 SAGA: Fix bug #2886141.
Bug #2886141: "ITE: Cumulative Snoring sounds in Prince's Bedroom".
Implemented safeguard against running same looped sound more
than once.

svn-id: r49725
2010-06-15 10:25:34 +00:00
Eugene Sandulenko
0b8f8d7a24 SAGA: Fix bug #2886151.
Bug #2886151: "ITE: Mouse stops responding at Boar Castle" fixed
by implementing a workaround. It is a script bug in original.

svn-id: r49724
2010-06-15 10:25:13 +00:00
Eugene Sandulenko
6d2c916c34 SAGA: Add debug output for sfLockUser()
svn-id: r49723
2010-06-15 10:24:55 +00:00
Eugene Sandulenko
2e20a48f90 Drascula: improve responsivity during pauses and palette updates.
svn-id: r49722
2010-06-15 10:24:38 +00:00
Eugene Sandulenko
508256a71e Drascula: Fix bug #2011470.
Bug #2011470: "DRASCULA: slowdown when you hold mouse buttons" fixed
by changing right mouse semantic. Now the items menu showed on
button up instead mouse down like earlier.

svn-id: r49721
2010-06-15 10:24:19 +00:00
Eugene Sandulenko
08c5d37da4 Drascula: Fix bug #2827166.
Bug #2827166: "DRASCULA: Repeating conversations". It looked like
bug in original engine.

svn-id: r49720
2010-06-15 10:23:58 +00:00
Eugene Sandulenko
e71caf8600 Drascula: Fix bug #2827169.
Bug #2827169: "DRASCULA: gfx glitch in pendulum room" fixed by
rearranging draw sequence.

svn-id: r49719
2010-06-15 10:23:36 +00:00
Eugene Sandulenko
02a76b2e91 Drascula: add even more responsiveness
svn-id: r49718
2010-06-15 10:23:17 +00:00
Eugene Sandulenko
ba25faaf42 Drascula: more responsiveness.
svn-id: r49717
2010-06-15 10:22:56 +00:00
Eugene Sandulenko
e4d77cf098 Drascula: Add responsiveness while talking.
svn-id: r49716
2010-06-15 10:22:39 +00:00
Eugene Sandulenko
f53211fbad Drascula: Move more cursor-related blits to cursorSurface.
svn-id: r49715
2010-06-15 10:22:19 +00:00
Eugene Sandulenko
1850d53793 Drascula: Plug memory leak
svn-id: r49714
2010-06-15 10:21:59 +00:00
Eugene Sandulenko
671ed4873f Drascula: Fixed bug #2826608.
Bug #2826608: "DRASCULA: Cursor GFX error" fixed by introducing
separate buffer for cursors. This also fixes the root cause of
the problem.

svn-id: r49713
2010-06-15 10:21:42 +00:00
Eugene Sandulenko
0796580c3e Drascula: Made actors animation more smooth.
svn-id: r49712
2010-06-15 10:21:18 +00:00
Eugene Sandulenko
07cc483e13 Drascula: Restore cursors before automated converse responses
svn-id: r49711
2010-06-15 10:21:01 +00:00
Eugene Sandulenko
a9b9da5d72 Drascula: Fix bug #2826610.
Bug #2826610: "DRASCULA: Graveyard GFX error". Actually it was fixed
by previous commit. Added more responsiveness for this animation.

svn-id: r49710
2010-06-15 10:20:44 +00:00
Eugene Sandulenko
e8b72467e1 Drascula: ease load on backend.
svn-id: r49709
2010-06-15 10:20:26 +00:00
Eugene Sandulenko
27c27c82b1 Drascula: add more pic-related debug output.
svn-id: r49708
2010-06-15 10:20:10 +00:00
Eugene Sandulenko
b743cc316e Drascula: Fix bug #2929931.
Bug #2929931: "DRASCULA: Graphic Glitches". Cursor graphics was
not loaded at needed time.

svn-id: r49707
2010-06-15 10:19:48 +00:00
Eugene Sandulenko
eac1fdc7ca Drascula: added more debug output
svn-id: r49706
2010-06-15 10:19:25 +00:00
Eugene Sandulenko
9224a0bd6e Hid hashed fileopening to debuglevel 8.
svn-id: r49705
2010-06-15 10:19:06 +00:00
Eugene Sandulenko
6d4ad23b55 Drascula: Fix bug #2854303.
Bug #2854303: "DRASCULA: Glitch when using cross on vampire guard".
Apparently during refactoring of animation-related code duplication
the conversion was incorrect. Rewrote relevant function.

svn-id: r49704
2010-06-15 10:18:51 +00:00
Eugene Sandulenko
2ccb5bb025 Drascula: Added debug console. Implemented a (buggy) room comand.
svn-id: r49703
2010-06-15 10:18:34 +00:00
Eugene Sandulenko
f992721361 Drascula: hid room updater-related debug output to deeper level
svn-id: r49702
2010-06-15 10:18:08 +00:00
Eugene Sandulenko
b78663f6fb Drascula: Added animation-related debug output.
svn-id: r49701
2010-06-15 10:17:51 +00:00