Commit Graph
72 Commits
Author SHA1 Message Date
D G Turner 783e3fea62 AGOS: Fix engine crash when playing Feeble Files from cabinet datafiles.
Playing with cabinet datafiles, this failed to find the "Charisma.smk"
file in the cabinets when in the Recreation (TV) room on Cygnus Alpha
and this caused an engine abort after the GUI dialog warning of the
"missing" video file. This was due to animation.cpp code using
Common::file::exists() instead of going via the ArchiveMan.

However,a hasFile() method implementation was also required to implement
fallback to decompressed (movie) files if the file requested is not in
the cabinet or the cabinet has been externally decompressed to files.

Thanks to fuzzie for the hasFile() patch.

Also, removed noisy warning which this correction triggers repeatedly in
installshield_cab.cpp hasFile(). This looks like leftover from
debugging, so not critical.
2011-11-13 23:44:38 +00:00
Johannes Schickel 507b9a75e7 AGOS: Made some static data const. 2011-09-08 00:38:39 +02:00
Travis Howell 5346ac18b7 AGOS: Integrate InstallShield support. 2011-08-27 11:00:24 -04:00
Thierry Crozat 06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn 0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
dhewg bd191e1787 AGOS: Respect the screen pitch for movies
Fixes DXA and Smacker movies on Android
2011-02-26 11:58:41 +01:00
Johannes Schickel 2b62f6bec3 AGOS: Adapt to setPalette RGBA->RGB change.
I only (minimally) tested this change with Simon 1 + 2 DOS CD.
2011-02-15 23:22:30 +01:00
Max Horn 42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Matthew Hoops 375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Max Horn e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Willem Jan Palenstijn 8f1143bfdc COMMON: Remove Rational::operator int/double
This prevents accidental implicit rounding
and might also fix compilation on AmigaOS4 (bug #3060981).

svn-id: r52616
2010-09-07 09:02:46 +00:00
Matthew Hoops 11cbdd0318 Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
2010-05-18 14:17:24 +00:00
Matthew Hoops c7fa1074fb Change VideoDecoder::getCurFrame() to mean the last frame drawn instead of the next frame to draw. This is patch 1 from patch #2963496 (VideoDecoder Rewrite).
svn-id: r49063
2010-05-17 21:59:05 +00:00
Max Horn a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Max Horn 1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn 7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Johannes Schickel 84f3034406 - Move openStreamFile from AudioStream to SeekableAudioStream.
- Fix documentation of openStreamFile.

svn-id: r47080
2010-01-06 15:23:33 +00:00
Max Horn 6a2985ba08 Patch #2834677: Wave/ADPCM Endianness Fixes
svn-id: r45095
2009-10-14 22:37:05 +00:00
Travis Howell a73523533c Restore code to clear screen, before playing videos with smaller resolution in the Amiga version of The Feeble Files.
svn-id: r43402
2009-08-15 10:31:20 +00:00
Travis Howell f186d9c860 Fix building with specific games disabled in MSVC.
svn-id: r43294
2009-08-12 00:53:35 +00:00
Travis Howell 1c15bcf87d Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game engine, which require higher resolution.
svn-id: r43270
2009-08-11 14:42:44 +00:00
Travis Howell 4a1029dee4 Remove unused old code.
svn-id: r41395
2009-06-09 06:37:42 +00:00
Filippos Karapetis 6ec870303f - Reverted commit #40730, as it introduced rounding errors
- Properly fixed the FLIC player
- The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method

svn-id: r40736
2009-05-20 10:43:18 +00:00
Travis Howell 36ace75983 Improve looping of videos, in the demo version of The Feeble Files.
svn-id: r40716
2009-05-19 01:20:54 +00:00
Travis Howell bce47e7eb6 Add initial support for DOS non-interactive demos of The Feeble Files.
svn-id: r40619
2009-05-16 05:34:16 +00:00
Travis Howell 705eba635e Fix bug #2791699 - Feeble Files: Crash after OmniTV video.
svn-id: r40560
2009-05-14 13:22:42 +00:00
Travis Howell 7b11ef429e Minor cleanup.
svn-id: r40099
2009-04-24 10:11:58 +00:00
Travis Howell d22aeae5fc Fix pausing during video play back.
svn-id: r40098
2009-04-24 10:07:34 +00:00
Travis Howell d6247fa0e0 Fix crash that occurs when OmniTV video is played completely, in The Feeble Files.
svn-id: r40063
2009-04-22 10:19:10 +00:00
Max Horn e080a59337 Renamed SMKPlayer -> SmackerDecoder and DXAPlayer -> DXADecoder, as well as some other tweaks
svn-id: r39255
2009-03-09 03:45:23 +00:00
Max Horn 8e447d1ee9 Extended makeWAVStream by a 'disposeAfterUse' param; changed makeWAVStream to directly return the AudioStream created by makeADPCMStream
svn-id: r36085
2009-01-27 00:42:43 +00:00
Travis Howell 6a999bdc05 Fix bug #2522556 - FEEBLE: Cutscene not found, Crash.
svn-id: r35935
2009-01-20 05:43:57 +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 efcfada33e AGOS Smacker player: Wait for the *next* frame to be displayed, not the current one
svn-id: r35707
2009-01-03 16:24:27 +00:00
Sven Hesse c40b7b1840 Properly using SMKPlayer::getFrameWaitTime() in MoviePlayerSMK::processFrame()
svn-id: r35699
2009-01-03 13:32:14 +00:00
Sven Hesse 5de6898694 This should fix the SMK playing bug discussed in the forums
SMKPlayer::getFrameDelay() returns the time to wait _in 1/100 ms_.

svn-id: r35696
2009-01-03 12:32:19 +00:00
Torbjörn Andersson e9693874cd Added punctuation to the error dialog I added before.
svn-id: r35643
2008-12-31 21:14:09 +00:00
Torbjörn Andersson 29a4403a21 Display an error message if the cutscene cannot be found. (Afterwards, ScummVM
will trigger an assertion and die, so this is still far from ideal...)

svn-id: r35640
2008-12-31 16:06:55 +00:00
Filippos Karapetis 2a5c513647 Fixed typo
svn-id: r35611
2008-12-29 15:08:10 +00:00
Travis Howell 587e70809a Return exact frame rate in Smacker player, and minor cleanup.
svn-id: r35458
2008-12-21 05:55:37 +00:00
Travis Howell 76624fc69c Add initial Smacker support for The Feeble Files.
svn-id: r35457
2008-12-21 04:36:11 +00:00
Travis Howell 9c20a533bb Enable Smacker support, and switch later HE games to Smacker support (since they aren't supported yet).
svn-id: r35368
2008-12-14 23:41:48 +00:00
Max Horn 6a2f3dc0b9 Added new type Engine::Feature; pushed down some #include dependencies
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn 9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page 8d8c46e36f Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate
svn-id: r33848
2008-08-13 20:45:00 +00:00
Christopher Page ce3d1e1a7d Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33720
2008-08-09 19:03:29 +00:00