aboutsummaryrefslogtreecommitdiff
path: root/backends/modular-backend.cpp
AgeCommit message (Collapse)Author
2017-10-15BACKENDS: Fix missing mouse events when system cursor cannot be movedColin Snover
Normally with SDL, a mouse motion event will be sent after the system mouse cursor has been moved by a call to SDL_WarpMouseInWindow, but if the system cursor cannot be moved (e.g. because the window does not have mouse focus), games still need to receive these mouse events so they can successfully update the mouse position internally. Otherwise, games continue to think the mouse is still in the original position and will continue to try to perform whatever action is associated with that mouse position. Refs Trac#9689.
2017-10-07BACKENDS: Fix window sizing of games that switch between multiple resolutionsColin Snover
2017-03-04PSP2: Add Playstation Vita (PSP2) supportcpasjuste
2016-09-13OSYSTEM: Remove the API allowing to draw to the OSD surface directlyBastien Bouclet
2016-09-13OSYSTEM: Introduce a method allowing to draw a background activity iconBastien Bouclet
2016-08-24GUI: Add getOSDFormat() and make OSD 32 bppAlexander Tkachev
2016-08-24GUI: Add clearOSD() methodAlexander Tkachev
So one can erase everything from OSD and then blit something on it.
2016-08-24GUI: Add copyRectToOSD()Alexander Tkachev
I was lazy to implement that in OpenGLGraphicsManager and I'm not sure it's implemented correctly in SurfaceSdlGraphicsManager, but it works for me.
2014-02-18BACKENDS: Make GPL headers consistent in themselves.Johannes Schickel
2013-07-06ALL: Don't use EventRecorder at all when not compiled inMatthew Hoops
2013-07-04Merge pull request #350 from chrisws/tizen_port_1_6_0aJohannes Schickel
TIZEN: bada port updated to tizen Conflicts: backends/platform/tizen/system.cpp
2013-07-03TIZEN: bada port updated to tizenChris Warren-Smith
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-06-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵Johannes Schickel
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data.
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2011-06-08BACKENDS: cleanupMax Horn
2011-06-07BACKENDS: Move more 'manager slots' from ModularBackend to OSystemMax Horn
2011-06-06BACKENDS: Unify EventManager setupMax Horn
2011-06-06BACKENDS: Unify AudioCD manager instantiationMax Horn
2011-06-04BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState callsMax Horn
2011-05-23COMMON: Add exit() to list of forbidden symbolsMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-07BACKENDS: Reduce header interdependenciesMax Horn
svn-id: r55808
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-12-08BACKENDS: Fix OSD implementation in ModularBackend.Johannes Schickel
svn-id: r54828
2010-11-29BACKEND: Assure that the correct destructor of FilesystemFactory is called.Johannes Schickel
svn-id: r54582
2010-11-29BACKENDS: Improve safety of Modular Backend Destructor And Close _fsFactory ↵David Turner
Memory Leak Since the modular backend implements abstract modules to be written in the future which _may_ have interdependencies, they should be set to null pointers after deletion. This allows assert(_eventManager) type lines to work, which would have detected bug #3121841 without a segfault... Also, _fsFactory should be deleted to ensure it is not leaked though this causes a group of GCC warnings and probably should be done in a different manner. svn-id: r54580
2010-11-29SDL: Revert r54554, and add explanatory comment (fix for bug #3121841)Max Horn
svn-id: r54574
2010-10-13OPENGL: More cleanup.Johannes Schickel
svn-id: r53441
2010-07-30OSYSTEM: Add resetGraphicsScale() method.Alejandro Marzini
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager. svn-id: r51492
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-11Moved 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-02Cleanup and documentation.Alejandro Marzini
svn-id: r50589
2010-06-20Removed getMillis, delayMillis and getTimeAndDate functions from TimerManager.Alejandro Marzini
svn-id: r50095
2010-06-15Improved ModularBackend and OSystem_SDL destructors.Alejandro Marzini
svn-id: r49679
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-13Added 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-11Added missing virtual functions in abstract class GraphicsManager.Alejandro Marzini
svn-id: r49589
2010-06-10Added ModularBackend base class for backends.Alejandro Marzini
svn-id: r49584