51145 Commits

Author SHA1 Message Date
Strangerke
63c13f91c1 TSAGE: R2R - Partial implementation of scene 1575 2012-01-17 00:46:13 +01:00
Strangerke
4a1da069f4 TSAGE: R2R - Scene 1200: Implement sub9EE22() and sub9DAD6()
Also fix a couple of things in scene 1550
2012-01-16 19:53:55 +01:00
Strangerke
1ae18a2e2b TSAGE: R2R - Scene 1550: Implement UnkObj15502::subA5CDF() 2012-01-16 19:23:52 +01:00
Filippos Karapetis
5bb473df88 SCI: Update a workaround for the demo of QFG4 to make it work again 2012-01-16 19:19:09 +02:00
Johannes Schickel
8b391399cc KYRA: Fix for bug #3474339 "KYRA1CD: Ingame animation missing".
This was a regression from 6a3d0e712940bf4560e5302c40f07f5f6eb8e0aa.

This still assures that the workaround for bug #1498221 works.
2012-01-16 17:06:28 +01:00
athrxx
26a692ff5c KYRA: (EOB) - change behavior of safe game file importing code
- The initial import of original save files will now use the next free available slots instead of moving the original files to the top of the save file list
- add error check to loading routine for original saves
- also limit debug console command to main menu, since it causes issues when used during the game or during character generation
2012-01-16 16:52:13 +01:00
Willem Jan Palenstijn
c60394eb3f SCI: Remove outdated comment 2012-01-16 16:07:48 +01:00
Strangerke
175e8e00fa TSAGE: R2R - Scene 1550: Implement subA4D14() 2012-01-16 00:24:02 +01:00
Strangerke
e0ac42f6c7 TSAGE: R2R - Fix a GCC warning
Thanks LordHoto for pointing it
2012-01-15 23:11:10 +01:00
Strangerke
3d4f4ce799 TSAGE: R2R - Scene 1550: Implement subA2B2F() 2012-01-15 23:04:09 +01:00
Filippos Karapetis
099b2e9249 SCI: Properly handle negative coordinates in drawTextBitmap()
This fixes occasional crashes when going to the map in GK1. Many thanks
to digitall for finding this through Valgrind
2012-01-15 23:00:23 +02:00
Filippos Karapetis
7560007ba9 SCI: Simplify kString(Dup) using the overloaded = operator
Thanks to wjp for his suggestion
2012-01-15 21:42:09 +02:00
Filippos Karapetis
c69ac88be2 SCI: Ignore an invalid export in a script in the demo of RAMA 2012-01-15 21:10:18 +02:00
Filippos Karapetis
cbe7527805 SCI: Use fromString() in kString(Dup) to simplify code 2012-01-15 21:05:10 +02:00
Filippos Karapetis
aff92ea4cd SCI: Zero-terminate strings in SciString::fromString() 2012-01-15 21:02:02 +02:00
Filippos Karapetis
96aa86a60b SCI: Remove wrong script-to-array copying code in kArray 2012-01-15 20:58:14 +02:00
Filippos Karapetis
34b297748c SCI: Fix a nasty bug in kString(Dup)
The rawString variable is no longer pointing to invalidated data. This
fixes cases where strings are manipulated by game scripts, such as the
graveyard and rada drum puzzles in GK1
2012-01-15 20:11:30 +02:00
Willem Jan Palenstijn
56fb56936e SCI: Clean up some memory management and loops 2012-01-15 18:25:00 +01:00
Filippos Karapetis
f2c163a569 SCI: Plug a leak in ResourceManager::processWavePatch()
Many thanks to digitall for finding this one
2012-01-15 19:02:19 +02:00
Filippos Karapetis
0f39a43675 SCI: Plug loads of memory leaks in the SCI32 graphics code
Many thanks to digitall for finding these
2012-01-15 18:35:33 +02:00
Filippos Karapetis
780b2eff16 SCI: Plug a leak in ResourceManager::detectSciVersion()
Many thanks to digitall for finding this one
2012-01-15 18:34:41 +02:00
Johannes Schickel
cdb6cf687f TSAGE: Don't use "&&" synonym "and". 2012-01-15 14:12:45 +01:00
athrxx
ea275d2cda SCUMM: add missing free() 2012-01-15 13:36:58 +01:00
athrxx
d355c536c4 KYRA: (EOB) - add support for original save game files
The engine will try to import original save game files once per target (especially the "Quick Start Party").
Afterwards the user can manually import save files with the debug console.
2012-01-15 13:36:50 +01:00
Eugene Sandulenko
e739846310 Merge pull request #166 from BenCastricum/master
SCUMM: Added detection for more Dutch HE demos
2012-01-15 02:54:44 -08:00
Torbjörn Andersson
16f2c5cdb6 DRACI: Move readByte() and readUint32LE() out of assert() 2012-01-15 00:04:28 +01:00
Torbjörn Andersson
6530da3feb LURE: Move readByte() call out of assert() 2012-01-14 23:58:59 +01:00
Oystein Eftevaag
ba1396954d MACOSX: Changed CoreAudio deprecation check slightly to allow building with older SDKs 2012-01-14 12:12:10 -05:00
Oystein Eftevaag
85c8bd6e65 Merge pull request #157 from fingolfin/coreaudio
MACOSX: Use modern CoreAudio API on modern systems by default, cleanup
2012-01-14 14:00:40 -08:00
Max Horn
f57b66e984 MACOSX: Replace use of a 10.4 only API by one available since 10.0 2012-01-14 20:13:50 +01:00
Max Horn
ad1c2a45f1 MACOSX: Default to new CoreAudio API on x86, and to old on PowerPC
The new API has been present since Mac OS X 10.5 (released four years ago,
in October 2007), and also since iOS 2.0 (thus, the iOS port may be able to
use it, too). Moreover, 10.5 was the last system to support PowerPC.
2012-01-14 19:36:24 +01:00
Oystein Eftevaag
c4d9f7beeb OSX: Fixed some file paths when copying docs to the bundle, and updated DS_Store 2012-01-14 11:05:05 -05:00
Oystein Eftevaag
09ce3407b1 OSX: Avoid use of NSString:stringWithCString, for OS X 10.2 and 10.3 compatibility 2012-01-14 11:04:58 -05:00
Oystein Eftevaag
3936e47711 OSX: Use static zlib library again 2012-01-14 11:04:51 -05:00
Filippos Karapetis
ce0061d9e0 SCI: Add a script patch to fix a script bug in GK1 floppy
This bug leads to a crash after Gabriel interrogates people, and is
caused by incorrect ordering in two checks, which was fixed in the CD
version
2012-01-14 21:02:44 +02:00
Johannes Schickel
6a3d0e7129 KYRA: Make workaround for bug #1498221 work again.
The bug in question is "KYRA1: Glitches when meeting Zanthia".

This is a regression from 0af418e7ea3a41f93fcc551a45ee5bae822d812a as far as
I can tell.
2012-01-14 17:04:35 +01:00
Johannes Schickel
c805e5f5dc KYRA: Fix missing debug commands.
This is a regression from cfac223cee7cc8136fdf43dea1465a1b060a803b.
2012-01-14 17:04:35 +01:00
Filippos Karapetis
bf6c42d816 SCI: Don't clip the plane rectangle in kernelDeletePlane()
The actual cause for this clipping has been fixed
2012-01-14 16:37:07 +02:00
Filippos Karapetis
20bcb0545e SCI: When deleting a plane, also delete the items in it
This fixes a crash in GK1 day 2, after using the thermostat outside
Mosely's office
2012-01-14 14:22:54 +02:00
Torbjörn Andersson
96571d9a7e Merge pull request #165 from eriktorbjorn/dig-workaround
SCUMM: Work around spider lair script bug in The Dig

When entering the spider lair, the entry script may optionally start
the sound of running water. However, this sound is never explicitly
stopped, so it may continue for quite a while. (When I tried it with
DOSBox, it didn't stop until I got back to the Nexus.) This workaround
adds a fade-out to the sound when the exit script is about to run.
This is consistent with how that same sound effect is faded out in the
underwater cavern (room 33).
2012-01-14 00:56:03 -08:00
Torbjörn Andersson
28d5922cca SCUMM: Fix workaround for Dig spider lair sound glitch
The soundKludge() function assumes there are always 8 parameters
for Digital iMUSE script commands.
2012-01-14 09:25:52 +01:00
Filippos Karapetis
4594982ce3 SCI: Fix bug in fadeIn()/fadeOut()
This wasn't added in 4742b4d728ba772d47cc497681c9bfb0144475bc)
2012-01-14 00:21:55 +02:00
Filippos Karapetis
20c44c5966 NEWS: Add a note about a bugfix when starting new songs in SCI 2012-01-13 23:49:10 +02:00
Strangerke
1a12d24981 TSAGE: R2R - Silent warning 2012-01-13 22:18:42 +01:00
Strangerke
9e2f1b6a42 TSAGE: R2R - Preliminar implementation of scene 1550
Also implement a couple of functions used by scene 1200
2012-01-13 21:56:55 +01:00
Filippos Karapetis
29d129747d SCI: Some more work on kSetShowStyle. Silenced some chatty warnings in GK1 2012-01-13 22:55:10 +02:00
Filippos Karapetis
df0528e786 SCI: Blacklist more unused/debug SCI2.1 kernel functions 2012-01-13 22:55:09 +02:00
Willem Jan Palenstijn
bc9c42b5ad MISC: Update more dates to 2012 2012-01-13 21:37:26 +01:00
Andrea Corna
c8826297a4 COMMON: Enhance zlib interface 2012-01-13 18:33:04 +01:00
Filippos Karapetis
22e00a710f SCI: Fixed some graphics corruption (black boxes) in the dialogs of GK1 2012-01-13 02:38:20 +02:00