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