aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-06Fix FLAC's getLength implementation.Johannes Schickel
svn-id: r47093
2010-01-06implemented clipping for markVladimir Menshakov
svn-id: r47092
2010-01-06Add a constructor to Timestamp, which allows for specifying seconds + start ↵Johannes Schickel
frames directly. svn-id: r47091
2010-01-06SCI: Fix overflow in LZS decompressorWalter van Niftrik
svn-id: r47090
2010-01-06SCI: sync displayScreen with framebuffer after successful video playback ↵Martin Kiewitz
(fixes background vanishing in mainmenu of gk1demo) svn-id: r47089
2010-01-06SCI: search for %J in text resources to identify japanese games, switch to ↵Martin Kiewitz
upscaled hires when japanese games are started, removed TODO svn-id: r47088
2010-01-06- Some work on kLocalToGlobal and kGlobalToLocal for SCI2+Filippos Karapetis
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...) - Improved the sanity checks in frameOut() svn-id: r47087
2010-01-06Removed a hack from the fallback detector, used to distinguish some demos ↵Filippos Karapetis
from their full versions svn-id: r47086
2010-01-06Adapt FLAC and Vorbis to use calculateSampleOffset in their seek implementation.Johannes Schickel
svn-id: r47085
2010-01-06removed all magic about mark's velocityVladimir Menshakov
svn-id: r47084
2010-01-06Rename some Timestamp methods: getNumberOfFrames -> numberOfFrames and ↵Max Horn
getFramerate -> framerate svn-id: r47083
2010-01-06- Simplify Audio::calculateSampleOffset.Johannes Schickel
- Made Audio::calculateSampleOffset accessable from outside audiostream.cpp. - Adapt KYRA's AUDStream to use Audio::calculateSampleOffset. svn-id: r47082
2010-01-06- Add some functionallity to query the seconds and number of frames stored ↵Johannes Schickel
in a Timestamp. - Add tests for these svn-id: r47081
2010-01-06- Move openStreamFile from AudioStream to SeekableAudioStream.Johannes Schickel
- Fix documentation of openStreamFile. svn-id: r47080
2010-01-06The error inside execute_method() has been restored, it's only a warning for ↵Filippos Karapetis
SCI2+ games for now, till we figure out what's wrong svn-id: r47079
2010-01-06SCI: initPriorityBands() now aborts when getting called and screen size is ↵Martin Kiewitz
not 320x200 svn-id: r47078
2010-01-06SCI: changed screenHeight to 200 fixed inside initPriorityBands() because ↵Martin Kiewitz
the algo is meant to work on lowres only svn-id: r47077
2010-01-06SCI2+ games no longer use priority bands (fixes memory leaks in true hires ↵Filippos Karapetis
games, too) svn-id: r47076
2010-01-06SCI: making most of the variables in screen class private (some of it was ↵Martin Kiewitz
needed for old gui) svn-id: r47075
2010-01-06Removed one more hardcoded screen dimensionFilippos Karapetis
svn-id: r47074
2010-01-06SCI2.1 and newer games always run at 640x480Filippos Karapetis
svn-id: r47073
2010-01-06Removed all hardcoded screen sizesFilippos Karapetis
svn-id: r47072
2010-01-06Add more comparision operators to TimestampMax Horn
svn-id: r47071
2010-01-06Change the way Timestamp stores its data.Max Horn
Instead of storing milliseconds and frames (which causes rounding errors, and causes ambiguity in how a given time is stored), we now do things differently: We store a number of seconds, and frames. To make sure that we can still handle milliseconds accurately, though, we change the framerate to the least common multiple of the original framerate and 1000. So 60 becomes 6000, and 44100 becomes 441000. There are no visible changes for client code, except for the increased accuracy. svn-id: r47070
2010-01-06do not interrupt any actions (test for wii)Vladimir Menshakov
svn-id: r47069
2010-01-06minor cleanupsVladimir Menshakov
svn-id: r47068
2010-01-06The current AIFF stream implementations returns a SeekableAudioStream, ↵Johannes Schickel
reflect that in its factory method. svn-id: r47067
2010-01-06Adapt TOUCHE to use the new FLAC, Vorbis and MP3 factories (it didn't use ↵Johannes Schickel
any looping features anyway). svn-id: r47066
2010-01-06Change the AudioStream::openStreamFile API to return SeekableAudioStreams ↵Johannes Schickel
and remove parameter for depreacted loop support. (We could consider moving this to SeekableAudioStream). svn-id: r47065
2010-01-06Adapt digital iMuse to use SeekableAudioStream::seek, instead of ryling on ↵Johannes Schickel
the deprecated FLAC, Vorbis and MP3 interface. svn-id: r47064
2010-01-06Adapt SAGA to use Mixer::playAudioStreamLooping instead of relying the ↵Johannes Schickel
depracted in AudioStream looping support. svn-id: r47063
2010-01-06Adapt KYRA to use the new FLAC, Vorbis and MP3 factories.Johannes Schickel
svn-id: r47062
2010-01-05- Put the new factories for MP3, Vorbis and FLAC in place.Johannes Schickel
- Marked the loop factories with loop related parameters as deprecated. svn-id: r47061
2010-01-05Properly adapt AUDStream to be a SeekableAudioStream and switched KYRA3 to ↵Johannes Schickel
use playAudioStreamLooping for its looping purposes. svn-id: r47060
2010-01-05added logs about EVENT_RTLVladimir Menshakov
svn-id: r47059
2010-01-05Fix broken Scumm dialogs, which is a regression from r46947. (They used a ↵Johannes Schickel
dummy name, which didn't exist in the theme config and later on just calculated the size on their own...) svn-id: r47057
2010-01-05separate timers for mark, scene and messages.Vladimir Menshakov
svn-id: r47056
2010-01-05Properly initialize _pos in LoopingChannel.Johannes Schickel
svn-id: r47055
2010-01-05Implement Timestamp::operator== as equality in time.Johannes Schickel
svn-id: r47054
2010-01-05Add some test for operator== in Timestamp.Johannes Schickel
svn-id: r47053
2010-01-05Cleanup.Johannes Schickel
svn-id: r47052
2010-01-05Update ARM version of rate filler code in line with LordHoto's changeRobin Watts
in revision 47014. svn-id: r47051
2010-01-05SCI: implemented debug command "set_palette"Martin Kiewitz
svn-id: r47047
2010-01-05Cleanup.Johannes Schickel
svn-id: r47046
2010-01-05- Initial implementation of looping of SeekableAudioStreams in Mixer.Johannes Schickel
- Adapted AudioCD code to use this for audio CD emulation. svn-id: r47045
2010-01-05Changed an error to a warning in execute_method(), so that Torin's Passage ↵Filippos Karapetis
scripts continue running (and crash at some later point) svn-id: r47044
2010-01-05SCI: implemented new debug command "draw_cel"Martin Kiewitz
svn-id: r47043
2010-01-05more accurate timings.Vladimir Menshakov
svn-id: r47042
2010-01-05SCI: remove lowres limit from picture class, makes hires sci32 pictures workMartin Kiewitz
svn-id: r47041
2010-01-05SCI: removed hardcoded screen width/height from windowMgr menuPortMartin Kiewitz
svn-id: r47040