28556 Commits

Author SHA1 Message Date
Max Horn
900f328c81 Reduced header deps
svn-id: r35781
2009-01-07 23:36:41 +00:00
Max Horn
e955e0b4c4 Fixed warnings
svn-id: r35780
2009-01-07 23:30:31 +00:00
Jordi Vilalta Prat
1f63a1dfcd Fix an invalid access when the quit opcode occupies the last byte of the script, due to the quit status being updated by the event loop
svn-id: r35779
2009-01-07 23:05:28 +00:00
Jordi Vilalta Prat
f07d962734 Complete the ROQ video decoding (there are still a few minor glitches)
svn-id: r35778
2009-01-07 22:35:35 +00:00
Filippos Karapetis
9752501a07 videoIsLoaded() -> isVideoLoaded()
svn-id: r35777
2009-01-07 22:06:15 +00:00
Filippos Karapetis
2e1fa58cf8 Clear the screen to black before showing a video with playVideo() (it's meant to play full screen videos)
svn-id: r35776
2009-01-07 21:57:05 +00:00
Filippos Karapetis
272a9d06a8 Initialize DXA buffers to 0 when they're allocated
svn-id: r35775
2009-01-07 21:45:21 +00:00
Filippos Karapetis
88a9a5a6ca Move videoPalette inside setPalette(), as it's only used there
svn-id: r35774
2009-01-07 21:43:54 +00:00
Filippos Karapetis
9129f13b09 Updated the MSVC project files for the latest changes to the video playing code
svn-id: r35773
2009-01-07 21:25:50 +00:00
Filippos Karapetis
2772a7aaf1 Further merging of the SMK and DXA players (the FLIC player is not done yet):
- Added a new class, VideoPlayer(), from which both the SMK and the DXA player inherit. This class provides generic functions and public methods for the inherited video classes. Default implementations have been made for these public methods, and the virtual ones can be overriden in inherited classes
- There is now a default implementation of the function that sets the video palette
- A basic video player for inherited classes has been added with method playVideo(). This is able to play a fullscreen non-interactive video, which can be skipped with events set by the caller. Postprocessing methods, which draw upon each frame (e.g. subtitles) can be done by implementing performPostProcessing()
- The FTA2 movie player now uses the new playVideo() method
- The new video player code is compatible with the old one (i.e. no changes to the existing engine code are necessary), but it's now possible to reduce engine code for video playing considerably

svn-id: r35772
2009-01-07 21:19:00 +00:00
Eugene Sandulenko
1395d3ba63 Fix bug #2451381: "AGI: -x option (or loading from launcher) breaks some games"
svn-id: r35771
2009-01-07 20:18:38 +00:00
Kari Salminen
2f7ef3132d Add detection entry for King's Quest IV AGI (PC 5.25", 2.0) as provided by UsualNoise on ScummVM forums.
svn-id: r35770
2009-01-07 18:50:42 +00:00
Eugene Sandulenko
027a010275 Fix bug #2484801: "PQ1/DOS/Englisv2.0G - One version is detected as MAC Version"
svn-id: r35769
2009-01-07 18:13:56 +00:00
Nicola Mettifogo
5cf67c6ed7 Implemented Engine::getDebugger().
svn-id: r35768
2009-01-07 15:30:38 +00:00
Eugene Sandulenko
c31a0f7089 Fix bug #1942471: "AGI: Fan(Get Outta SQ): No Word wrapping"
svn-id: r35767
2009-01-07 13:27:58 +00:00
Nicola Mettifogo
f1ad8b6934 Extended PathBuffer to support BRA.
svn-id: r35766
2009-01-07 08:16:18 +00:00
Nicola Mettifogo
21fae9d029 * moved more mask management to BackgroundInfo
* simplified mask management for client code
* reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp
* preparation for the full implementation of BRA's PathBuffer

svn-id: r35765
2009-01-07 07:35:11 +00:00
Nicola Mettifogo
ef05ed7a98 Cleanup.
svn-id: r35764
2009-01-07 07:21:50 +00:00
Filippos Karapetis
cfec23cf0d Use skip instead of seek
svn-id: r35763
2009-01-06 23:33:01 +00:00
Filippos Karapetis
e6aaa5324a Sound in the old Mac Guild version of ITE is correct again
svn-id: r35762
2009-01-06 23:30:23 +00:00
Torbjörn Andersson
9a9c1a40d9 Added a few more shouldQuit() checks. It's now possible to quit while, for
instance, Leisure Suit Larry is waiting for you to enter your age.

svn-id: r35761
2009-01-06 23:29:58 +00:00
Filippos Karapetis
4b24b4d06f Updated SWORD1 with the latest changes to video players
svn-id: r35760
2009-01-06 17:49:41 +00:00
Filippos Karapetis
9267961104 Updated SCUMM with the latest changes to video players
svn-id: r35759
2009-01-06 17:46:38 +00:00
Filippos Karapetis
e47379c966 Updated AGOS with the latest changes to video players
svn-id: r35758
2009-01-06 17:45:39 +00:00
Filippos Karapetis
a930f40272 An attempt to unify the different video players (FLIC player is not finished yet) - step 1
svn-id: r35757
2009-01-06 17:44:41 +00:00
Nicola Mettifogo
fa1d881ad4 Implemented pauseEngineIntern, and fixed music volume handling in SoundMan.
svn-id: r35756
2009-01-06 16:21:23 +00:00
Filippos Karapetis
c528f888d0 Specify that implementations of setPalette() should use an RGB palette
svn-id: r35755
2009-01-06 16:10:04 +00:00
Filippos Karapetis
c5c4ab97c9 Cleanup, and follow code formatting convention (indentation) for switch statements
svn-id: r35754
2009-01-06 15:47:58 +00:00
Filippos Karapetis
ef78bbdf0d The sound energy buffer is now cleared inside decompressSound()
svn-id: r35753
2009-01-06 13:09:16 +00:00
Filippos Karapetis
de7721c638 Sound energy values are now stored in a list, to account for the fact that the original decompressed sounds on the fly, but we're decompressing them when the sound is being loaded
svn-id: r35752
2009-01-06 12:33:59 +00:00
Paul Gilbert
e2463f77cd Changed sfGetSoundEnergy to use the correct soundEnergy value from decompressing sounds for proper lip-sync
svn-id: r35751
2009-01-06 10:40:38 +00:00
Filippos Karapetis
eeaaabc7d4 The Mac version and Mac demo of ITE no longer crash on exit
svn-id: r35750
2009-01-06 10:34:51 +00:00
Filippos Karapetis
e2e536ae18 Fixed regression: the ITE Mac version works correctly again
svn-id: r35749
2009-01-06 10:33:40 +00:00
Nicola Mettifogo
c6935f2f69 Fixed broken condition check for displaying dialogue balloons.
svn-id: r35748
2009-01-06 06:13:45 +00:00
Filippos Karapetis
ad3ee36805 Got rid of updateAnim2()
svn-id: r35747
2009-01-05 20:17:33 +00:00
Max Horn
32c655898a Added Haiku support to configure (due to Begasus)
svn-id: r35746
2009-01-05 20:12:28 +00:00
Max Horn
d104e6fe33 Workaround issue in Graphics::Surface code on Haiku
svn-id: r35745
2009-01-05 20:12:25 +00:00
Max Horn
ba876efa15 Updated config.guess and config.sub from http://git.savannah.gnu.org
svn-id: r35744
2009-01-05 20:08:34 +00:00
Max Horn
e668574d88 Tweak gui/ThemeData.* to not produce errors on certain system like Haiku (at least I hope this will work :)
svn-id: r35743
2009-01-05 19:54:10 +00:00
Filippos Karapetis
70ab22e9f2 Added a copyFrameToBuffer() method to the FLIC player too, like in the other players
svn-id: r35742
2009-01-05 17:05:50 +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
Filippos Karapetis
dc661e62a9 Removed unused reference to OSystem
svn-id: r35740
2009-01-05 15:05:12 +00:00
Nicola Mettifogo
2d74085545 Deleted unused declarations, sorted others, and removed some dead code.
svn-id: r35739
2009-01-05 14:07:26 +00:00
Travis Howell
1409526f6b Remove unused code, since room flags are always zero in Elvira 1.
svn-id: r35738
2009-01-05 09:49:57 +00:00
Travis Howell
85c9decb8d Quit immediately in Elvira 1, and don't let opcodes continue.
svn-id: r35737
2009-01-05 09:47:59 +00:00
Travis Howell
a8785eb92e Add support for RIFF sound format in createSound().
svn-id: r35736
2009-01-05 06:45:42 +00:00
Matthew Hoops
0b50c114d8 fix quitting in Mickey's Space Adventure as well as other minor cleanup
svn-id: r35735
2009-01-05 01:40:08 +00:00
Matthew Hoops
6e434271fb fix infinite loop when trying to quit in Troll's Tale
svn-id: r35734
2009-01-05 00:51:54 +00:00
Kostas Nakos
5ac9de0938 had forgotten the case of a rect being partially off the top of the screen (and not the bottom at the same time). fixes bug #2470228
svn-id: r35733
2009-01-04 20:37:24 +00:00
Matthew Hoops
41b7f714e9 fix infinite loop when trying to quit in Winnie
svn-id: r35732
2009-01-04 19:52:59 +00:00