Commit graph

260 commits

Author SHA1 Message Date
Max Horn
74f80acbf0 Properly *init* the _fmtownsBuf variable, and properly release the memory it points to when restarting
svn-id: r31381
2008-04-04 11:43:26 +00:00
Travis Howell
e36b95b64a Revert revision 31256, since _textSurfaceMultiplier isn't set at that point.
svn-id: r31380
2008-04-04 09:33:09 +00:00
Max Horn
d35020ac17 Init the _fmtownsBuf in the constructor, not in setupScumm() (fixes a leak, and ensure that _fmtownsBuf always is inited)
svn-id: r31256
2008-03-26 22:26:59 +00:00
Max Horn
b0c6a12c81 Modified Patch #1925352: Memory leak fixes
svn-id: r31244
2008-03-26 19:29:33 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Paweł Kołodziejski
758c4b1655 not need call refreshScripts in demo version of comi
svn-id: r30479
2008-01-13 23:44:52 +00:00
Max Horn
3e980392d5 Fixed bug #1861582 (COMI: Banjo duel seems harder than in the original) by changing the way SCUMM updates the timer vars (matches disasm now). Beware of regressions\!
svn-id: r30418
2008-01-11 22:12:06 +00:00
Max Horn
dce7a57cad VAR_TMR_4 has a special role from VAR_TMR_1 till 3 (in particular, it exists across far more SCUMM versions), so rename it to VAR_TIMER_TOTAL
svn-id: r30271
2008-01-05 23:05:16 +00:00
Eugene Sandulenko
0f6246bab8 Fix for bug #896489: "DIG: Missing subtitles when talking to Brink"
svn-id: r30167
2008-01-02 21:15:23 +00:00
Eugene Sandulenko
040a7b54fa Oops. Moved too much code in the last commit.
svn-id: r30162
2008-01-02 18:59:15 +00:00
Eugene Sandulenko
2d94049bea Workaround for bug #1804278: "MONKEY: Mouse is invisible after loading"
svn-id: r30160
2008-01-02 18:44:20 +00:00
Max Horn
0ad70c7d84 SCUMM: Moved tick duration into a constant
svn-id: r30112
2008-01-01 11:41:47 +00:00
Max Horn
be11104d70 Removed obsolete _insaneRunning flag
svn-id: r30107
2007-12-31 16:34:30 +00:00
Travis Howell
8f540e9b67 Move more HE code to HE71, to reduce code size, when using DISABLE_HE option.
svn-id: r30023
2007-12-28 00:18:06 +00:00
Travis Howell
9b0db4be37 Move more HE code to HE71, to reduce code size, when using DISABLE_HE option.
svn-id: r30021
2007-12-28 00:08:23 +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
Willem Jan Palenstijn
9ada2910f7 don't clear owner of invalid global object 0 (fixes #1857697)
svn-id: r30007
2007-12-26 23:06:22 +00:00
Travis Howell
443dff5285 Add support for original load/save system in HE games.
svn-id: r29434
2007-11-06 12:22:52 +00:00
Max Horn
3f958711a2 Refactored ScummEngine*::checkExecVerbs method
svn-id: r29284
2007-10-28 12:57:25 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +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
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
Chris Apers
500481c4ec Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
2007-09-01 19:13:04 +00:00
Eugene Sandulenko
44405b664f Put ScummNESFile class into separate file.
svn-id: r28497
2007-08-08 23:31:21 +00:00
Eugene Sandulenko
1db83059b0 Preliminary (and buggy) Kanji support.
svn-id: r27998
2007-07-10 00:39:12 +00:00
Max Horn
0a662bfb7e cleanup in ScummEngine::drawStripToScreen; in particular, the code is now more efficient for The Dig, FT and COMI
svn-id: r27980
2007-07-08 22:13:50 +00:00
Max Horn
3762bcdfe1 correct typo
svn-id: r27978
2007-07-08 21:39:46 +00:00
Max Horn
9027076e5d Split Engine::pauseEngine: It now does pauseLevel handling, while engines can provide a simpler pauseEngineIntern method; provided default implementation of the latter which simply (un)pauses the mixer
svn-id: r27801
2007-06-30 22:22:25 +00:00
Max Horn
fed38a794f Added Engine::pauseEngine method (allows outside code, like the backend, to pause/resume the active engine); made the global 'confirm exit' dialog use that feature; implemented ScummEngine::pauseEngine
svn-id: r27797
2007-06-30 18:22:21 +00:00
Max Horn
4e4358e8c3 Made SCUMM use Common::KeyState, too (but implemented almost no fixes/optimizations based on this)
svn-id: r27655
2007-06-23 10:38:03 +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
Max Horn
0de170c980 Removing useless common/fs.h includes
svn-id: r27018
2007-05-30 17:44:52 +00:00
Max Horn
68175c713b Patch #1709681: SCUMM: Fallback to Adlib when Roland Upgrade is missing
svn-id: r26679
2007-04-29 18:26:27 +00:00
Gregory Montoir
5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
svn-id: r26357
2007-04-01 17:36:13 +00:00
Max Horn
d0c30bfd9a Undoing my previous (upon closer review, bogus) change to IMuseDigital::refreshScripts -- the problem is a bit deeper. Sorry for the noise :-(
svn-id: r26257
2007-03-20 19:06:37 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Max Horn
f47670f5a3 Get rid of initActorClass
svn-id: r26101
2007-03-12 12:11:59 +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
Max Horn
aba0cd04d6 SCUMM: got rid of the _bompActorPalettePtr member var (which was only used as a hidden param to drawBomp); turned drawBomp into a regular function (used to be a ScummEngine member method)
svn-id: r26045
2007-03-10 00:34:20 +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
4ec8c6ca43 Correct feature flags for the PC Engine version of Loom.
svn-id: r25952
2007-03-03 13:19:22 +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
Travis Howell
28408d8b7b Rename C64 engine class, since it is been used by Apple II and Commodore 64 versions now.
svn-id: r25850
2007-02-25 11:38:19 +00:00
Travis Howell
fdc61643f4 Rename file class, since it is been used for disk images of Apple II and Commodore 64 versions now.
svn-id: r25847
2007-02-25 07:26:41 +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
Travis Howell
abd20d59fa Move SCUMM version checks for settings up monst.er.sou file, to higher level.
svn-id: r25716
2007-02-19 09:46:45 +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
c584d2f332 Fix for bug #1328131 (MANIACNES: Inventory hotspots can be misaligned) and its dup #1537595 (MANIACNES: Heavy script bug)
svn-id: r25603
2007-02-15 11:56:17 +00:00
Max Horn
247110b19b SCUMM: Many (most) game flags can computed based on the SCUMM version and other flags; we now do that were possible and only specify the absolute minimum in gameVariantsTable
svn-id: r25598
2007-02-14 23:29:13 +00:00