Commit Graph

43957 Commits

Author SHA1 Message Date
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
Sven Hesse
0efcd484ea GOB: Implement case -2 for oPlaytoons_getObjAnimSize
svn-id: r55768
2011-02-04 15:54:52 +00:00
Sven Hesse
6a99b6f340 GOB: Add Inter::readValue()
svn-id: r55767
2011-02-04 15:54:21 +00:00
Sven Hesse
209f5bd77e GOB: Move storeValue/storeString to class Inter
svn-id: r55766
2011-02-04 15:53:44 +00:00
Matthew Hoops
c18035c07a GROOVIE: Disable other T7G Mac entries as they should no longer be needed
svn-id: r55765
2011-02-04 15:42:58 +00:00
Matthew Hoops
2be57434a1 COMMON: Only take the md5 of the resource fork data section
Since various apps can modify the type/creator of the files, we can't rely on the header of the resource fork to take the md5. I've therefore also recalculated all of the detector entries (all 5 of them) that use the Mac resource fork code.

svn-id: r55764
2011-02-04 15:27:56 +00:00
Sven Hesse
80bfecb625 GOB: Fix a regression that broke Lost in Time
svn-id: r55760
2011-02-03 20:51:59 +00:00
Lars Skovlund
11e2f2226c SCI: Robot v6 support. I _think_ this is complete.
svn-id: r55759
2011-02-03 19:47:36 +00:00
Arnaud Boutonné
935b318798 HUGO: Suppress static variables (except one)
This also fixes the multiple-RTL related music bug reported by D. Gray

svn-id: r55758
2011-02-03 18:25:38 +00:00
Filippos Karapetis
38444a3712 SCI: updated comments concerning robot videos
svn-id: r55757
2011-02-03 18:24:55 +00:00
Filippos Karapetis
e1cea3b879 SCI: Robot related changes
- Reverted accidental changes in r55752, and moved all the deletion code in freeData()
again
- Now skipping v6 videos (in SCI3), instead of throwing an error

svn-id: r55756
2011-02-03 18:18:36 +00:00
Matthew Hoops
be1f62af23 SCI: Add a stub for kFont which calls kSetFontRes as a subop
svn-id: r55755
2011-02-03 18:07:47 +00:00