aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
AgeCommit message (Collapse)Author
2019-09-01TTS: Remove "static" from initTextToSpeech()Jaromir Wysoglad
2019-09-01TTS: Implement tts state switching when needed.Jaromir Wysoglad
The state has to be pushed and poped when there is a transition between game and gui code.
2019-03-30ENGINES: Use new logo for splash screenThierry Crozat
2018-12-19ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455)Cameron Cawley
2018-12-17WIN32: Move all ARRAYSIZE undefs to util.hSupSuper
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-10-22ENGINE: Allow stretch mode on a per-game basisTorbjörn Andersson
It was already possible to override the stretch mode per game in the options dialog, but this was ignored when starting the game from the launcher due to this bug.
2018-07-08GUI: Add Stretch Mode selection in Options dialogThierry Crozat
2018-06-23ENGINE: Improvements to splashscreen displayingEugene Sandulenko
2017-10-07BACKENDS: Fix window sizing of games that switch between multiple resolutionsColin Snover
2017-10-07ENGINES: Remove Graphics::PixelFormat alias from engine.cppColin Snover
Almost the entire file does not use the aliased PixelFormat except for a single function, so just make that function work like everything else already in the TU.
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-10Revert "COMMON: Change way the Singleton instances are instantiated"Eugene Sandulenko
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken.
2017-07-10COMMON: Change way the Singleton instances are instantiatedThierry Crozat
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
2016-11-29ALL: game state => saved gameBen Castricum
2016-10-13GUI: Add checkbox and config option to enable/disable graphics filteringThierry Crozat
2016-09-18ALL: Homogeneize use of 'saved game' in messagesThierry Crozat
2016-06-17ENGINES: Make splash more robust for non-standard screen sizesEugene Sandulenko
2016-02-18METAENGINE: Hint the compiler that we intentionally ignore pollEvents() ↵Eugene Sandulenko
return value
2016-01-02JANITORIAL: Remove #includes of list_intern.hOri Avtalion
2015-12-28ENGINES: Free memory used by splash screen when done with itTorbjörn Andersson
2015-12-24ENGINES: Print version informationEugene Sandulenko
2015-12-22ENGINES: Replaced logo background with orangeEugene Sandulenko
2015-11-11GUI: Do not show splash when ran from launcherEugene Sandulenko
2015-11-09ENGINES: Fix typoEugene Sandulenko
2015-11-07ENGINES: Add ScummVM splashEugene Sandulenko
2014-12-30SCUMM: Add a "chained games manager"Torbjörn Andersson
This replaces the somewhat ugly use of the config manager to store the chained games.
2014-02-18ENGINES: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-22ENGINES: Introduce method Engine::initializePath which sets up SearchMan.Johannes Schickel
This replaces the hardcoded addition of the game path in runGame in base/main.cpp by an engine configurable one.
2013-10-19OPENGL: Add new generic OpenGL (ES) backend.Johannes Schickel
This backend is based on ideas of the old OpenGL backend, of the Android GL backend and of the iPhone GL backend.
2013-01-08ENGINES: Honor the default to 1x flag for OpenGL modesMatthew Hoops
2012-02-21ENGINES: Add error handling for GMM Gamestate Load/Save Usage.D G Turner
As indicated by wjp, the Global Main Menu (GMM) did not check or report on the returned error state from saveGameState() and loadGameState() usage. This corrects this and adds a MessageDialog report of any failure.
2011-12-30KEYMAPPER: Make engine keymap init and cleanup more genericTarek Soliman
2011-11-13ENGINES: Handle speech_mute in syncSoundSettings.Johannes Schickel
This assures we always mute all speech sounds, when the user selects subtitles only mode. Hopefully no engine abuses the speech sound type for other sounds, since that would make them gone now too. Then again I would consider this an utter abuse of the speech sound type...
2011-08-06ENGINES: Use the new taskbar error notification methods in the engines ↵Littleboy
defaultErrorHandler()
2011-08-06TASKBAR: Set taskbar to error on engine error()Eugene Sandulenko
2011-07-02GUI: Zero is a valid save slot number.Bastien Bouclet
Fixes loading from slot 0 using the GMM.
2011-06-25GUI: fix bug #2822778athrxx
(Savegames now get loaded after GMM dialogue execution. This avoids mouse cursor glitches (e.g. mouse cursors which get changed during loadGameState() being popped when the dialogue closes).
2011-06-20I18N: Make the unsupported game warning translatableThierry Crozat
2011-06-16ENGINES: Warn user about games marked with ADGF_UNSTABLE flagsTarek Soliman
ADGF_UNSTABLE is always warned about. ADGF_TESTING is only warned about when running configure with --enable-relase. Both warnings are subject to the enable_wip_game_warning config option.
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
2011-06-02ENGINES: Get rid of some s(n)printf callsMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibilityMax Horn
2011-04-28JANITORIAL: Add in necessary include files to fix compilation in MSVCPaul Gilbert
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-16AUDIO: Renamed mute related functions in Mixer.Johannes Schickel
This renames setMuteForSoundType to muteSoundType and getMuteForSoundType to isSoundTypeMuted.
2011-04-13ENGINES: Make Engine::syncSoundSettings use the Mixer's mute flag directly.Johannes Schickel
This fixes an annoying behavior in the Sword2 option's dialog, which set all sound type volumes to 0, in case it was opened when the user used the global mute setting.
2011-03-19ENGINES: Mute kPlainSoundType in Engine::syncSoundSettings()dhewg
The "Mute all" option rarely muted all audio streams, since we have this abomination called kPlainSoundType (and there is no volume slider for this type). Both, not-really-muting, and adding yet another slider is a horrible user experience imho - especially on handheld ports. So mute this sound in the default implementation, and unmute it to the maximum volume. When an engines has a volume level settings for sounds it plays with this type, it should overwrite said member and set it there.
2011-03-18ENGINES: Change GUIErrorMessage to take param by ref, not by copyMax Horn