Commit Graph

1077 Commits

Author SHA1 Message Date
Torbjörn Andersson
ec34e88f75 Fixed assertion when setting non 8-bit cursors in Myst, Masterpiece Edition.
svn-id: r47358
2010-01-18 18:45:30 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Max Horn
0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Max Horn
474d49946f Rename QueuedAudioStream to QueuingAudioStream
svn-id: r47179
2010-01-08 22:06:04 +00:00
Max Horn
95726dfe50 Move Mohawk's QueuedAudioStream to sound/ (with some tweaks)
svn-id: r47177
2010-01-08 22:04:30 +00:00
Johannes Schickel
aa2f55ddc6 Remove the deprecated FLAC, Vorbis and MP3 factories.
svn-id: r47134
2010-01-07 17:14:44 +00:00
Johannes Schickel
ca5e137945 Create a wrapper makeLoopingAudioStream to reduce code duplcation.
svn-id: r47128
2010-01-07 16:18:03 +00:00
Johannes Schickel
2e9bae44c5 Let ADPCM streams subclass RewindableAudioStreams and thus allow them to be looped with the new looping code.
svn-id: r47127
2010-01-07 16:08:41 +00:00
Matthew Hoops
8cc208ba2e Minor cleanup; remove GF_10TH, it's not used or needed anywhere.
svn-id: r46978
2010-01-04 17:37:25 +00:00
Matthew Hoops
380190ee12 Fix a memory leak spotted by cppcheck. Thanks salty-horse\!
svn-id: r46977
2010-01-04 17:30:47 +00:00
Matthew Hoops
bf3973051b Merge the Mohawk Video class into QTPlayer and general cleanup.
svn-id: r46976
2010-01-04 17:27:36 +00:00
David Turner
ae9cf4d51e Mohawk : Improved code formatting conventions compliance.
svn-id: r46965
2010-01-04 08:10:29 +00:00
Arnaud Boutonné
5433ba01fa Mohawk : For what it's worth, Add detection for a french "in the 1rst degree"
svn-id: r46957
2010-01-03 22:11:08 +00:00
Arnaud Boutonné
e71754b64d Add detection for a french Myst
svn-id: r46954
2010-01-03 21:50:13 +00:00
David Turner
715b48b987 Mohawk : Stop Myst Script Opcode 200 continuously reloading the same image...
svn-id: r46919
2010-01-03 08:27:33 +00:00
Torbjörn Andersson
2165dc1a25 Indentation fix. (Which still leaves a lot that probably ought to be fixed in
this directory...)

svn-id: r46877
2010-01-02 08:53:06 +00:00
Torbjörn Andersson
6d879f15b7 Reading the whole buffer at once should be more efficient than reading it one
byte at a time.

svn-id: r46804
2009-12-31 18:25:35 +00:00
Matthew Hoops
e53d82b287 Remove obsolete comment about Myst ME not working.
svn-id: r46802
2009-12-31 17:43:17 +00:00
Matthew Hoops
85787988a0 Remove the getBeginOffset() hack from Common::SeekableReadStream and introduce QTPlayer::setChunkBeginOffset() to allow specifying what offset to use.
svn-id: r46786
2009-12-31 00:37:40 +00:00
Max Horn
f31c452a5f MOHAWK: Reduce header interdependencies
svn-id: r46782
2009-12-30 23:02:14 +00:00
Max Horn
a753f606ec MOHAWK: Stop using String::emptyString
svn-id: r46780
2009-12-30 23:01:16 +00:00
Matthew Hoops
b775c03c29 Use the special Cinepak YUV2RGB function in the Cinepak decoder. This makes the Riven videos match up with the backgrounds better. Thanks, Torbjorn\!
svn-id: r46750
2009-12-30 15:29:52 +00:00
Matthew Hoops
3e96fd7dc7 Whitespace fixes
svn-id: r46745
2009-12-30 14:46:06 +00:00
Torbjörn Andersson
69c71c7628 Removed some unnecessary whitespace. Changed some spaces to tabs.
svn-id: r46735
2009-12-30 07:30:04 +00:00
Torbjörn Andersson
1a66ad80a4 Re-indentet switch() blocks to follow ScummVM indentation style. (I've always
found this style a bit unusual, but I value consistency.)

svn-id: r46734
2009-12-30 07:14:09 +00:00
Matthew Hoops
516495a4a1 Silence some warnings seen in the buildbot.
svn-id: r46733
2009-12-30 07:00:16 +00:00
Eugene Sandulenko
0ea022d076 Add Mohawk engine code. Part 1/3: main code.
svn-id: r46727
2009-12-29 23:18:24 +00:00