Commit Graph
172 Commits
Author SHA1 Message Date
Max Horn 8d16a42c93 SCUMM: Added a new ActorHE class, as well as a virtual Actor::prepareDrawActorCostume() method
svn-id: r34646
2008-09-25 08:06:18 +00:00
Jordi Vilalta Prat 38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Travis Howell d8bbcd9211 Fix subtitle regressions in The Dig.
svn-id: r31788
2008-04-30 12:54:07 +00:00
Travis Howell 21dc872873 Ooops, missed one difference.
svn-id: r31786
2008-04-30 04:42:53 +00:00
Travis Howell bad36eaa61 The Dig (Second release) used similar charset code to COMI. This could cause regressions, if there are differences between the two releases of The Dig.
svn-id: r31784
2008-04-30 04:38:29 +00:00
Jordi Vilalta Prat d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Travis Howell 410a4a974e Enable Windows version of early HE games by default, to match already enabled 3DO/DOS/Macintosh versions of early HE games. Adding only the minimum code required for HE70 games.
svn-id: r30011
2007-12-27 11:40:29 +00:00
Gregory Montoir a34df6e72d add Common::Rect::center (handy for ::setFocusRectangle())
svn-id: r29751
2007-12-07 20:53:06 +00:00
Gregory Montoir 3472e16a73 don't call actorWalkStep if all an actor have to do is turning to a new direction (confirmed against disasm, seems specific to v8). fixes bug #1834814.
svn-id: r29688
2007-12-02 02:33:50 +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 4cc9d17c34 Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
svn-id: r28890
2007-09-11 09:20:39 +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
Filippos Karapetis 39fafdc303 Fix for bug #774783 - INDY3: problems in Berlin with Hitler (submitted after talking with Fingolfin)
svn-id: r27009
2007-05-29 21:50:32 +00:00
Travis Howell 6d05afa38e Fix bug #1726115 - FREDDI1: Tiny graphics glitch when reading message.
svn-id: r26982
2007-05-27 23:28:24 +00:00
Travis Howell 9a93286f42 Fix bug #1722330 - FREDDI: Minor graphics glitch on Mac OS X.
svn-id: r26903
2007-05-21 13:45:38 +00:00
Paweł Kołodziejski 46462e8f5e fixed warning
svn-id: r26520
2007-04-15 22:14:06 +00:00
Gregory Montoir 2c9116de3b simplification (_useTalkAnims is not used in >= V7)
svn-id: r26517
2007-04-15 20:45:55 +00:00
Gregory Montoir 642fa67da9 Added code for decodeParseString.SO_PRINT_WRAP and rewrote the CHARSET_1 function in order to match the original V8 interpreter. This should fix bugs #1036707 and #1662610 (subtitles word wrapping issues).
svn-id: r26516
2007-04-15 20:36:44 +00:00
Max Horn 9fcd50650c Removing this old workaround: It no longer works, and causes an infinite loop. Am working on a new workaround/fix
svn-id: r26104
2007-03-12 13:28:01 +00:00
Max Horn b3a14c6357 Fix a discrepancy between our V3 walking code and disasm (besides, using destbox instead of curbox was illogical, too)
svn-id: r26102
2007-03-12 12:16:41 +00:00
Max Horn f47670f5a3 Get rid of initActorClass
svn-id: r26101
2007-03-12 12:11:59 +00:00
Max Horn b07482b0b2 A long time ago, in a virtual machine far, far away...
It is a period of bug fixing. Rebel
developers, coding from a public
project, have won their umpteenth victory
against the evil Actor Walk Bugs.
 
During the debugging, programmers 
used secret plans to the LucasArts'
ultimate tool, the SCUMM engine, an
extensible scripting system with enough
power to create an entire adventure.

Pursued by ensuing sinister regressions,
High King Fingolfin gleefully jumps up
and down, making use of the hotkey
that can save his games and restore
them back again later....

[With apologies to George Lucas. Good
riddance to bugs #751662, #771483, #959001,
#1329457, #1329498, #1329529, #1527672,
#1538260, #1571701, #1571705, #1571740,
and a warm welcome to the regressions
this change will cause. :-) ]

svn-id: r26090
2007-03-11 15:23:50 +00:00
Max Horn f3e970f5b7 SCUMM: Renamed ActorOldWalk to Actor_v3, added new subclass Actor_v2
svn-id: r26057
2007-03-10 13:53:11 +00:00
Travis Howell a0d5795ee1 Add support for the New Kid verb option in Apple II and Commodore 64 verisons of Maniac Mansion.
svn-id: r25999
2007-03-06 07:09:18 +00:00
Travis Howell 19d2310b71 Add support for using disks images for Apple II version of Maniac Mansion.
svn-id: r25846
2007-02-25 07:23:52 +00:00
Max Horn e9f9792f2d Fix for bug #1660560 (MANIAC: Meteor faces wrong way during intro)
svn-id: r25705
2007-02-18 21:07:00 +00:00
Max Horn dc5ef8425b Introduced V12_X_SHIFT / V12_Y_SHIFT
svn-id: r25611
2007-02-15 18:12:29 +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 5395c4a2f4 Removed _actorPos locat vars, and instead use _pos directly
svn-id: r25344
2007-02-03 01:21:49 +00:00
Max Horn 27432a4dc1 Moved some stuff from CharsetRenderer (back) to ScummEngine, added comments
svn-id: r25250
2007-01-28 20:11:31 +00:00
Gregory Montoir cd79d127fa Since Actor::initActor is now virtual, it shouldn't be called directly from the base constructor (ActorC64::initActor won't get called as vtable hasn't yet been setup).
svn-id: r25015
2007-01-05 23:33:13 +00:00
Max Horn ae4ea4d989 Introduced ActorOldWalk subclass of Actor (for V1-V3 walk code)
svn-id: r24924
2006-12-25 17:21:54 +00:00
Max Horn ba991e3b3a SCUMM: Added ActorC64 subclass of Actor, and added a note stating that _miscflags isn't currently stored (possibly breaking C64 save states). Also reordered some HE specific code
svn-id: r24923
2006-12-25 15:37:20 +00:00
Max Horn 4ce7b74085 Changed ScummEngine::_actors from an Actor array to a an array of Actor points (i.e. indirection)
svn-id: r24922
2006-12-25 15:03:36 +00:00
Gregory Montoir cfd4ffb321 fixed bug #1620023 (script calls putActorAtXY with y == -1)
svn-id: r24910
2006-12-21 15:09:13 +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 41b4a34b5b cleanup
svn-id: r24565
2006-10-29 13:30:20 +00:00
Max Horn a0b9f78bd3 SCUMM: Introduced V12_X_MULTIPLIER and V12_Y_MULTIPLIER to make it a bit easier to find spots where we convert between C64-style coordinates and pixel coordinates (but beware, this probably doesnt't cover all relevant instances)
svn-id: r24384
2006-10-19 00:26:55 +00:00
Max Horn 92adf6a65c SCUMM: reordered contents of actor.cpp, grouping methods in a hopefully somewhat more logical fashion
svn-id: r24367
2006-10-18 14:01:28 +00:00
Max Horn dd7e4ff3e7 SCUMM: walbox related cleanup
svn-id: r24365
2006-10-18 13:33:42 +00:00
Max Horn d02e4d7f7c Removed CHECK_HEAP
svn-id: r23979
2006-09-23 11:29:32 +00:00
Max Horn 285aa5d0b2 renamed ScummEngine::restoreBG to restoreBackground; renamed and moved Gdi::copyVirtScreenBuffers to ScummEngine_v70he::restoreBackgroundHE
svn-id: r23925
2006-09-17 23:35:09 +00:00
Max Horn 8c0b0c0120 Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap (i.e. _gdi is a pointer now)
svn-id: r23921
2006-09-17 20:22:47 +00:00
Max Horn b860f002b2 Replaced checkRange by assertRange, which has (a) an (IMO) more logical order of parameters, and (b) removes lots of useless duplicate information in error messages
svn-id: r23885
2006-09-16 13:38:43 +00:00
Max Horn 6162626323 cleanup; remove check whether _costume is valid, as that is already done by getResourceAddress
svn-id: r23884
2006-09-16 12:43:18 +00:00
Travis Howell 100b809836 Fix bug #1527630 - ZAK FM-TOWNS: Actor (Caponian) picks wrong line
svn-id: r23586
2006-07-24 10:52:14 +00:00
Travis Howell e87c31d35d Remove out dated comment
svn-id: r23483
2006-07-11 04:43:14 +00:00
Travis Howell 242edd0e39 Restrict recent walk code changes to to exact SCUMM versions required, to prevent regressions in earlier games
svn-id: r23476
2006-07-10 11:45:40 +00:00
Travis Howell 76e67fba92 Fix actor glitches in the stomach location of pajama3
svn-id: r23471
2006-07-10 10:14:10 +00:00