aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
AgeCommit message (Collapse)Author
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
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