aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
AgeCommit message (Collapse)Author
2010-08-10merged trunk into branch, reverted Cruise Singleton changesTony Puccinelli
svn-id: r51961
2010-08-05added intermediary function 'findGameOnePlugAtATime' and switched load game ↵Tony Puccinelli
and run game code to use it. Added checks for DYNAMIC_MODULES defines to the checks for NEW_PLUGIN_DESIGN_FIRST_REFINEMENT svn-id: r51746
2010-07-30initial work on plugin design changes (already added games can be launched ↵Tony Puccinelli
with only one plugin loaded at a time if you compile with a 'NEW_PLUGIN_DESIGN_FIRST_REFINEMENT' flag) svn-id: r51502
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-26Janitorial: Fix punctuation in error/warningTorbjörn Andersson
svn-id: r51296
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-06-29Fix detection of invalid music drivers specified via command line.Johannes Schickel
Along with it documented that "0" is a special device handle for the invalid device. Now getDeviceHandle returns 0, when the identified device could not be found. Also getMusicType now returns MT_INVALID (newly introduced), when a non existing device was specified. svn-id: r50470
2010-06-28Prevent "music-driver" to be set to "" on startup.Johannes Schickel
This is a regression from r50158: "LAUNCHER: hopefully fixed music driver selection via command line". The problem here was that the code used operator[] of HashMap to check whether "music-driver" was specified on command line, but that on the other hand inserted a (key, value) pair with a default constructed Common::String as value. svn-id: r50469
2010-06-26Remove support for translation of console messages.Johannes Schickel
In recent discussions on -devel it turned out, that this feature is rather superfluous and instead we should rather implement a proper error reporting in our GUI. I also removed the dependency on iconv along with this. svn-id: r50335
2010-06-22LAUNCHER: hopefully fixed music driver selection via command lineFlorian Kagerer
svn-id: r50158
2010-06-15Fix some warnings about 'format not a string literal'.Max Horn
svn-id: r49847
2010-06-15Implement translation support for ScummVM GUI.Eugene Sandulenko
Based on patch #2903830: "Updated Translation Prototype" by alexbevi which in turn is based on patch #1739965 by jvprat. Currently it builds all translations right into ScummVM. Once the feature will be accepted more widely, i.e. more translations will pop up, it will be trivial to move translation strings to external file. Finished translation: Russian Unfinished translation: Hungarian Things which are nice to do: - Language code -> language mapping for more user friendness - Specifying fonts to be used with language - Updating of interface language without restart. It will require moving of much code to reflowLayout() methods for each dialog The .po files must be in single byte encodings. I.e. no support for Unicode. svn-id: r49759
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-05-21Implement FR #2988017: exit status with --list-saves always 0Eugene Sandulenko
svn-id: r49132
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-11Rest of patch #2982224: GSoC: Added unit test and unified error message displayMax Horn
svn-id: r48627
2010-03-20Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).Johannes Schickel
svn-id: r48310
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-08-18Typos.Johannes Schickel
svn-id: r43515
2009-08-18- Destory AudioCDManager singleton after user quits a game, this saves a few ↵Johannes Schickel
bytes memory - Added FIXME to audiocd.h, concering why destroying the AudioCDManager can not quit CD playback right now svn-id: r43513
2009-07-30cleanupMax Horn
svn-id: r42952
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-07-12I am re-commiting the FORCE_RTL as a temporary solutionMax Lingua
in trunk, so that trunk/1.0rc is au pair feature-wise with 0.13.x. svn-id: r42403
2009-06-06Implement FR#2090830: "GUI: RTL should focus game list on the last game played"Eugene Sandulenko
svn-id: r41237
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-05-20Fix bug #1544799: "ALL: Engine creates launcher entry when failing to launch"Eugene Sandulenko
svn-id: r40745
2009-05-10Keymapper:Eugene Sandulenko
- Introduced new OSystem method getHardwareKeySet() with default implementation - Moved global keymap creation to base/main.cpp - Moved GUI keymap creation to gui/GuiManager.cpp - Added various safeguard checks to various keymapper methods Now it is really possible to add keymapper to all backends. svn-id: r40439
2009-03-21argv should not be modified; make it plenty const.Marcus Comstedt
svn-id: r39591
2009-03-20Remove line that was (probably) accidentally committed in r32745.Willem Jan Palenstijn
svn-id: r39569
2009-03-01Merged Engine::go() and ::init() into a new run() method (currently ↵Max Horn
implemented by calling the existing init&go methods; to be cleaned up by engine authors svn-id: r39002
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-01-30do not include common/debug.h from common/util.hMax Horn
svn-id: r36143
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-30Some more 'special debug levels' tweaksMax Horn
svn-id: r36140
2009-01-24Remove the unused OSystem parameter of launcherDialog() (noticed by syke)Jordi Vilalta Prat
svn-id: r36038
2009-01-11Simplify code.Eugene Sandulenko
svn-id: r35826
2009-01-11Now _really_ restore transient domain handling which was before vkeybd merge.Eugene Sandulenko
svn-id: r35825
2009-01-11Fix regression brought by merge with vkeybs branch when command line parametersEugene Sandulenko
were ignored. Thanks to eriktorbjorn for reporting. svn-id: r35824
2009-01-11Merge in Virtual Keybpard & KeyMapper branch,Eugene Sandulenko
- Merge is perfromed in order to not let rotting the code - Makefile modifications were avoided Stuff to resolve: - Circular dependency of common/vkeybd from graphics/ - Make it compilable (?) - Add some keyboards - Decide on the key bindings svn-id: r35813
2009-01-02Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> ↵Johannes Schickel
gui/GuiManager.h svn-id: r35668
2008-12-25Renamed NewGui to GuiManagerMax Horn
svn-id: r35544
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
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