Commit Graph

43891 Commits

Author SHA1 Message Date
Max Horn
6a6caa80a3 AUDIO: Tweak Timestamp docs; move class member decls to the end
svn-id: r55845
2011-02-09 00:14:24 +00:00
Max Horn
d7370f11e4 VIDEO: Remove unused SeekableVideoDecoder::seekToFrame method
svn-id: r55844
2011-02-09 00:14:06 +00:00
Max Horn
ee7056542c AGOS: Reduce header interdependencies
svn-id: r55843
2011-02-09 00:13:42 +00:00
Max Horn
4cfa520dce AGOS: Change private to protected, Instead of making subclasses friends
svn-id: r55842
2011-02-09 00:13:20 +00:00
Max Horn
805a5b2996 VIDEO: In overloaded methods, invoke correct parent implementation
This should not cause any code behavior changes at this time, but if any
of the intermediate VideoDecoder classes ever starts to overload stuff,
this would become important.

svn-id: r55841
2011-02-09 00:12:58 +00:00
Max Horn
633b8ed277 AUDIO: Forbid adding timestamps with differing framerate
We used to allow this, but the result is a timestamp with a framerate
potentially different from that of both original timestamps, which can
lead to completely unexpected behavior. For example, consider this code
snippet:
  a = a + b;
  a = a.addFrames(1);  // frame rate changed!

svn-id: r55840
2011-02-09 00:12:22 +00:00
Max Horn
97bfd60e61 COMMON: Reduce overflow risk in Common::Rational += and -= operators
svn-id: r55839
2011-02-09 00:12:02 +00:00
Max Horn
2184326dbc COMMON: Add comment that explains strange <= checks in gcd()
svn-id: r55838
2011-02-09 00:11:39 +00:00
Filippos Karapetis
93d22c21b5 SCI: Changed the warning when applying script patches into a debug output call
svn-id: r55837
2011-02-08 23:07:11 +00:00
Johannes Schickel
9cf8d4d548 VIDEO: Fix the documentation of VideoDecoder::setSystemPalette.
svn-id: r55836
2011-02-08 23:00:28 +00:00
Johannes Schickel
949000a144 VIDEO: Fix the documentation of VideoDecoder::getPalette.
svn-id: r55835
2011-02-08 22:58:34 +00:00
Thierry Crozat
9fceb20012 CREDITS: Add credits for Czech translation
Also add missing html entities conversion for rtf and tex outputs (hopefully
I got them right).

svn-id: r55834
2011-02-08 22:28:32 +00:00
Thierry Crozat
89bc8bfdb2 I18N: Add Czech translation (patch #3174438)
svn-id: r55833
2011-02-08 22:25:35 +00:00
Arnaud Boutonné
4917740b44 HUGO: Cleanup : some refactoring and encapsulation (thanks fuzzie for the help)
svn-id: r55831
2011-02-08 20:52:26 +00:00
Filippos Karapetis
72a9706950 SCI: Some work on robot videos
- The size of the videos is now calculated when they are loaded (this helps remove some
nasty hacks and constant memory reallocations and simplifies the code)
- Some work on frame placement (e.g. in robot 1305, Phantasmagoria)

svn-id: r55830
2011-02-08 19:50:45 +00:00
David Turner
656afd6daa MOHAWK: Add detection entry for "Dr Seuss' ABC" Macintosh version.
svn-id: r55829
2011-02-08 17:32:40 +00:00
Matthew Hoops
85f8dc5dee SCI: Add detection for Freddy Pharkas Mac
svn-id: r55828
2011-02-08 15:03:23 +00:00
Walter van Niftrik
8f3324f6ba SCI: Do not flip clearKey for Mac SCI1.1+ views.
svn-id: r55825
2011-02-08 14:26:39 +00:00
Matthew Hoops
92d09d236e SCI: Fix Mac robot palettes again
My fix from r55796/r55797 was erroneously removed in r55801.

svn-id: r55824
2011-02-08 05:39:50 +00:00
Matthew Hoops
8b19704771 SCI: Fix Mac SCI1.1+ view white/black/transparency
Since Mac OS required black to be at 0xff and white to be at 0x00, the original Sierra programs had to hack around that in various sections of the code to keep things in line with the PC versions. We're changing the view pixels instead so we only have to change in one location.

svn-id: r55823
2011-02-08 05:01:42 +00:00
Matthew Hoops
464f49d705 MOHAWK: Fix poetry mode for v2 games
svn-id: r55822
2011-02-08 04:24:25 +00:00
Matthew Hoops
3c53b1c020 MOHAWK: Add detection for the v2 lbsampler
svn-id: r55821
2011-02-08 04:23:29 +00:00
Nicola Mettifogo
1a525d1bb7 PARALLACTION: Avoid hiding overloaded virtual methods.
svn-id: r55820
2011-02-08 01:44:03 +00:00
Max Horn
452048b271 QUEEN: Avoid hiding an overloaded virtual method
svn-id: r55819
2011-02-07 23:18:47 +00:00
Max Horn
2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00
Max Horn
377b4c67d9 GUI: Change SaveLoadChooser to not 'public subclass' GUI::Dialog
svn-id: r55817
2011-02-07 22:59:00 +00:00
Max Horn
7bac92388f MOHAWK: Fix MohawkEngine_Myst::runLoadDialog
This incorrectly invoked (indirectly) the runModal() method of a
SaveLoadChooser, but for that one should use runModalWithPluginAndTarget
instead.

svn-id: r55816
2011-02-07 22:58:42 +00:00
Max Horn
41121be4d6 GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can
cause weird bugs (see also the next commit).

svn-id: r55815
2011-02-07 22:58:22 +00:00
Max Horn
85aabef6fe VIDEO: Replace Video::VideoTimestamp with Audio::Timestamp
svn-id: r55814
2011-02-07 22:57:35 +00:00
Filippos Karapetis
04748b1744 SCI: Fixed compilation
svn-id: r55813
2011-02-07 18:32:42 +00:00
Max Horn
4a16e0911f typo
svn-id: r55812
2011-02-07 18:20:17 +00:00
Max Horn
12f919a8e8 VIDEO: Try to clarify VideoDecoder docs a bit
Also re-arranged the methods a bit, into what I hope is a slightly
more logical ordering.

svn-id: r55811
2011-02-07 18:16:45 +00:00
Max Horn
357c225f64 VIDEO: Rename VideoDecoder::load() to loadStream()
svn-id: r55810
2011-02-07 17:54:16 +00:00
Max Horn
2c00aed172 SCUMM: Avoid hiding overloaded virtual method
svn-id: r55809
2011-02-07 17:53:34 +00:00
Max Horn
57c932abdd BACKENDS: Reduce header interdependencies
svn-id: r55808
2011-02-07 17:53:15 +00:00
Max Horn
da01896ee0 BACKENDs: Fix const correctness in "null" graphics manager
svn-id: r55807
2011-02-07 17:52:58 +00:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Max Horn
8981fa3f16 VIDEO: Inline SMK palette
svn-id: r55805
2011-02-07 17:47:20 +00:00
Alyssa Milburn
653196640a HUGO: Spelling fix.
svn-id: r55804
2011-02-07 16:39:10 +00:00
Filippos Karapetis
a0c0331bcd SCI: Unified the SEQ and robot palette code, and fixed the include safeguard of the SEQ decoder
svn-id: r55803
2011-02-07 13:49:03 +00:00
Alyssa Milburn
dda8266ec8 VIDEO: Fix a leak in the Smacker decoder.
If audio was not yet started when a video was closed, the audio
stream would be leaked.

svn-id: r55802
2011-02-07 13:36:59 +00:00
Filippos Karapetis
6f9ac84f77 SCI: Converted the robot decoder into a regular video decoder, and decoupled it from the
SciEngine class

- Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only
used for syncing with the game scripts
- Hooked video playing into the "play_video" console command

svn-id: r55801
2011-02-07 12:24:09 +00:00
Filippos Karapetis
d7fb5239e7 SCI: v4 robots are only used in the PQ:SWAT demo, the full version uses v5. Some cleanup
svn-id: r55800
2011-02-07 09:03:58 +00:00
Matthew Hoops
cd599216a5 SCI: Add support for v4 robots
svn-id: r55799
2011-02-07 05:53:30 +00:00
David Turner
5167cd390c TOON: Added workaround for obvious glitch in first intro video.
This glitch occured in the original interpreter and is probably due an encoding error of 209_1M.SMK.

svn-id: r55798
2011-02-07 02:35:17 +00:00
Matthew Hoops
cf918d72e5 SCI: Add support for Mac robot files
svn-id: r55797
2011-02-07 01:56:30 +00:00
Matthew Hoops
aa64cf1d62 SCI: Fix SCI1.1 Mac picture palettes further
The palette color start is actually a byte, not a uint16.

svn-id: r55796
2011-02-07 01:51:09 +00:00
Bastien Bouclet
e7a57de38b GRAPHICS: Improved JPEG decoder performance
Replaced the 2D IDCT by two 1D IDCT (rows, then columns).
JPEG images now decode about twice as fast as they used to.

svn-id: r55794
2011-02-06 13:43:40 +00:00
Filippos Karapetis
9149100629 SCI: Several changes related to robot files
- Added WIP robot sound support (which has pops between each frame for some reason)
- Now handling a lot of previously ignored fields
- Now handling the chunk before the palette chunk properly. Fixes some v6 videos
- Added known robot related TODOs

svn-id: r55793
2011-02-06 11:51:21 +00:00
Nicola Mettifogo
ec03425c0f PARALLACTION: update MIDI driver commands description for BRA.
svn-id: r55792
2011-02-06 10:17:54 +00:00