aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/sword1.cpp
AgeCommit message (Collapse)Author
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2017-07-08SWORD1: Use booleans for _systemVars speech and subtitles flagsThierry Crozat
The were defined as uint8 and the code was inconsistent in the way they were handled, for example setting them to 1 in some places and to true in others. It was working but relying on implicit conversions both ways between 1 and true.
2016-04-14JANITORIAL: Reduce GUI header dependenciesOri Avtalion
2014-09-13SWORD1: Add missing update of screen parameters when loading game from GMMThierry Crozat
This fixes bug #6728 (crash when loading game from GMM in bull's head scene). I am not sure the call to Logic::Engine is necessary, but that way the same sequence of calls is done when restoring a game from the original GUI and when restoring from GMM.
2014-02-18SWORD1: Make GPL headers consistent in themselves.Johannes Schickel
2013-10-30SWORD1: Fix unitialized variables. CID 1002989Eugene Sandulenko
2013-05-14SWORD1: Removed unused class variableThierry Crozat
2012-10-06SWORD1: Enable American ("Circle of Blood") panelTorbjörn Andersson
If the language is explicitly set to American English, use the American version of the panel for the main control panel. In all other aspects, American English will behave as British English, so it shouldn't break anything.
2012-02-23SWORD1: Add support for PSX stream playbackMatthew Hoops
2011-09-08SWORD1: Made some static data const.Johannes Schickel
2011-09-07SWORD1: Made code conform a bit better to our formatting guidelines.Johannes Schickel
Most is automatically converted via astyle + some manual fixes, hopefully I did not miss anything astyle messed up...
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-19SWORD1: Cleanup syncSoundSettings()dhewg
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-08SWORD1: Added basic debugging console to engineDavid Turner
SWORD1 does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands. svn-id: r54140
2010-10-29SWORD1: Switch to the new play time counting of the Engine class.Johannes Schickel
svn-id: r53924
2010-09-20SWORD1: Fix bug #3032772: SWORD1: Mute setting does not workEugene Sandulenko
svn-id: r52827
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04Get rid of Engine::_gameDataDir.Max Horn
This greatly reduces indirect dependencies on several header files from common. svn-id: r48933
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-09-23Got rid of Common::File::addDefaultDirectory, instead implemented the ↵Johannes Schickel
solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266
2009-09-13Clarify things a bit by using the constant name rather than zero.Torbjörn Andersson
svn-id: r44072
2009-07-12Patch #1936137: "Speech for Mac BS1 english"Eugene Sandulenko
svn-id: r42423
2009-06-08sword1: add Broken Sword PSX demo supportFabio Battaglia
svn-id: r41369
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-03Added missing checkCd() execution when loading through GMMFabio Battaglia
svn-id: r39096
2009-03-03Enabled and hopefully fixed GMM saving/loading for sword1Fabio Battaglia
svn-id: r39095
2009-03-02Add playtime feature support to sword1Fabio Battaglia
svn-id: r39083
2009-02-28Patch #2638336: Broken Sword PSX SupportEugene Sandulenko
svn-id: r38956
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-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
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-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-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-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-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700