aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2010-01-07SCI: implemented additional drawCel for hires views, fixes menu bar of kq6 - ↵Martin Kiewitz
still need to fix coordinates and implement save/restoreBits for hires svn-id: r47116
2010-01-07SCI: releasing sample stream as well (thx to LordHoto)Martin Kiewitz
svn-id: r47115
2010-01-07Add important note for engine authors about SubSeekableAudioStream.Johannes Schickel
svn-id: r47114
2010-01-07Add a playInputStreamLooping for RewindableAudioStream to Mixer.Johannes Schickel
svn-id: r47113
2010-01-07Cleanup.Johannes Schickel
svn-id: r47112
2010-01-07- Strip custom looping code out of FLAC, Vorbis and MP3 streamsJohannes Schickel
- Adapt the legacy make*Stream factories to use the new AudioStream subclasses - Change return value of make*Stream back to AudioStream * svn-id: r47111
2010-01-07Switch Mixer back to use only one Channel implementation. (partial revert of ↵Johannes Schickel
r47031 + r47034). svn-id: r47110
2010-01-07First step of a slight revision of the new AudioStream looping API:Johannes Schickel
- Create a RewinadableAudioStream, for streams which can only be reset to the start - Create a LoopableAudioStream, which loops a whole RewindableAudioStream - Make SeekableAudioStream a subclass of RewindableAudioStream - Create a SubSeekableAudioStream, which allows of limiting the range of an SeekableAudioStream to be played. - Adapt AudioCD code. svn-id: r47109
2010-01-07SCI: small cleanup in view drawingMartin Kiewitz
svn-id: r47108
2010-01-07SCI: fixed stupid bug in putPixelOnDisplay, fixes height of displayed hires ↵Martin Kiewitz
graphics in kq6 svn-id: r47107
2010-01-07cleaned up player, fixed invalid delete's and memory leaksVladimir Menshakov
svn-id: r47106
2010-01-07SCI: some portrait work (kq6 now shows the main bitmap as portrait, ↵Martin Kiewitz
coordinates still messed up) svn-id: r47105
2010-01-07do not render overlays over the animation sequencesVladimir Menshakov
svn-id: r47104
2010-01-07Add update of mohawk engineLars Persson
svn-id: r47103
2010-01-07Add browser to base.mmpLars Persson
Create mohawk base mmp svn-id: r47102
2010-01-06Fix warnings.Eugene Sandulenko
svn-id: r47101
2010-01-06add new robot.cpp fileJoost Peters
svn-id: r47100
2010-01-06SCI: added a new class for robot resourcesMartin Kiewitz
svn-id: r47099
2010-01-06better clipping for left/top sidesVladimir Menshakov
svn-id: r47098
2010-01-06added hardcoded height valueVladimir Menshakov
svn-id: r47097
2010-01-06SCI: add robot/.rbt files to resourcemanager classMartin Kiewitz
svn-id: r47096
2010-01-06better z-ordering for the mark's animationVladimir Menshakov
svn-id: r47095
2010-01-06fixed special agents blinkVladimir Menshakov
svn-id: r47094
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