Commit graph

37596 commits

Author SHA1 Message Date
Martin Kiewitz
d22d8f910a SCI: added warning when getting invalid rect in kCan(t)BeHere
svn-id: r48102
2010-02-21 09:52:44 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Filippos Karapetis
cebb052e2c Added comments on the SCI0-SCI1.1 kernel function table differences
svn-id: r48100
2010-02-21 01:25:10 +00:00
Paul Gilbert
6969b5ebe6 Implemented some of the sprite animations loading logic for the first scene (no display yet)
svn-id: r48099
2010-02-21 01:18:03 +00:00
Filippos Karapetis
43ca6071ea Handle invalid rects in kCanBeHere(). Fixes some odd crashes in Iceman
svn-id: r48098
2010-02-21 00:50:27 +00:00
Filippos Karapetis
24b0622e6f Removed dead code
svn-id: r48097
2010-02-20 23:30:59 +00:00
Nicola Mettifogo
0e6893d066 Added comment to explain pointer comparison. See r48092 and r48904.
svn-id: r48096
2010-02-20 12:29:34 +00:00
Paul Gilbert
a57445e847 Put in a warning in case there is ever too long a background resource name when saving a game
svn-id: r48095
2010-02-20 10:37:08 +00:00
Paul Gilbert
734c922f16 Reverted commit 48092 - The comparison is explicitly intended to detect if the background table field was passed to the method, so it won't try to do a redundant copy to itself
svn-id: r48094
2010-02-20 10:32:25 +00:00
Johannes Schickel
41314a3561 strncpy does not always add a terminating zero, thus we need to do that on our own.
svn-id: r48093
2010-02-20 01:58:46 +00:00
Johannes Schickel
9b467ee4ff "const char *" strings should be compared via strcmp and not via !=/==.
svn-id: r48092
2010-02-20 01:57:34 +00:00
Paul Gilbert
b51568ddaf Increased the amount of space for storing background filenames to fix memory overflow
svn-id: r48091
2010-02-19 22:26:30 +00:00
Johannes Schickel
b3bfe83877 Fix for bug #2954286 "Gob: ScummVM quits on pause".
svn-id: r48090
2010-02-19 14:16:43 +00:00
Johannes Schickel
049b4384bc Fix for bug #2954279 "KYRA: Error when loading non-existent savegame".
svn-id: r48089
2010-02-19 14:05:55 +00:00
Fabio Battaglia
8502d9248e tinsel: Add detection for Discworld 1 floppy EUR version
svn-id: r48088
2010-02-19 12:33:58 +00:00
David Turner
fd9b52509f Mohawk : Update with work on Myst EXIT opcodes to work out purpose.
svn-id: r48087
2010-02-18 23:31:51 +00:00
Max Horn
ee1110a114 SCI: Reduce header interdependencies
svn-id: r48086
2010-02-17 23:38:43 +00:00
Max Horn
86e34c3464 SCI: Rename some members of class Resource
svn-id: r48085
2010-02-17 23:37:59 +00:00
Max Horn
903b694574 SCI: Cleanup resource.h
svn-id: r48084
2010-02-17 23:37:32 +00:00
Max Horn
26b7f0bbb9 SCI: Remove hack in convertSierraGameId which caused a memory leak
svn-id: r48083
2010-02-17 23:36:50 +00:00
Matthew Hoops
3452f5ea2d Implement stopMovie() for Riven. Fixes some dome related videos.
svn-id: r48082
2010-02-17 23:05:51 +00:00
Vladimir Menshakov
f0d8084cd5 fixed "Cannot use rake on grass - ID: 2953464"
svn-id: r48081
2010-02-17 22:01:05 +00:00
David Turner
2ab3e0fb3c Mohawk : Adding resource cache class and integrating into Myst engine.
The resource caching trades increased memory usage against disk access.

This functionality can be disabled and enabled by the console "cache" command.

svn-id: r48080
2010-02-17 19:59:08 +00:00
Johannes Schickel
c8470e1d89 Use Common::KEYCODE_* instead of ASCII values for keycode comparison.
svn-id: r48079
2010-02-17 16:18:23 +00:00
Johannes Schickel
5d6b9af72a Use Common::KeyCode instead of int as key type for KeyMap.
svn-id: r48078
2010-02-17 16:08:47 +00:00
Johannes Schickel
8daaeae849 Fix gcc warning.
svn-id: r48077
2010-02-17 16:07:32 +00:00
Paul Gilbert
bf82639c04 Implemented player sprite loading portion of scene enter code
svn-id: r48076
2010-02-17 11:37:17 +00:00
Matthew Hoops
2d03db8a20 Cleanup handling of the telescope cover combination; matches the original algorithm much better.
svn-id: r48075
2010-02-17 04:20:19 +00:00
Arnaud Boutonné
85bce4611c Fascination - Fix syntax (clone2727)
svn-id: r48074
2010-02-16 23:18:32 +00:00
Matthew Hoops
be9a0946b4 Implement xgwatch so you can now find out the combination to free Catherine.
svn-id: r48073
2010-02-16 23:15:57 +00:00
Matthew Hoops
5e24974ad5 Implement xpisland990_elevcombo which allows you to free Catherine.
svn-id: r48072
2010-02-16 17:32:17 +00:00
Matthew Hoops
b54724a778 Fix typo in the ospit->tspit linking book RMAP code.
svn-id: r48071
2010-02-16 06:08:25 +00:00
Matthew Hoops
5fd7dbb406 Move Riven variable randomization to initVars() and implement randomization for the dome and prison combinations.
svn-id: r48070
2010-02-16 03:01:46 +00:00
Matthew Hoops
b3ab83d8c1 Add a workaround for two 'spare' variables that can exist in some save files.
svn-id: r48069
2010-02-16 01:48:19 +00:00
Matthew Hoops
55a9787234 Correct a rogue typo.
svn-id: r48068
2010-02-16 00:12:00 +00:00
Arnaud Boutonné
9426e86ede Playtoons - "Fascination" workaround for text is also required for Playtoons.
svn-id: r48067
2010-02-15 22:17:48 +00:00
Matthew Hoops
cf005b6238 SCI32 reorders the REF* subops in kMessage; fixes GK1 conversations.
svn-id: r48066
2010-02-15 17:10:40 +00:00
Max Horn
9de580aa6e TINSEL: Cleanup the 'script workaround' code a bit.
* Rewrap comments to 72 columns
* Add some references to relevant bug tracker items
* Use sizeof instead of handcoding array lengths, which is error prone
  and tedious
* Move definition of WorkaroundEntry from pcode.h to pcode.cpp
* Define FRAGMENT_WORD to make fragment code a bit more readable,
  and also encoding of 16 bit words into it less error prone
* Make all code fragments static

svn-id: r48065
2010-02-15 10:01:26 +00:00
Max Horn
b246c867df SCI: No need to set _executionStackPosChanged in kDisposeScript, as the callk opcode handler does that already
svn-id: r48064
2010-02-15 10:01:09 +00:00
Max Horn
975dbef0e5 SCI: Remove sound/audio.h include from engine/state.h
svn-id: r48063
2010-02-15 00:20:53 +00:00
David Turner
384acffeb1 Mohawk : Corrected Myst Opcode 200/300 in Intro/Demo stack to correctly call Intro movies.
svn-id: r48062
2010-02-14 19:01:02 +00:00
Arnaud Boutonné
bf17ff87db Fascination - Put correct protracker functions as Paula now accept sample size > 32k. MOD is now playing in Amiga and Atari versions.
svn-id: r48061
2010-02-14 18:30:12 +00:00
Filippos Karapetis
f034b8bd5f Fixed typo
svn-id: r48060
2010-02-14 12:32:25 +00:00
Filippos Karapetis
07e405588d Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a state, per se, and is static)
svn-id: r48059
2010-02-14 12:23:22 +00:00
Max Horn
dd5518d3c5 Add support for samples > 32kb to Paula chip emulation code.
In addition, the code got simplified considerably. Its behavior changed
slightly due to this, but I think the old behavior was wrong. In any
case, this may fix some bugs, or introduce regressions, or both. We'll
see ;).

svn-id: r48058
2010-02-14 01:54:21 +00:00
Matthew Hoops
b7ae950130 Remove an obsolete TODO.
svn-id: r48057
2010-02-14 00:02:59 +00:00
Matthew Hoops
1cd9498dbc Implement background video support for Riven; some VideoManager/QTPlayer cleanup.
svn-id: r48056
2010-02-13 23:34:18 +00:00
Arnaud Boutonné
03e8276407 Fascination: REAL fix. Thanks DrMcCoy.
svn-id: r48055
2010-02-13 22:26:52 +00:00
Arnaud Boutonné
17de7acd7b Fix a crash in previous commit
svn-id: r48054
2010-02-13 22:17:17 +00:00
Arnaud Boutonné
5ba36c8216 Fascination:
- Fix a potential bug in winDraw
- Add a hack (and a todo) to work around the missing texts and windows in Amiga, Atari and early PC floppy version.

svn-id: r48053
2010-02-13 21:59:45 +00:00