Commit Graph

18049 Commits

Author SHA1 Message Date
Torbjörn Andersson
113e14224d AGOS: Fix Valgrind warnings on exit.
svn-id: r52904
2010-09-26 12:07:50 +00:00
Arnaud Boutonné
64017f266e HUGO: Remove extra ;
svn-id: r52903
2010-09-26 11:43:07 +00:00
Arnaud Boutonné
20a6180459 HUGO: Add H1 Dos intro
svn-id: r52902
2010-09-26 11:32:52 +00:00
Torbjörn Andersson
4543855eca AGI: Fix bug in cmd_cancel_line()
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-26 11:20:55 +00:00
Eugene Sandulenko
f965616552 SCUMM: Fix bug #3052804 by reverting NES-specific screen width hack
svn-id: r52891
2010-09-25 20:50:13 +00:00
Martin Kiewitz
7105e294e2 SCI: little optimization in kAddToPic
definitely save to backport, belongs to r52887

svn-id: r52888
2010-09-25 19:43:36 +00:00
Martin Kiewitz
18cd3333c0 SCI: changes to kAddToPic
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-25 19:28:56 +00:00
Matthew Hoops
d4504a3f3a AGI: Fix C64 AGI pictures
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-25 14:28:48 +00:00
Arnaud Boutonné
009e481547 HUGO: Add H2 Dos splash screen
svn-id: r52880
2010-09-25 13:39:19 +00:00
Arnaud Boutonné
387753705a HUGO: Fix stricmp use and text color in splash screen
svn-id: r52878
2010-09-25 12:59:35 +00:00
Arnaud Boutonné
be4d619864 HUGO: Add intro for H3 Dos
svn-id: r52877
2010-09-25 12:45:12 +00:00
Martin Kiewitz
a8df677c04 SCI: save/restore intensity of sysPalette
fixes bug #3072868
should be save for backporting

svn-id: r52875
2010-09-24 09:56:50 +00:00
Johannes Schickel
fd3cc727c9 SCI: Implement voice mapping for CMS driver.
svn-id: r52871
2010-09-24 00:38:18 +00:00
Torbjörn Andersson
b7911ef0f4 DRASCULA: Play the English "von Braun" track
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-23 20:01:08 +00:00
Arnaud Boutonné
b9b1905378 HUGO: Constify char* parameters in Screen
svn-id: r52860
2010-09-22 21:22:11 +00:00
Arnaud Boutonné
0db9a4d6b4 HUGO: Fix intro in H3 Win
This fixes the path on the world map, during intro

svn-id: r52858
2010-09-22 20:37:03 +00:00
David Turner
4b7a9b29fe AGI: Fix for Bug #3067263 "SQ2: ScummVM hanging on the inventory screen"
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-22 20:05:10 +00:00
Torbjörn Andersson
c63553c234 DRASCULA: Keep keyboard buffer flushed while waiting for conversation
Otherwise buffered-up key presses can cause dialog to be skipped once
the player finally picks a conversation option.

svn-id: r52850
2010-09-21 20:51:45 +00:00
Torbjörn Andersson
76f2d3d78b DRASCULA: Fix bug #3069977 ("Grafic Glitches in text")
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-21 17:57:02 +00:00
Torbjörn Andersson
88e25e6f25 DRASCULA: Fix invalid memory access on inventory screen
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-21 17:18:32 +00:00
Florian Kagerer
ca767d5913 KYRA2/LOL PC-98: fix sfx rate
svn-id: r52842
2010-09-21 16:05:33 +00:00
Torbjörn Andersson
f994deb4ee AGI: Deconfusify the AGI music driver
(After a brief discussion with sev.) AdLib is now the old Sarien sound,
PCjr is the new PCjr emulation. PCjr is still the default; we don't
need to ask getMusicType() how to get there.

svn-id: r52838
2010-09-21 06:05:27 +00:00
Eugene Sandulenko
d43ff54a08 AGI: Changed meaning of pcjr sound device. Now it is Sarien emu
Music drivers:
default: proper Tandy/PCJr
adlib: proper Tandy/PCJr
pcjr: old Sarien emu
amiga: old Sarien emu in Amiga mode
pcspk: Sarien emu in PCSpk mode (quite wrong)
midi: 4 channel MIDI

svn-id: r52836
2010-09-21 05:36:51 +00:00
Johannes Schickel
ec80b95580 KYRA: Fix RTL from LoL's main menu.
svn-id: r52835
2010-09-20 22:36:19 +00:00
Eugene Sandulenko
763c089d06 AGI: Fix bug #3061578: AGI: PCjr Mode Not Default for DOS Games
svn-id: r52831
2010-09-20 21:17:49 +00:00
Eugene Sandulenko
ba04f31ade SWORD1: Fix bug #3032772: SWORD1: Mute setting does not work
svn-id: r52827
2010-09-20 20:37:34 +00:00
Eugene Sandulenko
6106868188 SWORD2: More safeguards for mute setting
svn-id: r52825
2010-09-20 20:31:56 +00:00
Eugene Sandulenko
723a94099e SWORD25: Fix bug #3032763: "SWORD2: Mute setting does not work"
svn-id: r52823
2010-09-20 20:18:35 +00:00
Lars Skovlund
0e86f6aa61 Make r52818 general on trunk
svn-id: r52820
2010-09-20 18:45:52 +00:00
Lars Skovlund
bd9f9bb06e SCI: Handle bit 2 of scaleSignal by not updating nsRect values when
it's set. Currently game-specific for Hoyle4; fixes bug #3038424. But
other SCI1.1 games should be tested with a general version of this to
see whether it fixes relevant bugs.

svn-id: r52818
2010-09-20 18:31:59 +00:00
Torbjörn Andersson
971d5ca4b8 GOB: Don't crash if getCharData() returns NULL
This happened to me when playing the floppy version of Gobliins 2. I
don't know if it's a fix or a workaround, but the function can clearly
return NULL so let's guard against it.

svn-id: r52813
2010-09-20 00:02:12 +00:00
Filippos Karapetis
4edce6d860 SCI2/2.1: Changes to the plane code
Moved some plane related functions inside updatePlane() instead of frameOut(). Cleanup.

svn-id: r52804
2010-09-19 14:50:28 +00:00
Filippos Karapetis
433448ff62 SCI: Added documentation for the different music patches in SCI games
svn-id: r52802
2010-09-19 11:44:07 +00:00
Filippos Karapetis
1d9d55b177 SCI2: Some work on RBT files
svn-id: r52801
2010-09-19 10:56:08 +00:00
Filippos Karapetis
64f1fc2323 SAGA: Fixed bug #3068840 - "ITE: ScummVM crashes when talking on the ferry"
svn-id: r52799
2010-09-19 08:18:25 +00:00
Travis Howell
6537cb6463 SCUMM: Remove unused code, which was replaced by ScummEngine_v0::runObject in revision 42737.
svn-id: r52798
2010-09-18 14:31:21 +00:00
Travis Howell
ae3b6f0aa3 SCUMM: Fix bug #3070077 - MMC64: No music when Syd plays the piano.
svn-id: r52796
2010-09-18 14:18:48 +00:00
Eugene Sandulenko
5b18bb1aa1 SWORD2: Plug memory leaks.
svn-id: r52795
2010-09-18 12:42:23 +00:00
Paul Gilbert
53a5ba21ab M4: NULL terminate after a strncpy
svn-id: r52794
2010-09-18 12:08:59 +00:00
Paul Gilbert
9cab0a5cfe M4: Added missing breaks to switch statement
svn-id: r52793
2010-09-18 12:02:52 +00:00
Florian Kagerer
a48e19eaef SCUMM: minor cleanup
svn-id: r52792
2010-09-18 11:26:10 +00:00
Torbjörn Andersson
c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Filippos Karapetis
6fed6a75d5 TESTBED: Fix warnings
svn-id: r52790
2010-09-18 09:52:05 +00:00
Filippos Karapetis
928bcdbe09 SCI: Some changes to the fallback detector (sync with branch 1.2.0)
Added more graceful handling of the case where SCI32 isn't built in and the
user tries to detect or start a SCI32 game

svn-id: r52789
2010-09-18 09:47:18 +00:00
Arnaud Boutonné
1e9e8cd64a HUGO: Fix crash in the first screen of H1 Dos
- Fix crash in the first screen of H1 Dos
- Clean up

svn-id: r52787
2010-09-17 22:40:53 +00:00
Johannes Schickel
9f273b31aa SCI: Fix compilation on AmigaOS.
svn-id: r52784
2010-09-17 21:28:24 +00:00
Johannes Schickel
eb400c8787 SCI: Add CMS driver for SCI1-SCI1.1.
svn-id: r52781
2010-09-17 20:03:20 +00:00
Johannes Schickel
cc764cb8ec SOUND: Move CMS emulator to sound/softsynth.
svn-id: r52778
2010-09-17 20:02:03 +00:00
Johannes Schickel
b8e4f0b135 SCI: Proper initialization in MidiPlayer's constructor.
svn-id: r52768
2010-09-17 18:03:12 +00:00
Arnaud Boutonné
be569dad40 GOB: Add detection for polish gob2 and gob3
MD5s provided in bug #3067489

svn-id: r52767
2010-09-17 17:52:17 +00:00