61 Commits

Author SHA1 Message Date
Matthew Hoops
5db42076b8 VIDEO: Convert FlicDecoder to the new AdvancedVideoDecoder API
The video no longer automatically loops (unused in-tree) and must have rewind() called manually
2012-08-12 08:43:32 -04:00
D G Turner
5015d12142 TUCKER: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 18:02:12 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
e21d6e0d11 Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into master
Conflicts:
	backends/platform/android/android.cpp
	engines/sci/graphics/screen.cpp
	engines/sci/graphics/transitions.cpp
2011-02-19 21:46:45 +01:00
Gregory Montoir
855b676cd4 TUCKER: cleanup, removed unused variables 2011-02-19 15:52:03 +01:00
Gregory Montoir
34f428ea91 TUCKER: cleanup 2011-02-18 15:20:31 +01:00
Johannes Schickel
362b0cd5e4 TUCKER: Adapt to setPalette RGBA->RGB change.
This change has not been tested, since I do not own copy of Tucker.
2011-02-14 17:08:33 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Matthew Hoops
375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Gregory Montoir
548015ac10 add missing decodeNextAnimationFrame in default case for sequence 9
svn-id: r49458
2010-06-06 14:18:16 +00:00
Gregory Montoir
536e6a9bc3 fix sequence frame numbering (decrement if getCurFrame now returns the last decoded frame number)
svn-id: r49455
2010-06-06 13:40:15 +00:00
Gregory Montoir
8e6cc1201a use palette image during sequence 3 scrolling
svn-id: r49452
2010-06-06 13:31:19 +00:00
Matthew Hoops
11cbdd0318 Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
2010-05-18 14:17:24 +00:00
Gregory Montoir
4decff1a92 fix missing sound effects during introduction with non French versions.
svn-id: r48801
2010-04-25 21:53:27 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Johannes Schickel
a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
69be747621 Move raw audio streams to new header sound/raw.h
svn-id: r47368
2010-01-19 00:54:06 +00:00
Max Horn
349fcd1d71 Rename 'Linear' audio streams to 'raw'
svn-id: r47367
2010-01-19 00:52:41 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Johannes Schickel
6ca0570fe3 - Add a SubLoopingAudioStream, which loops a nested part of a stream and thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream.
- Remove custom looping code from LinearMemoryStream and LinearDiskStream.
- Adapt various client code to the changes.

svn-id: r47226
2010-01-10 15:20:14 +00:00
Johannes Schickel
616e4626f5 Since AudioStream looping is no longer handled by the Mixer, drop Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream).
svn-id: r47160
2010-01-08 16:27:29 +00:00
Johannes Schickel
771867fd1b Do not try to destroy an object on the stack via delete.
svn-id: r47131
2010-01-07 16:49:23 +00:00
Johannes Schickel
4f52dcea66 Adapt TUCKER to use RewindableAudioStream and Mixer::playInputStreamLooping. (Needs testing, please :-)
svn-id: r47130
2010-01-07 16:44:17 +00:00
Johannes Schickel
d5fe29c3c9 Make makeWAVStream return a RewindableAudioStream.
svn-id: r47129
2010-01-07 16:34:56 +00:00
Gregory Montoir
a85b22e092 TUCKER: fix several issues in ending sequences (tracker item #2872355 - Minor bugs outro)
svn-id: r45200
2009-10-17 20:06:46 +00:00
Max Horn
6a2985ba08 Patch #2834677: Wave/ADPCM Endianness Fixes
svn-id: r45095
2009-10-14 22:37:05 +00:00
Gregory Montoir
e4d04fec8d TUCKER: add support for commpressed intro sound effects
svn-id: r43733
2009-08-25 21:28:29 +00:00
Gregory Montoir
b98fdb997d tucker: fixed issues with dirty rects handling (tracker item #2597763)
svn-id: r42456
2009-07-13 22:11:54 +00:00
Gregory Montoir
5a03e5cca1 simplified .raw/.wav data files handling in introduction sequences
svn-id: r41520
2009-06-14 15:07:34 +00:00
Gregory Montoir
f2668f8a7d simplified sound handling in animation sequences
svn-id: r40747
2009-05-21 01:30:28 +00:00
Gregory Montoir
883e567f5e fix display of machine.flc (alternative fix would be to use the COGS00xy.PCX files directly and get rid of this second .flc file)
svn-id: r40645
2009-05-17 13:22:33 +00:00
Filippos Karapetis
6f0b6b5aed Changed the FLIC player to the common VideoDecoder interface. Note that currently the double animation in Bud Tucker's intro credits is broken, as the second background animation is not played
svn-id: r40638
2009-05-17 08:44:20 +00:00
Gregory Montoir
2fd66d8eae some cleanup :
- separated instruction table parsing from instruction execution
- added a few debug calls to monitor game flags changes
- some variables/functions renaming

svn-id: r40454
2009-05-11 14:04:44 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Gregory Montoir
7f594fa21d TUCKER: modified flic playback to make use of dirtyrects
svn-id: r36060
2009-01-25 12:10:06 +00:00
Gregory Montoir
1511099a7b merged Graphics::copyTo640/Graphics::copyFrom640
svn-id: r35892
2009-01-18 04:00:11 +00:00
Gregory Montoir
8ea8966c02 cleanup
svn-id: r35891
2009-01-18 03:22:33 +00:00
Gregory Montoir
710b7fe461 get rid of AnimationSequencePlayer::_currentSeqNum
svn-id: r35890
2009-01-18 03:07:20 +00:00
Gregory Montoir
8f85a81791 splitted play/load class methods in introduction animation player
svn-id: r35887
2009-01-18 00:55:51 +00:00
Max Horn
736fea2c0e tiny cleanup
svn-id: r35878
2009-01-16 23:29:48 +00:00
Max Horn
0a169612ee TUCKER: Got rid of _fileToLoad
svn-id: r35875
2009-01-16 21:19:30 +00:00
Max Horn
c0e1dbf1ac TUCKER: Changed loadFile and loadImage to take filename as parameter (trying to get rid of _fileToLoad)
svn-id: r35874
2009-01-16 21:08:55 +00:00
Filippos Karapetis
7f9ea7e35c Added Doxygen-like comments to the FLIC player, and changed it a bit to have similar method names as the DXA and Smacker players. Also, removed the convenience method hasFrames(), as it's the same as getFrameCount() > 0
svn-id: r35741
2009-01-05 15:10:13 +00:00