Commit Graph

75 Commits

Author SHA1 Message Date
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
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
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
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
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
Max Horn
6f4b567124 SCUMM: Split intern.h into multiple headers
svn-id: r39567
2009-03-20 16:33:58 +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
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Max Horn
0ce8400841 Patch #2258906: SCUMM: fix builtin load game screen for v1-v5
svn-id: r35013
2008-11-12 10:16:06 +00:00
Max Horn
38a4eaa001 cleanup
svn-id: r34910
2008-11-06 14:03:38 +00:00
Christopher Page
909b66ef54 Merged revisions 33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33924
2008-08-16 04:30:01 +00:00
Max Horn
f2111eeb45 SCUMM: Made some potentially ambiguous (to the reader, at least) checks slightly less ambiguous
svn-id: r33919
2008-08-15 22:06:15 +00:00
Christopher Page
e9c6b03fc7 SCUMM works with new GMM implementation
svn-id: r33001
2008-07-11 01:22:37 +00:00
Max Horn
5fb7f7a4d6 Commited updated version of my own patch #1868402: Basic savestate plugin API
svn-id: r30786
2008-02-04 10:15:21 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Torbjörn Andersson
273c5b5cf1 Removed unnecessary newline in debug message.
svn-id: r30279
2008-01-05 23:57:12 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
0cccbb29d6 Some cleanup (yay for whomever had the brilliant idea to let SVN work over HTTPS and hence through proxies&firewalls :)
svn-id: r28877
2007-09-08 11:15:27 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Travis Howell
894959444d Fix the level selection screen in the KIXX XL release of Monkey Island 2 (Amiga disk).
svn-id: r26525
2007-04-16 09:13:43 +00:00
Travis Howell
077b924899 Copy protection bypass applies to all versions of Monkey Island VGA.
svn-id: r26380
2007-04-04 13:01:09 +00:00
Max Horn
26db2f4da5 Cleaning up various issues with the Indy3 IQ patch
svn-id: r26296
2007-03-24 22:30:17 +00:00
Travis Howell
eb996313e0 Remove old debug message in getStringWidth opcode, which is no longer required.
svn-id: r26290
2007-03-24 00:50:14 +00:00
Travis Howell
de98304a3e Add patch #1687026 - Indy3: Series IQ-Points.
svn-id: r26289
2007-03-24 00:41:38 +00:00
Max Horn
32ebf26b7c Removed old and undocumented workaround for good, it was apparently made in reaction bug #478644, and is indeed for the same issue as the following workaround
svn-id: r26103
2007-03-12 12:46:57 +00:00
Travis Howell
8e70329ce3 Fix level selection in PC Engine version of Loom.
svn-id: r25954
2007-03-03 23:02:54 +00:00
Travis Howell
b0fea397ab Allow PC Engine version of Loom to at least start up.
svn-id: r25951
2007-03-03 12:59:48 +00:00
Max Horn
a63a71eb78 Added a FIXME to this workaround (it might be to broad -- research needed)
svn-id: r25804
2007-02-23 01:49:20 +00:00
Max Horn
be052be462 Rewrote the actor walk code for SCUMM V0-V2 games: Now it uses the C64 character coordinates internally, not pixel coordinates. This should fix some walk bugs, but also might cause some regressions. Watch out
svn-id: r25370
2007-02-04 01:24:43 +00:00
Max Horn
468b1600c4 Removed bogus debug leftover :)
svn-id: r25338
2007-02-02 18:40:02 +00:00
Max Horn
013f1711c4 Workaround for bug #1621210 (FOA: Kerner counts incorrectly during end sequence)
svn-id: r25335
2007-02-02 13:53:59 +00:00
Max Horn
cd46b0d57d Added a comment to ScummEngine_v5::saveVars (we need to implement it for IQ support in Indy3), and fixed a memory leak in o5_saveLoadGame
svn-id: r24892
2006-12-19 21:52:29 +00:00
Travis Howell
d704d644e8 Disable saving game in original load/save screen of maniac/zak, since it doesn't function correctly
svn-id: r24836
2006-12-11 06:20:17 +00:00
Max Horn
c210aff40c * Made Actor::_pos protected, added public Actor::getPos() method
* Added default params to Actor::putActor()
* Removed Actor::getActorXYPos

svn-id: r24742
2006-11-19 00:39:48 +00:00
Max Horn
c1e16d6168 Disabled an undocumented workaround for a supposed bug in FOA
svn-id: r24652
2006-11-07 21:14:15 +00:00
Max Horn
0cf2d2ffd9 cleanup
svn-id: r24650
2006-11-07 20:55:05 +00:00