aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
AgeCommit message (Collapse)Author
2011-06-03MACOSX: Include ApplicationServices headerMax Horn
This should pacify buildbot. Somehow on my system, it does not need it, though.
2011-06-03MACOSX: Fix indentionMax Horn
2011-06-03BACKENDS: Add OSystem::displayLogFile interface + OSX implementationMax Horn
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-23COMMON: Add exit() to list of forbidden symbolsMax Horn
2011-05-23COMMON: Mark more symbols as forbiddenMax Horn
2011-05-23SAMSUNGTV: update portPawel Kolodziejski
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-08IRIX: Fix compilationJoost Peters
2011-05-05WIN32: Embed engine data files and theme files into executable.Johannes Schickel
This embeds all the engine data files from dists/engine-data into the executable in case the engines using them are included statically. Furthermore it includes the theme dist files in the executable.
2011-05-03BACKENDS: Allow various files to use stuff from time.hMax 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: Add in necessary include files to fix compilation in MSVCPaul Gilbert
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warningsEugene Sandulenko
2011-04-12WEBOS: Correct indentation of WEBOS preprocessor checkKlaus Reimer
2011-04-12WEBOS: Create webos backend with custom eventsKlaus Reimer
Currently only contains test code.
2011-04-12WEBOS: Add WEBOS defineKlaus Reimer
Using SDL_INIT_VIDEO flag for WebOS because without it the application won't start.
2011-03-24SDL/POSIX: Update main guard to add OpenPandora.David-John Willis
- Also mention GPH_DEVICE not each backend on it's own.
2011-02-24SDL: Prevent graphics manager hotswapping on startup. (This time for real)Johannes Schickel
2011-02-24SDL: Prevent unnecessary gfx manager hotswapdhewg
2011-02-05WIN32: Try to fix compiler error for mingw-w64 buildbot buildMax Horn
svn-id: r55785
2010-11-29SDL: Add Mac OS X log file supportMax Horn
svn-id: r54589
2010-11-29SDL: Move createLogFile implementions to the OSystem_SDL subclasses.Johannes Schickel
svn-id: r54581
2010-11-29SDL: Trying to cleanup the FORBIDDEN_SYMBOL situationMax Horn
svn-id: r54575
2010-11-29SDL: Revert r54554, and add explanatory comment (fix for bug #3121841)Max Horn
svn-id: r54574
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
2010-11-29SDL: Move #include <SDL.h> into a special wrapper fileMax Horn
svn-id: r54572
2010-11-29COMMON: Applied patch #3121969 - "WIN32_LEAN_AND_MEAN in incorrect place"Filippos Karapetis
svn-id: r54567
2010-11-28SDL: Reduce redundant deletes from OSystem_SDL destructorMax Horn
svn-id: r54554
2010-11-28SDL: Compiled POSIX sub-backend only on unix systemsMax Horn
svn-id: r54538
2010-11-28SDL: Added missing #define FORBIDDEN_SYMBOL_ALLOW_ALL for the Win32 SDL backendFilippos Karapetis
svn-id: r54527
2010-11-28SDL: Merge deinit() into OSystem_SDL destructor and overload fatalErrorMax Horn
svn-id: r54526
2010-11-28SDL: Fix compilation on Windows too.Johannes Schickel
svn-id: r54524
2010-11-28SDL: Make SDL backend compile again.Johannes Schickel
svn-id: r54523
2010-11-28Merging the gsoc2010-opengl branchMax Horn
svn-id: r54518
2010-11-28BACKEND: Switch OSystem::getSystemLanguage return type to Common::String.Johannes Schickel
This is done as discussed on -devel. svn-id: r54516
2010-11-26I18N: Fix language detection in UNIX (not everyone speaks German yet)Jordi Vilalta Prat
svn-id: r54494
2010-11-26SDL: Hook up file logger to log on Windows.Johannes Schickel
For now the log file will be either "%APPDATA%/ScummVM/Logs/scummvm.log" or "%USERPROFILE%/Application Data/ScummVM/Logs/scummvm.log" to match the location of the default ScummVM configuration file. svn-id: r54490
2010-11-26SDL: Hook up file logger to log on UNIX-like systems.Johannes Schickel
As discussed on -devel this always logs to ~/.scummvm/logs/scummvm.log. svn-id: r54489
2010-11-25OSYSTEM: Add API to query the system locale.Johannes Schickel
I also adapted the SDL backend to implement the API. svn-id: r54479
2010-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
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-10-30ALL: Add code to help stop people from accidentally using "bad" APIsMax Horn
A new header file common/forbidden.h is included by scummsys.h and it re-#defines numerous symbols like fopen(), fread(), system(), etc. with garbage, in order to provoke compile errors in any code using them. If a .cpp file really *must* use any of these (e.g. because it is a backend file), then these redefinitions can be disabled by #defining FORBIDDEN_SYMBOL_ALLOW_ALL as the first thing in the .cpp file. Whenever this is done, an explanatory comment should be added. Note that this system cannot catch all "bad" usages (notably the Lua code in the sword25 engine), as it can only work if scummsys.h is included. svn-id: r53961
2010-10-24SDL/win32: fix lf, thx msvcMartin Kiewitz
svn-id: r53768
2010-10-24SDL/w32: add ability to hide consoleMartin Kiewitz
feature is currently commented out - waiting till discussion has ended svn-id: r53767
2010-10-23DINGUX: fix compilation for the opengl branchFabio Battaglia
Moved events related code to backends/events/dinguxsdl/* and move graphics related code to backends/graphics/dinguxsdl/* Subclass OSystem_POSIX instead of OSystem_SDL svn-id: r53730
2010-10-21OPENGL: Add an SdlEventSource member to OSystem_SDL instead of subclassing ↵Johannes Schickel
SdlEventSource. Derived backends are allowed to overwrite that member in case they need special handling of SDL events. svn-id: r53675
2010-10-20GPH: Cleanup Readme and support scripts.John Willis
GP2X: Cleanup Readme. SDL: Change a few backend defines to GPH_DEVICE from the device name (blocking main and loadGFXMode so they can be written elsewhere). svn-id: r53639
2010-10-13OPENGL: Cleanup.Johannes Schickel
svn-id: r53436