aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
AgeCommit message (Collapse)Author
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
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax Horn
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-18COMMON: Cleanup names/handling of some error codesMax Horn
2011-04-18COMMON: Remove kInvalidPathErrorMax Horn
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-02-12JANITORIAL: Remove duplicate #include'sOri Avtalion
svn-id: r55889
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-12-30PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINSYotam Barnoy
ONE_PLUGIN_AT_A_TIME is too long. svn-id: r55064
2010-12-23PLUGINS: switched plugin manager to inheritance rather than #definesYotam Barnoy
The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler. svn-id: r55024
2010-12-04BASE: Only clear debug channels after destructing the engine object in runGame.Johannes Schickel
This should fix missing debugC output when the engine object uses debugC etc. in its destructor (or functions called from there). In theory all the engines should do that themselves, but to avoid any issues because of them not doing it we still do it here to be safe. svn-id: r54757
2010-11-30I18N: Don't build TranslationManager when translation is disabled.Jordi Vilalta Prat
svn-id: r54684
2010-11-28MAIN: Fix --gfx-mode regressionTorbjörn Andersson
We cannot check for supported graphics mode until after the backend has been initialised, or there won't be a graphics manager to ask. svn-id: r54534
2010-11-18MAIN: initialized more singletons early to prevent fragmentation.Yotam Barnoy
svn-id: r54315
2010-11-18MAIN: added early call to getAudioCdManager to prevent late allocationYotam Barnoy
This reduces fragmentation. svn-id: r54310
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-15CONFIGMAN: added defragmentation methods for one-plugin-at-a-timeYotam Barnoy
One-plugin-at-a-time can have fragmentation caused by the ConfigManager if a game changes any configuration value. By reallocating and copying over the ConfigManager, we avoid this problem. svn-id: r54243
2010-11-15PLUGINS: moved plugin-at-a-time unload to be after deleting the engine.Yotam Barnoy
Calling the Engine's destructor after unloading the plugin caused crashes. svn-id: r54242
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-05PLUGINS: improved one-at-a-time plugin codeYotam Barnoy
I reduced memory fragmentation using 2 principles: Plugins should be loaded for as little time as possible, and long lasting memory allocations should be allocated before plugins are loaded. There might still be a little fragmentation left. Note that command line settings that require plugins to be loaded don't work yet, but they didn't work (properly) before either. svn-id: r54097
2010-11-03Merge from gsoc2010-pluginsYotam Barnoy
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work. svn-id: r54051
2010-11-01BASE: Destroy TranslationManager when exiting; destroy GuiManager before ↵Max Horn
ConfigManager svn-id: r54024
2010-10-31Updated with latest from trunkYotam Barnoy
svn-id: r53976
2010-10-26BASE: Remove oudated comment, and redundant warningMax Horn
svn-id: r53867
2010-10-24ALL: Fix various typos (patch #3093266)Max Horn
svn-id: r53762
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-25GUI: Partial fix to bug #3075649 Fonts not found with buit-in themeThierry Crozat
When the locale font are not found when loading the theme, it now fallbacks to default language (i.e. English) and default font. For this to work I had to move the TranslationManager initialization before the Theme is loaded. Therefore it is now initialized when the GuiManager is constructed. svn-id: r52896