1582 Commits

Author SHA1 Message Date
Travis Howell
8225e4f84b Add the DOS CD demo of Sam & Max.
svn-id: r40236
2009-05-02 09:52:35 +00:00
Travis Howell
64fef497df Ooops, keep that comment.
svn-id: r40034
2009-04-21 04:48:50 +00:00
Travis Howell
acc86f5c62 Fix regression in SCUMM0, by calling ScummEngine::fetchScriptWord() directly. Since fetchScriptWordSigned(), still uses the overloaded fetchScriptWord() function.
svn-id: r40033
2009-04-21 04:42:45 +00:00
Max Horn
6a7bb77305 SCUMM: Introduced new method ScummEngine_v5::jumpRelative; unified some v0 and v2 opcodes
svn-id: r40025
2009-04-20 12:35:17 +00:00
Travis Howell
b238d0de00 VAR_VIDEMODE value 50 is only used by the Macintosh version of Indiana Jones and the Last Crusade.
svn-id: r40020
2009-04-19 13:49:59 +00:00
Max Horn
3044593da0 SCUMM: Moved o5_saveLoadGame and o5_saveLoadVars to ScummEngine_v4 (the highest SCUMM version to implement these opcodes. Actually, our code was bugged in so far as we only ever invoked o5_saveLoadGame in V3 games, never in V4 games (but this properly never mattered ;)
svn-id: r40014
2009-04-19 01:01:54 +00:00
Max Horn
0e82403daa SCUMM: o5_ifNotState and o5_ifState are actually not part of v5, only in v3 & v4 -> renamed and moved them accordingly
svn-id: r40013
2009-04-19 01:01:28 +00:00
Max Horn
57c624b24d SCUMM: ScummEngine_v5::o5_oldRoomEffect -> ScummEngine_v4::o4_oldRoomEffect
svn-id: r40012
2009-04-19 01:01:09 +00:00
Max Horn
25d0e7d4bc SCUMM: In v5, only opcodes 0x05 and 0x85 are mapped to o5_drawObject; in v3 & v4, several other opcodes map to it. Capture this properly in the opcode tables
svn-id: r40011
2009-04-19 01:00:49 +00:00
Max Horn
31eeb37107 SCUMM: Moved ScummEngine_v2::o2_setBoxFlags to ScummEngine_v3::o3_setBoxFlags
svn-id: r40010
2009-04-19 01:00:31 +00:00
Max Horn
b32e9f00b0 SCUMM: MovedScummEngine_v5:: o5_pickupObjectOld to ScummEngine_v4::o4_pickupObject
svn-id: r40009
2009-04-19 01:00:11 +00:00
Max Horn
9655fa831e SCUMM: Turned PARAM_1,2,3 into an enum; minor tweaks
svn-id: r40008
2009-04-19 00:59:50 +00:00
Max Horn
56a31019b7 SCUMM: Added stubs for V3 & V4 opcode tables
svn-id: r40007
2009-04-19 00:59:28 +00:00
Travis Howell
514c2be4a9 Add patch #2769163 - Mac additions for Freddi Fish 1 and Putt-Putt Parade.
svn-id: r40006
2009-04-18 23:34:28 +00:00
Max Horn
cbe9e520d3 SCUMM: Compacted various setupOpcodes() implementations by using the fact that opcode tables tend not to change much between most SCUMM versions
svn-id: r39958
2009-04-16 09:27:22 +00:00
Max Horn
99df028d35 SCUMM: Got rid of o6_invalid
svn-id: r39957
2009-04-16 09:27:02 +00:00
Max Horn
432e7917a5 SCUMM: Switched opcode tables to use Common::Functor0 (a bit like Kyra does it)
svn-id: r39956
2009-04-16 09:26:37 +00:00
Neil Millstone
bbd423b82a Backporting fix from rev #39918: Memory leak when thumbnail header
couldn't be skipped.

svn-id: r39945
2009-04-12 14:02:20 +00:00
Torbjörn Andersson
068e11fee9 Judging by bug #2727536 (and a forum post) we should recognize "IQ-" as a valid
prefix for the Fate of Atlantis IQ points file. (Either that, or make the
comparision case-insensitive.) So let's do that.

svn-id: r39904
2009-04-09 03:38:41 +00:00
Torbjörn Andersson
c111bb97f4 Fixed misleading error message.
svn-id: r39903
2009-04-08 16:48:12 +00:00
Travis Howell
5b968d9c35 Update German version of puttzoo.
svn-id: r39833
2009-04-04 06:19:18 +00:00
Travis Howell
2bf567d988 Fix possible regression in HE games re-releases.
svn-id: r39830
2009-04-04 06:03:09 +00:00
Travis Howell
6bb7576a45 Update prefix for German version of puttzoo.
svn-id: r39829
2009-04-04 06:01:03 +00:00
Travis Howell
d9e91f99c1 Update prefix for German version of puttzoo.
svn-id: r39828
2009-04-04 05:50:21 +00:00
Travis Howell
2dd4789fc0 Update prefix for German version of puttzoo.
svn-id: r39827
2009-04-04 05:42:12 +00:00
Travis Howell
7816c98892 Ooops, remove excess space.
svn-id: r39826
2009-04-04 03:52:21 +00:00
Travis Howell
89d457fc0f Add more German version of HE games.
svn-id: r39825
2009-04-04 03:50:01 +00:00
Johannes Schickel
67a881f444 SCUMM: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
svn-id: r39761
2009-03-30 12:10:10 +00:00
Paweł Kołodziejski
5062401423 fixed 'if' statement as should be/was.
svn-id: r39745
2009-03-29 19:09:23 +00:00
Max Horn
ee42d06a43 Patch from bug #2710315: INDY3/FOA: bug in patch for series IQ with ScummVM GUI
svn-id: r39677
2009-03-24 23:30:48 +00:00
Max Horn
6a4c475bb2 Patch #2676453: INDY3/FOA: series IQ with ScummVM GUI
svn-id: r39649
2009-03-23 22:34:53 +00:00
Matthew Hoops
8f9a655769 Check for a suffix of "-iq" when saving the iq points. Should fix bug #2701064.
svn-id: r39597
2009-03-21 19:38:33 +00:00
Max Horn
fe62c72e7a SCUMM: cleanup
svn-id: r39579
2009-03-20 23:02:40 +00:00
Marcus Comstedt
a591d65cc7 Include "scumm/scumm_v6.h" in some places where it is needed.
(Including "scumm/scumm_v8.h" is a no-operation if ENABLE_SCUMM_7_8
 is not defined.)

svn-id: r39576
2009-03-20 22:33:45 +00:00
Max Horn
559190904d Set svn:keywords on asm files
svn-id: r39568
2009-03-20 16:35:34 +00:00
Max Horn
6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +00:00
Max Horn
e82464a528 Use IS_ALIGNED
svn-id: r39545
2009-03-19 22:49:26 +00:00
Travis Howell
9a99eb221a Add another Spanish DOS version of Loom (EGA).
svn-id: r39502
2009-03-18 05:12:45 +00:00
Max Horn
e44f07f988 SCUMM: Modified version of patch #1687041 (Scumm: Load-/Save-support for the original save-dialog)
svn-id: r39438
2009-03-16 04:45:12 +00:00
Max Horn
f233b89463 SCUMM: Modified version of patch #2674880 (FOA: unique filename for IQ-points file)
svn-id: r39436
2009-03-16 03:55:09 +00:00
Travis Howell
ca8d85eaa9 Update HE version for German version of Freddi Fish 2.
svn-id: r39356
2009-03-12 13:11:37 +00:00
Max Horn
30856ddc4d SCUMM: Fix snap scroll dialog messages
svn-id: r39286
2009-03-10 00:44:33 +00:00
Travis Howell
d666af279c Alter/revert last changes to moveCamera(), as VAR_CAMERA_FAST_X is used by a few scripts in Indy3 too.
svn-id: r39285
2009-03-10 00:36:56 +00:00
Travis Howell
2809c23fc9 Add snap scroll option from original games (SCUMM3-5), and enable for earlier games too.
svn-id: r39283
2009-03-10 00:26:40 +00:00
Max Horn
5181546c63 Rewrote Common::List iterator code to ensure const correctness is preserved.
We tried to implement the list iterators in a clever way, to reduce code
duplication. But this is essentially impossible to do properly, sadly --
this is one of the places where the ugly drawbacks of C++ really show.
As a consequence, our implementation had a bug which allowed one to
convert any const_iterator to an iterator, thus allowing modifying
elements of const lists.

This rewrite reintroduces code duplication but at least ensures that no
const list is written to accidentally.

Also fix some places which incorrectly used iterator instead of const_iterator
or (in the kyra code) accidentally wrote into a const list.

svn-id: r39279
2009-03-09 22:26:02 +00:00
Max Horn
e080a59337 Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as some other tweaks
svn-id: r39255
2009-03-09 03:45:23 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Willem Jan Palenstijn
7a88744b74 Patch #2671477: Fix wrong usage of strncat
svn-id: r39184
2009-03-07 13:40:00 +00:00
Max Horn
05b4370c21 Fix for bug #2664460: Various SeekableReadStream::seek() implementations (as well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions
svn-id: r39135
2009-03-05 20:37:53 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00