aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
AgeCommit message (Collapse)Author
2009-03-02Avoid using unnecessary buffers in psxBackgroundToIndexedFabio Battaglia
svn-id: r39072
2009-03-02Formatting changes in older PSX related functionsFabio Battaglia
svn-id: r39071
2009-03-02Changed the way Broken Sword PSX parallax are handled to improve speedFabio Battaglia
svn-id: r39070
2009-03-01Removed some (the last?) remains of the BS1 MPEG cutscene player.Torbjörn Andersson
svn-id: r39032
2009-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
2009-02-28Fixed MSVC compiler warningPaul Gilbert
svn-id: r38960
2009-02-28Shutting up a compiler warningSven Hesse
svn-id: r38958
2009-02-28Patch #2638336: Broken Sword PSX Support Part 2 of 2Eugene Sandulenko
svn-id: r38957
2009-02-28Patch #2638336: Broken Sword PSX SupportEugene Sandulenko
svn-id: r38956
2009-02-27Committed patch #2606844 ("Fix crash when using BS1 without portuguese data").Torbjörn Andersson
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-27Committed a slightly updated patch #2602772 ("Patches for BS1 bug ID #1977094")Torbjörn Andersson
to replace some missing subtitles with hard-coded ones. svn-id: r38923
2009-02-21Allocate the background sound handle dynamically. Otherwise, it seems to me ↵Torbjörn Andersson
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-21Cleanup.Torbjörn Andersson
svn-id: r38680
2009-02-20Minor consistency change.Torbjörn Andersson
svn-id: r38650
2009-02-16If the DXA cutscene audio fails to play for whatever reason (shouldn't happen inTorbjörn Andersson
BS1 since all the cutscenes have an audio track), assume audio and video are in sync. svn-id: r38384
2009-02-16Removed unnecessary tests. (It's ok to free a NULL pointer.)Torbjörn Andersson
svn-id: r38344
2009-02-16Blank the palette correctly. (Fixes Valgrind warning.)Torbjörn Andersson
svn-id: r38343
2009-02-15defer BS1 palette update from newScreen to updateScreen, based on patch by ↵Willem Jan Palenstijn
eriktorbjorn for bug #2599963. Maybe suitable for branch-0-13-0 after more testing. svn-id: r38320
2009-02-15- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.Johannes Schickel
- 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-15Oops, fixed Smacker video playing in BS1Filippos Karapetis
svn-id: r38237
2009-02-15Applied my patch for the BS1/2 video playerFilippos Karapetis
- 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-14clear full screen before playing movie in BS1 (fixes #2599573)Willem Jan Palenstijn
svn-id: r36334
2009-02-14Fixed bug #2599531 ("SWORD1: truck.dxa plays striped"). The last parameter toTorbjörn Andersson
copyFrameToBuffer() is the pitch of the destination buffer, not the frame. svn-id: r36330
2009-01-30Avoid using g_engine if possibleMax Horn
svn-id: r36149
2009-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993
2009-01-21Clear the list of savegames before re-populating it. Otherwise, even save namesTorbjörn Andersson
that have been entered before cancelling the dialog will remain in it. svn-id: r35987
2009-01-21Don't allow the nul character in savegame names, since that terminates theTorbjörn Andersson
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-06Updated SWORD1 with the latest changes to video playersFilippos Karapetis
svn-id: r35760
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-25Pushing down some header deps (on common/system.h, mostly)Max Horn
svn-id: r35542
2008-12-21Move all video players to separate directoryEugene Sandulenko
svn-id: r35470
2008-12-14Enable Smacker support, and switch later HE games to Smacker support (since ↵Travis Howell
they aren't supported yet). svn-id: r35368
2008-12-01Fixed compilation.Johannes Schickel
svn-id: r35200
2008-12-01Got rid of Stream::readLine_OLD calls in two places (mostly untested, please ↵Max Horn
check/test for regressions) svn-id: r35198
2008-11-18Committed by patch #2219361 ("BS1: Simplified subtitles"). It uses theTorbjörn Andersson
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-18Fixed meta engine related save functions (some where relying on "target.???" ↵Johannes Schickel
instead of "sword1.???"). svn-id: r35113
2008-11-18Reverted to old behavior: save games for sword1 can be shared again across ↵Filippos Karapetis
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-18Applied a slightly modified version of my patch #2307224 - "BS1: Save/load ↵Filippos Karapetis
overhaul" svn-id: r35111
2008-11-16Fixed various g++ warnings ("format not a string literal and no format ↵Johannes Schickel
arguments"). svn-id: r35096
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-13Moved sword1 detection and meta engine specific code from sword1.cpp into ↵Filippos Karapetis
detection.cpp, like other engines svn-id: r35043
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-11-09Added a getMaximumSaveSlot() implementation for sword1 and sword2Filippos Karapetis
svn-id: r34969
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-11-05Turned enum PluginError into Common::Error, which in the future is to be ↵Max Horn
used in more places. Help with this is highly welcome svn-id: r34906
2008-11-05Got rid of the unused 'filename' attribute in SaveStateDescriptorMax Horn
svn-id: r34905
2008-11-04Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some ↵Max Horn
EngineFeature comments svn-id: r34896