Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-04-12 | WEBOS: Add WEBOS define | Klaus Reimer | |
Using SDL_INIT_VIDEO flag for WebOS because without it the application won't start. | |||
2011-02-24 | SDL: Prevent graphics manager hotswapping on startup. (This time for real) | Johannes Schickel | |
2011-02-24 | SDL: Prevent unnecessary gfx manager hotswap | dhewg | |
2010-11-29 | SDL: Move createLogFile implementions to the OSystem_SDL subclasses. | Johannes Schickel | |
svn-id: r54581 | |||
2010-11-29 | SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation | Max Horn | |
svn-id: r54575 | |||
2010-11-29 | SDL: Revert r54554, and add explanatory comment (fix for bug #3121841) | Max Horn | |
svn-id: r54574 | |||
2010-11-29 | BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs | Max Horn | |
svn-id: r54573 | |||
2010-11-28 | SDL: Reduce redundant deletes from OSystem_SDL destructor | Max Horn | |
svn-id: r54554 | |||
2010-11-28 | SDL: Merge deinit() into OSystem_SDL destructor and overload fatalError | Max Horn | |
svn-id: r54526 | |||
2010-11-28 | SDL: Fix compilation on Windows too. | Johannes Schickel | |
svn-id: r54524 | |||
2010-11-28 | SDL: Make SDL backend compile again. | Johannes Schickel | |
svn-id: r54523 | |||
2010-11-28 | Merging the gsoc2010-opengl branch | Max Horn | |
svn-id: r54518 | |||
2010-11-28 | BACKEND: Switch OSystem::getSystemLanguage return type to Common::String. | Johannes Schickel | |
This is done as discussed on -devel. svn-id: r54516 | |||
2010-11-26 | I18N: Fix language detection in UNIX (not everyone speaks German yet) | Jordi Vilalta Prat | |
svn-id: r54494 | |||
2010-11-26 | SDL: 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-26 | SDL: 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-25 | OSYSTEM: Add API to query the system locale. | Johannes Schickel | |
I also adapted the SDL backend to implement the API. svn-id: r54479 | |||
2010-11-18 | BACKENDS: 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-08 | BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only | Max 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-30 | ALL: Add code to help stop people from accidentally using "bad" APIs | Max 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-24 | SDL/win32: fix lf, thx msvc | Martin Kiewitz | |
svn-id: r53768 | |||
2010-10-24 | SDL/w32: add ability to hide console | Martin Kiewitz | |
feature is currently commented out - waiting till discussion has ended svn-id: r53767 | |||
2010-10-21 | OPENGL: 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-13 | OPENGL: Cleanup. | Johannes Schickel | |
svn-id: r53436 | |||
2010-10-13 | OPENGL: Get rid of one ugly cast. | Johannes Schickel | |
svn-id: r53435 | |||
2010-10-13 | OPENGL: Replace SdlEventManager by SdlEventSource. | Johannes Schickel | |
Formerly SdlEventManager was a subclass of DefaultEventManager but did not really have anything in common with the idea of our EventManager interface. Now I made a new object SdlEventSource which only subclasses EventSource and which is responsible for obtaining events from SDL (and processing them). svn-id: r53433 | |||
2010-09-03 | OPENGL: Properly initialize the graphics manager again. | Johannes Schickel | |
Starting with r52503 the graphics manager's only initialize their event observer when initEventObserver is called. It seems like it was an oversight that this was not done in OSystem_SDL::setGraphicsMode, when a new graphics manager was initialized. This should fix window resizing with the OpenGL graphic's manager and mouse movement. svn-id: r52506 | |||
2010-09-03 | SDL/OPENGL: Fix backend initialization when building with ENABLE_VKEYBD. | Alejandro Marzini | |
svn-id: r52503 | |||
2010-08-23 | SDL/OPENGL: Fix segfault when using -g command line option. | Alejandro Marzini | |
svn-id: r52307 | |||
2010-08-19 | DINGOO: new port. Patch #3039277 | Eugene Sandulenko | |
svn-id: r52210 | |||
2010-07-31 | OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for ↵ | Alejandro Marzini | |
GLES). General cleanup and commenting. svn-id: r51559 | |||
2010-07-30 | SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers. | Alejandro Marzini | |
OSystem_SDL will create a merged list of all graphics modes from SDL and OpenGL. When the user changes the graphics mode in options and restarts ScummVM should switch to that graphics mode in the corresponding graphics manager. svn-id: r51493 | |||
2010-07-16 | Added basic cursor drawing. | Alejandro Marzini | |
svn-id: r50954 | |||
2010-07-15 | Fixed doing OpenGL calls before a graphical context was created. | Alejandro Marzini | |
svn-id: r50905 | |||
2010-07-13 | Check if USE_OPENGL is defined for compiling OpenGL code. | Alejandro Marzini | |
svn-id: r50842 | |||
2010-07-12 | Get rid of yet another global object with constructor | Max Horn | |
svn-id: r50835 | |||
2010-07-11 | Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public ↵ | Alejandro Marzini | |
SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions. svn-id: r50796 | |||
2010-07-10 | Added BaseSdlGraphicsManager. Added GLTexture. | Alejandro Marzini | |
svn-id: r50795 | |||
2010-06-29 | Modularized Linuxmoto port. | Alejandro Marzini | |
svn-id: r50474 | |||
2010-06-27 | Improved getDefaultConfigFileName(). Code cleanup. | Alejandro Marzini | |
svn-id: r50364 | |||
2010-06-26 | Define WIN32_LEAN_AND_MEAN before including windows.h. | Johannes Schickel | |
This will cause our code to include less functionality, but might on the other hand fasten up the compilation. svn-id: r50346 | |||
2010-06-26 | Removed DEFAULT_CONFIG_FILE define in favor of new getConfigFileNameString ↵ | Alejandro Marzini | |
function. svn-id: r50301 | |||
2010-06-24 | Added a init function to OSystem_SDL for early backend setup, and so ↵ | Alejandro Marzini | |
allowing better sub classing. svn-id: r50224 | |||
2010-06-24 | Refactored SDL mixer manager. Created a SdlMixerManager subclass for Mac OSX. | Alejandro Marzini | |
svn-id: r50198 | |||
2010-06-23 | Fixed AudioCDManager not having a public inheritance. Backend code cleanup. | Alejandro Marzini | |
svn-id: r50189 | |||
2010-06-20 | Created win32 port from sdl backend. | Alejandro Marzini | |
svn-id: r50103 | |||
2010-06-20 | Removed getMillis, delayMillis and getTimeAndDate functions from TimerManager. | Alejandro Marzini | |
svn-id: r50095 | |||
2010-06-15 | Improved ModularBackend and OSystem_SDL destructors. | Alejandro Marzini | |
svn-id: r49679 | |||
2010-06-13 | Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to ↵ | Alejandro Marzini | |
Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL. svn-id: r49637 | |||
2010-06-13 | Added SdlEventManager. | Alejandro Marzini | |
svn-id: r49635 |