aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
AgeCommit message (Collapse)Author
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
2008-10-26Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, ↵Filippos Karapetis
as discussed in patch #2122869 svn-id: r34854
2008-10-26Added semi-ugly workaround for bug #2182450 ("BS1 Demo: Crash due to missingTorbjörn Andersson
speech segment"). svn-id: r34853
2008-10-26Another attempt at making the Broken Sword 1 savegame list in the launcher matchTorbjörn Andersson
the in-game one. Only show savegames which actually have a corresponding save file. (That's a trick the in-game dialog doesn't know yet.) The match isn't perfect, though: The launcher lists the first save slot as 0, while the in-game dialog lists it as 1. But changing the launcher one will make it set the wrong "save_slot" value. svn-id: r34851
2008-10-23Removed obsolete FIXME.Torbjörn Andersson
svn-id: r34846
2008-10-22Shut up MSVC and add FIXMEs to Sword's listSaves and ThemeEngine's loadThemeXML.Kari Salminen
svn-id: r34839
2008-10-20Formatting.Johannes Schickel
svn-id: r34830
2008-10-20Fix - at least partially - the list of savegames for the launcher's load dialog.Torbjörn Andersson
But I suspect there are still bugs lurking in that code. I really dislike how Broken Sword 1 handles savegames... svn-id: r34829
2008-10-20I believe this fixes bug #2162345 ("BS1: Can't overwrite savegame"), but I'dTorbjörn Andersson
really appreciate it if someone would test it further, in case I missed something. (Broken Sword 1 stores the names of the savegames in a separate file, and that has to be in sync with the individual savegame files. In my experience, that sort of thing can really attract bugs...) svn-id: r34828
2008-10-13Fixed crash after using cutscene subtitles. (Now I *know* no one has used thatTorbjörn Andersson
feature before. :-) svn-id: r34796
2008-10-12Increased maximum subtitle line length for SimSaw. That code really should beTorbjörn Andersson
made more robust some day, but until now I don't think anyone actually used it. svn-id: r34787