Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-18 | SDL: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-02-16 | SDL: Move debugging code to output SDL video driver name to initBackend. | D G Turner | |
The initBackend() function is called later after the command line is parsed and thus debug() prints can be used, which are much less noisy. | |||
2014-02-12 | SDL: Add debugging code to output SDL video driver name being used. | D G Turner | |
2014-01-23 | Merge pull request #409 from lordhoto/rtti | Johannes Schickel | |
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast. | |||
2013-11-11 | SDL: Remove misleading comments, based on incomplete information at MSDN. ↵ | Kirben | |
GetLocalInfo is supported on Windows 95 onwards, but MSDN fails to mention older Windows versions. | |||
2013-11-03 | SDL: Fix invalid memory access in getSystemLanguage. | Johannes Schickel | |
A call to setlocale can invalidate the string a previous setlocale call returned. Instead of saving a pointer we copy the returned string now. This, for example, fixes invalid memory access on my system. See de8da01b0e8a309b9ed3f5b0f152ebbcf8f4af37 for the commit introducing the invalid memory access. | |||
2013-11-03 | SDL: Remove side effect of setlocale() call to get Language. | D G Turner | |
This is to fix bug #3615148 - "ALL: sscanf("%f"), atof() etc. not portable due to Locale" The side effect of setlocale("") is to change the active locale from the default of "C" to the detected system locale, but this changes the behaviour of sscanf() and several other functions in a system dependent and non-portable way. This has caused bugs in the ZVISION engine when running Zork Nemesis. The solution is to restore the default "C" locale after the call to get the language. Thanks to criezy for working out this fix. | |||
2013-10-24 | SDL: Make activateManager/deactivateManager SdlGraphicsManager specific. | Johannes Schickel | |
We can do this now that we can use virtual inheritance and dynamic_cast because we enabled RTTI. | |||
2013-10-23 | SDL: Reduce code duplication a bit. | Johannes Schickel | |
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses overwriting this) we simply initialize it in OSystem_SDL::init. | |||
2013-10-23 | SDL: Fix default graphics mode for switchable case. | Johannes Schickel | |
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns the index in the table returned by getSupportedGraphicsModes. Now the correct ID is searched and then used. | |||
2013-10-23 | SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL. | Johannes Schickel | |
2013-10-23 | SDL: Only allow switching of SurfaceSDL <-> OpenGL when no custom manager is ↵ | Johannes Schickel | |
used. | |||
2013-10-23 | SDL: Simplify initial graphics manager selection for OpenGL. | Johannes Schickel | |
2013-10-23 | SDL: Get rid of _glModesCount. | Johannes Schickel | |
2013-10-23 | SDL: Get rid of loop in OSystem_SDL::setGraphicsMode. | Johannes Schickel | |
2013-10-23 | SDL: Clean up graphics mode handling for OpenGL backend. | Johannes Schickel | |
Instead of custom memory management Common::Array is used now. | |||
2013-10-23 | SDL: Always initialize video subsystem in initSDL. | Johannes Schickel | |
2013-10-23 | SDL: Clean up graphics manager switching slighty. | Johannes Schickel | |
Sadly this also requires us to extend GraphicsManager for this SDL specific feature. However, since that's only used in the SDL backend and Tizen it should be fine for now... | |||
2013-10-19 | SDL: Add a OpenGL SDL backend and hook it into the SDL backend. | Johannes Schickel | |
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL creation has been adapted since it uses a different constructor now. | |||
2013-10-05 | BACKENDS: Remove OpenGL and OpenGL SDL backend. | Johannes Schickel | |
This breaks our Tizen port. | |||
2013-07-06 | ALL: Don't use EventRecorder at all when not compiled in | Matthew Hoops | |
2013-07-04 | SDL: Fix compilation by moving getMixerManager out of USE_OPENGL guard. | Johannes Schickel | |
2013-05-17 | RECORDER: Implement Events Recorder | Eugene Sandulenko | |
2012-06-09 | COMMON: Add tm_wday to our TimeDate struct | Matthew Hoops | |
Did not adapt bada or ps2 backends as I'm not sure how they should be handled | |||
2011-08-11 | SDL: Previous commit broke compilation on MSVC | Paul Gilbert | |
Including cursorman.cpp rather than cursorman.h resulted in the CursorManager class being present in multiple .obj files, resulting in linking errors. | |||
2011-08-11 | SDL: Implement a hellish workaround to fix bug #3368143. | Johannes Schickel | |
The bug in question is "SDL/OpenGL: Crash when switching renderer backend". To fix it I added a stupid graphics state copying to the SDL backend, in case the graphics manager is switched. The implementation of this is considered a pure workaround, no one should ever do it like this in reality... I just want to die when looking at this... Not sure why I actually committed it. Anyway it at least makes the OpenGL backend testable for those who do not want to fiddle with the config file directly. | |||
2011-08-09 | SDL: Let SDL based graphics managers inherit from SdlGraphicsManager. | Johannes Schickel | |
This also adapts port I can not test (not even the compilation). So if this breaks anything I am sorry about it. | |||
2011-08-06 | RECORDER: Added stub for delayMillis() processing | Eugene Sandulenko | |
2011-06-23 | Merge pull request #40 from bgK/ps3 | Eugene Sandulenko | |
PS3 Port | |||
2011-06-23 | BACKENDS/GRAPHICS: Silence non zero-terminated terminated buffers warnings ↵ | Julien | |
by initializing the buffers to 0 | |||
2011-06-22 | Merge pull request #26 from Littleboy/taskbar | Eugene Sandulenko | |
Taskbar integration | |||
2011-06-22 | SDL: Allow building with current SDL 1.3hg | Bastien Bouclet | |
2011-06-20 | ALL: Remove trailing whitespaces | Max 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-19 | SDL: Rename SdlGraphicsManager to SurfaceSdlGraphicsManager to reflect its ↵ | Johannes Schickel | |
purpose. Hopefully I catched all uses of the old name in our ports... | |||
2011-06-19 | SDL: Remove left over traces from the time the SdlEventSource subclassed ↵ | Johannes Schickel | |
DefaultEventManager. | |||
2011-06-17 | SDL: Make logMessage() implementation independent from parent class(es) | Max Horn | |
2011-06-16 | BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar ↵ | Littleboy | |
integration is not enabled | |||
2011-06-16 | BACKENDS: Integrate glib main event loop | Littleboy | |
- Unity needs a glib event loop to dispatch events. - Cleanup whitespace and indentation | |||
2011-06-16 | BACKENDS: Add generic TaskbarManager class to handle taskbar integration | Littleboy | |
2011-06-14 | WINCE: Add support for language auto-detection in WinCE | CeRiAl | |
2011-06-06 | SDL: Use #define FORBIDDEN_SYMBOL_ALLOW_ALL (backends can use any symbol) | Max Horn | |
2011-06-06 | BACKENDS: Add OSystem::getDefaultConfigFileName | Max Horn | |
This is used to provide default implementations for createConfigWriteStream and createConfigReadStream, which can be used by most backends. Note that backends can still override createConfigRead/WriteStream; this could be useful if settings on some port are not stored in a regular file (think 'Windows registry', for a hypothetical example). | |||
2011-06-06 | BACKENDS: Unify AudioCD manager instantiation | Max Horn | |
2011-05-23 | COMMON: Add exit() to list of forbidden symbols | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-03 | BACKENDS: Allow various files to use stuff from time.h | Max Horn | |
2011-05-02 | ALL: Mark printf and various other symbols as forbidden | Max 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-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-17 | COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warnings | Eugene Sandulenko | |
2011-04-12 | WEBOS: Correct indentation of WEBOS preprocessor check | Klaus Reimer | |