aboutsummaryrefslogtreecommitdiff
path: root/graphics/animation.cpp
AgeCommit message (Collapse)Author
2006-06-03MPEG player fixes:Torbjörn Andersson
* Initialise _frameWidth and _frameHeight to prevent them from being undefined. * Fix BS2 subtitle positioning. (Fixes bug #1499916) * In BS2, copy the frame to the backend in 8-bit mode. * Fix compilation in 8-bit mode. BS2 subtitles aren't quite right in 8-bit mode, but I expect we want to re-design things a bit if we ever add DXA cutscenes. We can fix minor details then. svn-id: r22859
2006-05-18Renamed screenChanged() to handleScreenChanged().Torbjörn Andersson
svn-id: r22518
2006-05-18Allow changing scaler while playing MPEG cutscenes.Torbjörn Andersson
svn-id: r22515
2006-05-17- Heavily modified patch #1214784: "Disable overlay scaling"Eugene Sandulenko
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes is applied as is. It lacks resolution switch on-the-fly. - GUI widgets are repositioned on the fly and use most space, even aspect ratio corrected screen is used without scaling - Heavy tesing is required, but works for me in all cases except for bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more work. - I probavly broke some backend or two svn-id: r22505
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-02-20Moved fonts to a new dir graphics/fontsMax Horn
svn-id: r20800
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20519
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-10Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' ↵Max Horn
because we already have many classes with that name) svn-id: r18039
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-05-01If the sound ends before the cutscene, fall back on same synchronizingTorbjörn Andersson
mechanism as in the no sound case. In particular, don't hang while waiting for the sound to play far enough to go to the next frame. This should fix bug #1192646. svn-id: r17889
2005-04-26...and since RGBToColor() returns OverlayColor, let's use that datatypeTorbjörn Andersson
instead of uint16. (I never realized that we could use RGBToColor() here myself. Good job in spotting that!) svn-id: r17812
2005-04-26now uses OSystem::RGBtoColor for yuv->rgb conversion tables instead of ↵Robert Göffringmann
checking gBitFormat svn-id: r17810
2005-04-03Added ARGB4444 case to table generation.Marcus Comstedt
Maybe this should really be a single case using RGBToColor instead... svn-id: r17357
2005-03-12PlayingSoundHandle -> SoundHandle; also, turned the handle activity check ↵Max Horn
into a mixer method svn-id: r17106
2005-03-11Renamed variables in the MPEG animation classes to better conform withTorbjörn Andersson
ScummVM standard. It seems the 8-bit version of the code had decayed slightly, but I believe it's working again now. svn-id: r17081
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-03-06Applied patch #1155731, reducing the memory usage of the MPEG player byTorbjörn Andersson
about 8 MB. svn-id: r17007
2005-01-10A little more moving around #include's (last one for today ;-)Max Horn
svn-id: r16534
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-12-20CE workaround - skipping the movie is better than crashing if the LUT cannot ↵Nicolas Bacca
be allocated svn-id: r16218
2004-12-05added support for an international BS1 cutscene pack (which we didn't ↵Robert Göffringmann
release yet) svn-id: r15983
2004-11-28Changed parameter order of SoundMixer::playInputStream to match that of playRawMax Horn
svn-id: r15950
2004-11-27Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing ↵Max Horn
some very specialised methods svn-id: r15914
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-08-05Enhanced extrapath supportMax Horn
svn-id: r14470
2004-07-19Changed order of initialisation in BaseAnimationState::BaseAnimationState() ↵Bertrand Augereau
to match order of declaration, to avoid a pedantic warning svn-id: r14275
2004-07-11Use extrapath in Sword1 engine (from 0.6.0 branch). More verbose errors to ↵James Brown
go with the forthcoming new manual. Sword1 CD swapping doesn't work as expected HERE, either :) svn-id: r14188
2004-06-28Make use of new File refcount code; also fixed long standing bug in vorbis ↵Max Horn
code (ov_clear was not being called, resulting in a file not being closed) svn-id: r14107
2004-03-28Renamed more OSystem methodsMax Horn
svn-id: r13410
2004-03-24Use the binary .pal file format that was introduced for 0.6.0.Torbjörn Andersson
Invalidate the lookup table when the screen changes. (TODO: We also have to invalidate it if the change happens between cutscenes, don't we?) Some cleanup, particularly in the BS2 cutscene player. More needed, I guess... svn-id: r13377
2004-03-23Unify MPEG2 code even moreMax Horn
svn-id: r13365
2004-03-22share 'init' method, tooMax Horn
svn-id: r13361
2004-03-22some more cleanupMax Horn
svn-id: r13359
2004-03-22move commong code into separate source file (more could be done, but it's a ↵Max Horn
start) svn-id: r13358
2004-03-21Moved Surface/Font code into new 'graphics' moduleMax Horn
svn-id: r13357