aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
AgeCommit message (Collapse)Author
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-08Pushing down some header depsMax Horn
svn-id: r34936
2008-11-07Added a destroy() call for SearchManager at the end of scummvm_main.Nicola Mettifogo
svn-id: r34929
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-10-22Add game path with a depth of level 4, to prevent regressions when loading ↵Travis Howell
files in HE arcade games again. svn-id: r34842
2008-10-22Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightlyMax Horn
svn-id: r34836
2008-09-23Fix for bug #2120780 "GUI: gui-theme command-line option ignored", '-f' and ↵Johannes Schickel
'-g' command line switch behavior. svn-id: r34637
2008-09-14Fix for bug #2089275: "GUI: Returning to launcher may trigger an error".Johannes Schickel
svn-id: r34532
2008-09-08Documented commit 34450 (game path searched recursively).Nicola Mettifogo
svn-id: r34456
2008-09-08Made searching the game path recursive (with the default depth of 4 levels). ↵Nicola Mettifogo
This is a temporary fix to make some games work, until we decide what to do with the file/directory searching. svn-id: r34450
2008-09-03Moved check for shouldRTL() from engines to scummvm_mainMax Horn
svn-id: r34310
2008-09-03If launching scummvm with no game selected, clear the transient domain (and ↵Max Horn
hence the effect of all command line args) before opening the launcher (may cause regressions) svn-id: r34293
2008-08-04Merged revisions ↵Christopher Page
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
2008-07-29BASE: in runGame, do not set addDefaultDirectory() the game path before ↵Max Horn
invoking createInstance() -- detectors must use FSNode for detection, not rely on File::open svn-id: r33389
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051
2008-07-07Implemented Common::EventManager::pushEvent() to insert fake events into the ↵Christopher Page
event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow. svn-id: r32952
2008-06-24Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So ↵Christopher Page
far agi, agos, and cine are now using the new _quit flag. svn-id: r32770
2008-06-22Disabled return to launcher on trunk againMax Horn
svn-id: r32745
2008-05-28Merged revisions ↵Christopher Page
32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32350
2008-05-24Made the startup log output a bit more informativeMax Horn
svn-id: r32243
2008-05-14Merged revisions ↵Christopher Page
31972-31973,31975-31981,31984-31989,31993-31994,31996-32014,32016-32020,32022-32025,32027-32028,32030,32034,32037-32038,32040-32058,32060-32087,32089-32093,32095-32123 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r32125
2008-05-13- Added operator-> to Plugin subclasses so they don't have to reimplement ↵Jordi Vilalta Prat
the PluginObject subclass interfaces (thanks to Fingolfin for suggesting it) - Added the PluginSubclass template to help creating Plugin subclasses svn-id: r32082
2008-05-12Keep separated arrays for each type of pluginJordi Vilalta Prat
svn-id: r32046
2008-05-12- Added an engine plugin manager and moved engine specific functionality into itJordi Vilalta Prat
- base/plugins.* reorganization svn-id: r32045
2008-05-10Modified game loop to return to launcher, codeblocks layouts update 1.5->1.6Christopher Page
svn-id: r31992
2008-04-26Fixed segfault when trying to start invalid gameid from command line.Johannes Schickel
svn-id: r31731
2008-03-27Patch #1926787: small memory leak and cleanupMax Horn
svn-id: r31261
2008-03-26Modified Patch #1925352: Memory leak fixesMax Horn
svn-id: r31244
2008-02-15Merged lots of _mixer->isReady() warnings into a single one in Engine ↵Max Horn
constructor svn-id: r30871
2008-02-03Replaced GUI dialog with warning. We don't have any screen to draw on yet.Torbjörn Andersson
svn-id: r30782
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
2007-09-01Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)Chris Apers
svn-id: r28803
2007-07-01Patch #1595026: engine init/shutdown OSystem methodsMax Horn
svn-id: r27838
2007-06-15BASE code: renamed detectMain to detectPlugin and updated some comments for ↵Max Horn
clarity; added some TODO/FIXME comments; added a dialog that's shown if the user tries to start a game for which no plugin feels responsible svn-id: r27423
2007-06-12add DATA_PATH to directory search list when starting gameWillem Jan Palenstijn
svn-id: r27381
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-18Fixed bug #1701842, after discussing with Fingolfin.Torbjörn Andersson
svn-id: r26545
2007-03-02Do not use addDefaultDirectoryRecursive to add 'path', rather use the ↵Max Horn
non-recurseive addDefaultDirectory (see also bug #1672098) svn-id: r25922
2007-02-04Don't add '.' to the search dirs as a last fallback. Fixes bug #1597208Max Horn
svn-id: r25382
2007-01-21Added game.cpp file with some funcs/methods declared in game.hMax Horn
svn-id: r25137
2007-01-20First phase of detection-related plugins interface improvements. Now pluginsEugene Sandulenko
return StringMap instead of fixed list of parameters. This adds great flexibility. Current patch should not alter any functionality, i.e. if there are regressions, submit a report. Phase 2 will benefit from these changes and will come later. svn-id: r25134
2006-11-13Patch #1595319: "Enable the command line --debugflags before engine.init()"Eugene Sandulenko
svn-id: r24705
2006-11-12Print sensible messages if engine instantiation failedMax Horn
svn-id: r24684
2006-10-22Backend modularization: Create timer manager, savefile manager and audio ↵Max Horn
mixer in the backends for increased flexibility svn-id: r24443
2006-10-21Added OSystem::getTimerManager and OSystem::getMixer methods (wip)Max Horn
svn-id: r24405
2006-09-23Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle ↵Max Horn
the linker dependency graph). Porters will have to update project files svn-id: r23974
2006-08-04Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)Max Horn
svn-id: r23666