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
Filippos Karapetis
21a7e3d8e6
Merge pull request #146 from eriktorbjorn/master
...
DREAMWEB: Extend the original save/load dialogs from 7 to 21 slots.
2012-01-12 01:51:55 -08:00
Torbjörn Andersson
c456d6d29a
DREAMWEB: Rewrite a comment, since the old one could be misread
...
I read it as "this is how the original code expects save slots to
be initialized", but I guess it could be read as "the original
engine had 21 save slots". Which it didn't.
2012-01-12 00:00:26 +01:00
Torbjörn Andersson
0998c64c20
DREAMWEB: Change selectSaveLoadPage()'s command type to be unique
...
At Filippos's and wjp's suggestion. I don't really understand what
it does (other than printing the mouse over text), so I had simply
copied and pasted from another function.
2012-01-11 23:38:37 +01:00
Scott Thomas
b2a38897a0
README: Mention T7G specific configuration option
2012-01-11 22:06:36 +10:30
Strangerke
603dc3734c
TSAGE: R2R - Fix some warnings, implement sub51AF8
...
Thanks LordHoto for pointing those
2012-01-10 22:08:00 +01:00
Strangerke
879cb00c8a
TSAGE: R2R - Partial implementation of scene 1200
2012-01-10 20:11:47 +01:00
Strangerke
3f05ee5452
TSAGE: R2R - Add some global variables, fix some default values
2012-01-10 20:10:46 +01:00
Johannes Schickel
c74fde632f
CONFIGURE: Also check "long long" in find_type_with_size.
...
This is because on Win64 "long" is 4 bytes and only "long long" is 8 bytes.
Without this check we would not have a 64 bit integer type on Win64.
2012-01-10 16:13:29 +01:00
Johannes Schickel
a3e06d5074
CONFIGURE: Make 32bit pointer check a bit safer.
...
This adapts the check to be similar to the find_type_with_size check, i.e. it
assigns a value to test_array and also returns 0. Should not be required, at
least builtbot went fine, but better be safe and sorry.
2012-01-10 16:13:29 +01:00
Johannes Schickel
3606ebed6a
CONFIGURE: Fix formatting.
...
Thanks to Max for pointing out.
2012-01-10 16:13:20 +01:00
Bastien Bouclet
1432011fdc
VIDEO: Small refactoring of the Bink Decoder
...
This allows subclassing the Bink decoder to add seeking support
2012-01-09 08:52:08 +01:00