aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
AgeCommit message (Collapse)Author
2007-12-16Clear the EXIT_CLICK_ID variable when entering a new room. Otherwise, if anTorbjörn Andersson
exit warps back to the same room, clicking on the same exit again is misinterpreted as a double-click, and that only works if we're already walking towards that exit. Otherwise, the game will hang. This fixed bug #1851502 ("SWORD2: Black-out in Forest"). svn-id: r29876
2007-12-16Workaround for bug #1487382 ("SWORD2: Game freezes"). It appears to be a scriptTorbjörn Andersson
bug. svn-id: r29866
2007-12-15Fixed typo in comment.Torbjörn Andersson
svn-id: r29865
2007-12-07add Common::Rect::center (handy for ::setFocusRectangle())Gregory Montoir
svn-id: r29751
2007-12-01Experimental "focus rectangle" support. I don't have any way to actually testTorbjörn Andersson
it myself. svn-id: r29677
2007-11-01Revert patch #1709219 - DXA Player: double size scaling option.Travis Howell
svn-id: r29351
2007-10-31Slighly modified patch #1709219: "DXA Player: double size scaling option"Eugene Sandulenko
svn-id: r29347
2007-09-19Modified patch #1738058: "Action recorder".Eugene Sandulenko
svn-id: r28968
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-08-05Merged fsnode with trunk: r27971:28460David Corrales
svn-id: r28462
2007-07-21The mixer no longer allows unpausing channels that aren't paused. So don't.Torbjörn Andersson
svn-id: r28155
2007-07-15Fixed sound factory messup caused by my previous commitMax Horn
svn-id: r28111
2007-06-23Merged the FSNode branch with trunk r27031:27680David Corrales
svn-id: r27681
2007-06-22Slightly updated key handling in BS2, Kyra, and ToucheMax Horn
svn-id: r27637
2007-06-21Use the KEYCODE constants.Torbjörn Andersson
svn-id: r27593
2007-06-12Add support for pausing/resume cutscenes shown on the OmniTV in The Feeble ↵Travis Howell
Files. svn-id: r27371
2007-06-05Renamed methods in the FilesystemNode class to match the AbstractFSNode ↵David Corrales
implementations. Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode. svn-id: r27113
2007-05-31Re-added Revolution Software copyright to BS2 engineMax Horn
svn-id: r27030
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2007-04-14I must have accidentally broken frame skipping when I added DXA playback. MadeTorbjörn Andersson
frame skipping actually skip the updateScreen() call. svn-id: r26469
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
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-03-18Let the event manager keep track of the mouse position.Torbjörn Andersson
svn-id: r26205
2007-03-18Fixed bug that caused the music to stop. I don't know if this is a regression,Torbjörn Andersson
or it if was just luck that it worked before. svn-id: r26196
2007-03-18Oops.Torbjörn Andersson
svn-id: r26191
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
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-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-01Get rid of the last two usages of File::incRef/decRefMax Horn
svn-id: r25919
2007-03-01Removed obsolete 'if' (resp. replaced it by an assert)Max Horn
svn-id: r25918
2007-03-01Got rid of another use of File::incRef/decRefMax Horn
svn-id: r25917
2007-02-24Remove unneeded #includesMax Horn
svn-id: r25838
2007-02-24Trying to unify the order in which we try the various audio formats: Prefer ↵Max Horn
FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM svn-id: r25837
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-02-20Cleanup.Torbjörn Andersson
svn-id: r25747
2007-02-17Removed some dead code, updated a warning messageMax Horn
svn-id: r25662
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2007-02-11SWORD2: Enhance the detector to recurse into the 'clusters' directory, ↵Max Horn
making it possible to detect & run BS2 from (a straight copy of) the CD svn-id: r25490
2007-02-08Instead of pre-rendering all subtitles and pre-loading all sounds for a movieTorbjörn Andersson
cutscene, render the text and play the speech when needed. It probably won't play as nicely from CD now, but using less memory seems more important to me. svn-id: r25428
2007-02-03Fixing various doxygen warningsMax Horn
svn-id: r25362
2007-02-03* Reimplemented Mixer::pauseAll to simply invoke pause on all channelsMax Horn
(implying change of semantics) * Reordered the params of Mixer::playRaw (the SoundType now comes first, not last) * Removed Mixer::isPaused * Removed Mixer::getSoundElapsedTimeOfSoundID * Added some doxygen comments to the Mixer svn-id: r25356
2007-01-27Stop movie lead-in/out when restarting the game (as I already claimed in aTorbjörn Andersson
comment that I was doing) to *really* fix bug #1645480. This time for sure... svn-id: r25231
2007-01-26Added separate function for playing cutscene lead-in/out sounds, and made sureTorbjörn Andersson
that these are stopped whenever the engine is going to do a mass killing of game resources, e.g. when restoring or restarting the game. Should fix bug #1645480. (This was a regression added during the rewrite to support DXA.) svn-id: r25204
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134
2007-01-03Use FRAMES_PER_SECOND, not getFramesPerSecond(), to calculate the number ofTorbjörn Andersson
frames before a sound effect is triggered. This is not dependent on _gameSpeed. svn-id: r24971
2007-01-03Added experimental "fast mode" for Broken Sword 2. (Use Ctrl-f to toggle.)Torbjörn Andersson
svn-id: r24970
2006-12-18The MPEG player no longer handles frame syncing/dropping, so this comment isTorbjörn Andersson
obsolete now. svn-id: r24872
2006-11-16Applied patch #1597800 to better support the Spanish end credits.Torbjörn Andersson
svn-id: r24727
2006-11-12Since we now generate warnings/messages for engine instantiation failures in ↵Max Horn
a central place, get rid of such messages printed by engines svn-id: r24686
2006-11-07Fixed regression caused by recent debug console cleanup. The key stroke thatTorbjörn Andersson
invoked the debug console would repeat after the console was closed. Another example why keyboard repeat should be centralized, I guess... svn-id: r24649