43868 Commits

Author SHA1 Message Date
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
Matthew Hoops
46404940b5 SCI: Improve Mac SCI1.1+ cursor support
The scripts can pass a list of view id's from the DOS version that get remapped to CURS/crsr id's. GK1 cursors now work and Phantasmagoria uses the correct ones.

svn-id: r55791
2011-02-06 00:05:27 +00:00
David Turner
36b6d961c2 TOON: Ensure minimum delay in worst case of render() loop to allow thread scheduling.
This should ensure that CPU usage is not pegged at 100%.

svn-id: r55790
2011-02-05 21:58:44 +00:00
Arnaud Boutonné
e990453a4d HUGO: Fix leak (thanks digitall)
svn-id: r55789
2011-02-05 14:45:36 +00:00
Arnaud Boutonné
bc77c8534c HUGO: Fix 2 uninitialized variables
svn-id: r55788
2011-02-05 14:07:30 +00:00
Sylvain Dupont
69a88e315c TOON: Fix formatting issues
svn-id: r55787
2011-02-05 13:12:42 +00:00
Sylvain Dupont
58884b1244 TOON: Add some sleep if the game refreshes too fast
Prevents the game from using 100% CPU? 

svn-id: r55786
2011-02-05 12:11:57 +00:00
Max Horn
47dbd520bb WIN32: Try to fix compiler error for mingw-w64 buildbot build
svn-id: r55785
2011-02-05 10:34:37 +00:00
Matthew Hoops
c1a9857837 SCI: Fix SCI32 Mac picture palettes
The palette offset should be 32-bit, not 16. The GK1 Mac intro now plays properly.

svn-id: r55784
2011-02-05 08:52:52 +00:00
Matthew Hoops
0bf787736c SCI: Fix Mac SCI32 subdirectories
svn-id: r55783
2011-02-05 08:27:33 +00:00
Matthew Hoops
0a7887ac8a SCI: Oops, fix compilation
svn-id: r55782
2011-02-05 08:20:06 +00:00
Matthew Hoops
a08fa00d49 SCI: Fix detectHires() for Mac SCI32 games
svn-id: r55781
2011-02-05 08:18:03 +00:00
Matthew Hoops
53d862af0b SCI: Add support for BE selector name tables
svn-id: r55780
2011-02-05 08:16:29 +00:00
Matthew Hoops
cb6d30a915 SCI: Add detection for Phantasmagoria Mac
svn-id: r55779
2011-02-05 08:14:05 +00:00
Matthew Hoops
ad9486e1a8 SCI: Throw a warning when trying to play a Mac robot file (big endian)
svn-id: r55778
2011-02-05 07:49:21 +00:00
Sylvain Dupont
4aaa045017 TOON: Fixed two dialog color mistakes
svn-id: r55777
2011-02-04 23:38:40 +00:00
Matthew Hoops
4a4a6cd585 SCI: Properly initialize a Robot variable so we don't segfault on quitting
svn-id: r55776
2011-02-04 23:03:05 +00:00
Arnaud Boutonné
118ee375db HUGO: Increase the height of window view
This fixes a bug related to hotspots in H3 Win reported by D. Gray (in witch hut)

svn-id: r55775
2011-02-04 21:51:10 +00:00
Arnaud Boutonné
6a93178341 HUGO: Fix menu icon order (bug reported by D. Gray)
svn-id: r55774
2011-02-04 19:24:34 +00:00
Sylvain Dupont
ec36d39f25 TOON: Fix Amiga compile
svn-id: r55773
2011-02-04 19:02:40 +00:00
Filippos Karapetis
512bcf8b90 SCI: Rewrote the robot playing code in a way similar to other video decoders
- The code now streams videos instead of loading them in memory, without utilizing seeking
- Removed the sound-related robot code from the graphics classes
- Started implementing the code for the sound in robot videos (still not finished)

svn-id: r55772
2011-02-04 17:51:59 +00:00
Sven Hesse
94b6d23d44 GOB: Silence a compiler warning
svn-id: r55771
2011-02-04 16:16:07 +00:00
Sven Hesse
e3ceff83f4 GOB: Add the "envir" directory to the search path for Adibou
svn-id: r55770
2011-02-04 15:55:54 +00:00
Sven Hesse
b6d2e521c5 GOB: Add oPlaytoons_loadMultObject
svn-id: r55769
2011-02-04 15:55:20 +00:00