aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
AgeCommit message (Collapse)Author
2016-06-05BASE: Allow setting the debug flags from the configuration fileBastien Bouclet
Useful for devices where passing command line arguments is not possible.
2016-05-16Merge pull request #710 from vandalo/masterEugene Sandulenko
COMMON: Fix wrong warning message
2016-04-16COMMON: Fix wrong error messagevandalo
The error message was not correct. When you add a game data dir to launcher and after do this rename game data dir the error was wrong. It said that the "path wasn't a directory", the expected error message was "Path does not exists" because we had changed. How to solve this: We split in two the validation of the path, first we check if it's a existing path and then if the path is a directory. if (!dir.exists()) err = Common::kPathDoesNotExist; else if (!dir.isDirectory()) err = Common::kPathNotDirectory; Solve Bug: 6765 Wrong error code if directory missing
2016-03-30UPDATES: Plug updates dialog in.Eugene Sandulenko
Launched when ScummVM is run first time with updates feature.
2016-01-17BASE: Initialize default GUI option values before engine instantiation.Johannes Schickel
This fixes engines (like AGI) which query the configuration options inside their constructor.
2015-02-22BASE: Fix infinite loop upon trying to play a game and not finding the engineMatthew Hoops
A regression from f74ba29753de23bad9a07f531fc4c03ea3375594
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-12-30SCUMM: Enable Day of the Tentacle easter eggTorbjörn Andersson
Instead of returning to the launcher, a game may now specify a list of "chained" games and optional save slots. The first game is popped from the list and started. Quitting still quits the entire ScummVM. It seemed like the sensible thing to do.
2014-08-28GUI: change FullScreen into fullscreenBen Castricum
This makes it consistant with other references to fullscreen.
2014-06-05BASE: Allow 'all' to enable all debug channels via CLI too.Johannes Schickel
2014-02-18BASE: 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-19BASE: Add hack to switch graphics manager in runGame.Johannes Schickel
This is a (temporary) hack to assure that when the launcher is set up as an SurfaceSDL graphics mode and the game is using an OpenGL graphics mode everything will work as expected.
2013-07-06ALL: Don't use EventRecorder at all when not compiled inMatthew Hoops
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-09-17GRAPHICS: Rework YUV->RGB code a bitMatthew Hoops
2012-09-18BASE: Close possible EngineManager memory leak.D G Turner
This singleton was omitted from fuzzie's memory leak fixes in 6bff611. Thanks to Tomaz^ for spotting this.
2012-05-03Merge pull request #213 from fuzzie/leak-fixesJohannes Schickel
The pull request in question is "Memory leak fixes".
2012-04-01BASE: Construct empty String instead of using "".Johannes Schickel
2012-03-31ENGINES: Return all available custom GUI options if no target is specifiedFilippos Karapetis
This is used to set default settings for all custom game options when an engine starts
2012-03-28BASE: Free TTFLibrary singleton on shutdown.Alyssa Milburn
This uses a helper function because TTFLibrary is internal.
2012-03-28BASE: Destroy singletons on exit.Alyssa Milburn
2012-03-19GUI: Add per-engine and per-game optionsFilippos Karapetis
2012-02-27KEYMAPPER: Rename HardwareKey to HardwareInputTarek Soliman
2012-02-22KEYMAPPER: Fix mistake in last commitTarek Soliman
2012-02-22KEYMAPPER: Minor cleanupTarek Soliman
2012-02-21KEYMAPPER: Remove automapping dead codeTarek Soliman
2012-02-20KEYMAPPER: Move F7 and F8 handling to DefaultEventMapperTarek Soliman
2012-02-13KEYMAPPER: Fix Action ctor args in most keymapsTarek Soliman
2012-02-12KEYMAPPER: Allow ports to define their own global keymapTarek Soliman
2012-02-04KEYMAPPER: Added Toggle FullScreen actionTarek Soliman
2012-02-02KEYMAPPER: Handle EVENT_MAINMENU directlyTarek Soliman
2012-01-07KEYMAPPER: Constantify global keymap nameTarek Soliman
2011-12-30KEYMAPPER: Make engine keymap init and cleanup more genericTarek Soliman
2011-11-02Revert "KEYMAPPER: Make global keymap that is always active"Tarek Soliman
This reverts commit ac85d134b31f770f27d085c0fe4c307e278c1875.
2011-10-27KEYMAPPER: Make global keymap that is always activeTarek Soliman
Keymapper now has a global keymap outside the active keymap stack. That global keymap is always checked after the active stack has been checked.
2011-10-27BASE: Make global keymap inheritTarek Soliman
2011-10-06BASE: Slight cleanup.Johannes Schickel
2011-10-06BASE: Add another whitespace before "Starting $gamedescription".Johannes Schickel
This was removed by accident in 59739a7a0e3e4826ba7b27d5270a8d7a26b787ef.
2011-08-21BADA: For some unknown reason the format string "%s\n" causes a core-dumpChris Warren-Smith
2011-08-21BADA: Initial BADA port implementationChris Warren-Smith
2011-08-19BASE: Remove leftover include for testing.Johannes Schickel
2011-08-19COMMON: intLog2 uses _BitScanReverse on MSVCBertrand Augereau
2011-08-14MAIN: Avoid adding the same extra path twiceeriktorbjorn
This doesn't make any practical difference, since the search manager already guards against duplicate paths, but it does get rid of a slightly confusing warning message when you have a global extra path configured.
2011-08-08RECORDER: Restore event recorder functionality.Eugene Sandulenko
It was badly broken after refactoring into EventObserver. Fitst, deinit() method was never called which lead to bad record files. Then, the concept of counting pollEvent() calls was ignored. Introduced dispatchPoll() method of EventObserver which is implemented in EventRecorder. It counts calls so is able to inject events at more proper time. Additionally now event times are recorded.
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
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-05-23COMMON: Modify Base::processSettings, get rid of Common::kArgumentNotProcessedMax Horn
Instead of defining a hacked up Common::Error code, split the return value of processSettings into two parts: An error code, and a value which indicates whether the specified command was completely handled by processSettings or not.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-05BASE: Suppress pointless warning message (fixes bug #3291522)Max Horn