217 Commits

Author SHA1 Message Date
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Fabio Battaglia
cdc9f46bd9 sword1: removed custom checks for thumbnails, using graphics/thumbnail.h functions instead
svn-id: r39130
2009-03-04 12:44:55 +00:00
Fabio Battaglia
f6028bc822 sword1: disable saving/loading through GMM when in game menu
svn-id: r39122
2009-03-04 10:39:12 +00:00
Fabio Battaglia
928a276c04 sword1: enable thumbnails when saving through GMM
svn-id: r39121
2009-03-04 10:33:29 +00:00
Fabio Battaglia
1956c1c68f Added missing checkCd() execution when loading through GMM
svn-id: r39096
2009-03-03 21:33:45 +00:00
Fabio Battaglia
7fc8bb81a7 Enabled and hopefully fixed GMM saving/loading for sword1
svn-id: r39095
2009-03-03 20:05:00 +00:00
Fabio Battaglia
5f13e5ebcd Cleaned up some comments
svn-id: r39090
2009-03-03 16:27:56 +00:00
Fabio Battaglia
0077889eeb Add playtime feature support to sword1
svn-id: r39083
2009-03-02 22:37:09 +00:00
Fabio Battaglia
2913a561cc Avoid using unnecessary buffers in psxShrinkedBackgroundToIndexed
svn-id: r39074
2009-03-02 13:46:50 +00:00
Fabio Battaglia
ed65593bb3 Avoid using unnecessary buffers in psxBackgroundToIndexed
svn-id: r39072
2009-03-02 11:30:23 +00:00
Fabio Battaglia
0233202150 Formatting changes in older PSX related functions
svn-id: r39071
2009-03-02 11:12:41 +00:00
Fabio Battaglia
08a2de9447 Changed the way Broken Sword PSX parallax are handled to improve speed
svn-id: r39070
2009-03-02 10:59:14 +00:00
Torbjörn Andersson
3429c17ac4 Removed some (the last?) remains of the BS1 MPEG cutscene player.
svn-id: r39032
2009-03-01 12:00:44 +00:00
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +00:00
Paul Gilbert
d3b2a4ede9 Fixed MSVC compiler warning
svn-id: r38960
2009-02-28 11:09:38 +00:00
Sven Hesse
78f28d3f30 Shutting up a compiler warning
svn-id: r38958
2009-02-28 10:58:46 +00:00
Eugene Sandulenko
440fcb1d5a Patch #2638336: Broken Sword PSX Support Part 2 of 2
svn-id: r38957
2009-02-28 10:53:45 +00:00
Eugene Sandulenko
5aa50ec889 Patch #2638336: Broken Sword PSX Support
svn-id: r38956
2009-02-28 10:46:33 +00:00
Torbjörn Andersson
53572f6c07 Committed patch #2606844 ("Fix crash when using BS1 without portuguese data").
Admittedly, I'm not really that familiar with BS1 resource management, but as
far as I can tell the patch just adds sanity checking, so it shouldn't hurt.

svn-id: r38925
2009-02-27 05:52:22 +00:00
Torbjörn Andersson
349fce7454 Committed a slightly updated patch #2602772 ("Patches for BS1 bug ID #1977094")
to replace some missing subtitles with hard-coded ones.

svn-id: r38923
2009-02-27 05:20:37 +00:00
Torbjörn Andersson
ab11da0602 Allocate the background sound handle dynamically. Otherwise, it seems to me as if
it should be invalid as soon as the makeMoviePlayer() function ends. While that
never caused any noticeable problems for me in Broken Sword 1, it broke things
in amusing ways when I tried to rewrite the Broken Sword 2 cutscene player along
the same lines.

svn-id: r38684
2009-02-21 11:27:04 +00:00
Torbjörn Andersson
c3068549da Cleanup.
svn-id: r38680
2009-02-21 11:22:56 +00:00
Torbjörn Andersson
9b2029a7a8 Minor consistency change.
svn-id: r38650
2009-02-20 23:47:11 +00:00
Torbjörn Andersson
dbb8ad9da1 If the DXA cutscene audio fails to play for whatever reason (shouldn't happen in
BS1 since all the cutscenes have an audio track), assume audio and video are in
sync.

svn-id: r38384
2009-02-16 21:57:22 +00:00
Torbjörn Andersson
a57e773a0e Removed unnecessary tests. (It's ok to free a NULL pointer.)
svn-id: r38344
2009-02-16 06:11:37 +00:00
Torbjörn Andersson
de0c772a01 Blank the palette correctly. (Fixes Valgrind warning.)
svn-id: r38343
2009-02-16 06:02:21 +00:00
Willem Jan Palenstijn
d2e8256439 defer BS1 palette update from newScreen to updateScreen, based on patch by eriktorbjorn for bug #2599963. Maybe suitable for branch-0-13-0 after more testing.
svn-id: r38320
2009-02-15 22:33:18 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Filippos Karapetis
2ef26fcd4a Oops, fixed Smacker video playing in BS1
svn-id: r38237
2009-02-15 13:43:44 +00:00
Filippos Karapetis
781d7da6b1 Applied my patch for the BS1/2 video player
- Support for the MPEG2 videos in BS1/2 has been dropped. The MPEG2 videos were lossy, and support for them complicated the code a lot.
- Support for the non-existing enhanced MPEG cutscene packs for BS1 has been dropped. As a consequence, the credits player and the splitted audio stream players used for these packs has been removed
- The original Smacker videos for both games are now supported, using our Smacker player (which is based off publically available specs and FFMPEG)
- The animations now use the common video player code. Both the Smacker videos and our DXA video packs are supported

svn-id: r38236
2009-02-15 13:29:48 +00:00
Willem Jan Palenstijn
af900a2e14 clear full screen before playing movie in BS1 (fixes #2599573)
svn-id: r36334
2009-02-14 18:34:10 +00:00
Torbjörn Andersson
6d70045228 Fixed bug #2599531 ("SWORD1: truck.dxa plays striped"). The last parameter to
copyFrameToBuffer() is the pitch of the destination buffer, not the frame.

svn-id: r36330
2009-02-14 15:52:31 +00:00
Max Horn
716f88f571 Avoid using g_engine if possible
svn-id: r36149
2009-01-30 16:04:39 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
abc06ca18e Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. into methods, and added an operator==
svn-id: r35993
2009-01-22 04:35:10 +00:00
Torbjörn Andersson
a2c671da97 Clear the list of savegames before re-populating it. Otherwise, even save names
that have been entered before cancelling the dialog will remain in it.

svn-id: r35987
2009-01-21 20:00:26 +00:00
Torbjörn Andersson
248605800e Don't allow the nul character in savegame names, since that terminates the
string. This happens, for instance, when pressing the Shift key. (I usually start
my savegame names with an upper-case letter, and I couldn't understand why it
didn't seem to register any of my keypresses.)

svn-id: r35986
2009-01-21 19:46:51 +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
Johannes Schickel
690b88f982 Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
svn-id: r35668
2009-01-02 03:21:40 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Eugene Sandulenko
829cbc4110 Move all video players to separate directory
svn-id: r35470
2008-12-21 21:08:17 +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
Johannes Schickel
3bdef4f9a2 Fixed compilation.
svn-id: r35200
2008-12-01 21:35:17 +00:00
Max Horn
4b7d455580 Got rid of Stream::readLine_OLD calls in two places (mostly untested, please check/test for regressions)
svn-id: r35198
2008-12-01 21:13:02 +00:00
Torbjörn Andersson
72a847797d Committed by patch #2219361 ("BS1: Simplified subtitles"). It uses the
lockScreen() / unlockScreen() backend API, instead of copyRectToScreen().
Before, it had to copy a piece of the engine's screen to draw on to simulate
transparency, which was awkward.

However, this means we're now forcing full-screen updates on each frame. There
may be performance regressions, particularly if the frames are much smaller
than the screen. Hopefully, it's the decoding that's the bottleneck, but if
this causes problems on low-end devices... well, Fingolfin had some ideas about
that when he first proposed the lockScreen() / unlockScreen() API.

svn-id: r35115
2008-11-18 17:48:19 +00:00
Johannes Schickel
d99ab163cc Fixed meta engine related save functions (some where relying on "target.???" instead of "sword1.???").
svn-id: r35113
2008-11-18 17:03:55 +00:00
Filippos Karapetis
2463c550ac Reverted to old behavior: save games for sword1 can be shared again across all versions (since they're exactly the same) - they're now named sword1.* and no longer named after the game ID
svn-id: r35112
2008-11-18 16:57:57 +00:00
Filippos Karapetis
7650b61d27 Applied a slightly modified version of my patch #2307224 - "BS1: Save/load overhaul"
svn-id: r35111
2008-11-18 16:31:55 +00:00
Johannes Schickel
2ef8a32a01 Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
2008-11-16 20:20:31 +00:00