aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
AgeCommit message (Collapse)Author
2010-10-13OPENGL: Get rid of one ugly cast.Johannes Schickel
svn-id: r53435
2010-10-13OPENGL: 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-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-09-28SDL: Fix for 32 bit mode support (untested; might be good for backporting, ↵Max Horn
not sure, somebody should verify) svn-id: r52934
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-09-06SDL: Add masks to the SDL backend to support the OpenPandora backend.John Willis
svn-id: r52599
2010-09-03OPENGL: 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-03SDL/OPENGL: Fix backend initialization when building with ENABLE_VKEYBD.Alejandro Marzini
svn-id: r52503
2010-08-31SCI: still set game cursor, when mouse outsideMartin Kiewitz
of ScummVM window. Just don't change actual mouse position svn-id: r52472
2010-08-30I18N: Add "lowres" context for several GUI strings when in 1x mode.Thierry Crozat
This enables translators to use a different translation for these strings in 1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes. svn-id: r52461
2010-08-23SDL/OPENGL: Fix segfault when using -g command line option.Alejandro Marzini
svn-id: r52307
2010-08-23AMIGAOS: Fix build.Alejandro Marzini
svn-id: r52306
2010-08-23AMIGAOS: Again, fix build.Alejandro Marzini
svn-id: r52304
2010-08-23AMIGAOS: Fix build.Alejandro Marzini
svn-id: r52303
2010-08-19DINGOO: new port. Patch #3039277Eugene Sandulenko
svn-id: r52210
2010-07-31OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for ↵Alejandro Marzini
GLES). General cleanup and commenting. svn-id: r51559
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-30SDL/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-30SDL: Add SDL backend subfolders paths to makefile MODULE_DIRS.Alejandro Marzini
This should fix subfolders sources not recompiling after a header change. svn-id: r51489
2010-07-29BUILD: Unify how MODULE_DIRS is computed for backendsMax Horn
This should help avoid situations where MODULE_DIRS is not set to a complete list of build dirs (which causes troubles with the automatic header dependency detection logic). On the long run, we should replace the relevant code by a macro or also use rules.mk for this (with yet another if/else case add to it). svn-id: r51467
2010-07-23SDL: Fix bug #3025258Eugene Sandulenko
Bug #3025258: "Cursor Leaves Trail in GUI when Screen is Shaking". Based on patch provided by eriktorbjorn but extended with another edge case. svn-id: r51212
2010-07-19SDL: Hack to handle special SDL events.Alejandro Marzini
svn-id: r51015
2010-07-16Added basic cursor drawing.Alejandro Marzini
svn-id: r50954
2010-07-15Fixed doing OpenGL calls before a graphical context was created.Alejandro Marzini
svn-id: r50905
2010-07-13Check if USE_OPENGL is defined for compiling OpenGL code.Alejandro Marzini
svn-id: r50842
2010-07-12Get rid of yet another global object with constructorMax Horn
svn-id: r50835
2010-07-12SDL: Tweak OSystem_SDL::detectSupportedFormats a bitMax Horn
Previously, the code in OSystem_SDL::detectSupportedFormats assumed that the arrays RGBList and BGRList had the exact same length, and that the entries in each mirrored those in the other 100%. Instead of relying on that, the code now simply iterates over both lists separately. This changes the resulting order a bit, but since we never gave any guarantees on that, this should not matter. svn-id: r50833
2010-07-12SDL: Overhaul OSystem_SDL::getSupportedFormatsMax Horn
* Do not use global constructor for the RGBList and BGRList tables anymore, by moving them inside a function. * Update the list of supported formats if the hardware screen surface changes. Previously, the list of supported pixel formats (and its order) was computed only once and then never changed. svn-id: r50832
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-10Added BaseSdlGraphicsManager. Added GLTexture. Alejandro Marzini
svn-id: r50795
2010-07-03Cleanup and documentation.Alejandro Marzini
svn-id: r50610
2010-07-02Cleanup and documentation.Alejandro Marzini
svn-id: r50589
2010-06-30Modularized GP2XWIZ backend.Alejandro Marzini
svn-id: r50514
2010-06-29Override setupIcon() for both Mac OS X and SymbianOS, they have their own icons.Matthew Hoops
svn-id: r50476
2010-06-29Updated makefile. Fixed compile errors.Alejandro Marzini
svn-id: r50475
2010-06-29Modularized Linuxmoto port.Alejandro Marzini
svn-id: r50474
2010-06-28Renamed BufferingSDLMixerManager to DoubleBufferSDLMixerManager.Alejandro Marzini
svn-id: r50458
2010-06-27Fixed String conversion error.Alejandro Marzini
svn-id: r50370
2010-06-27Improved getDefaultConfigFileName(). Code cleanup.Alejandro Marzini
svn-id: r50364
2010-06-26Define 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-26Removed unused function, fixing a linker error.Alejandro Marzini
svn-id: r50343
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
2010-06-26Removed DEFAULT_CONFIG_FILE define in favor of new getConfigFileNameString ↵Alejandro Marzini
function. svn-id: r50301
2010-06-25Modularized Samsung TV port.Alejandro Marzini
svn-id: r50258
2010-06-25Fix linking on Mac OS X.Matthew Hoops
svn-id: r50256
2010-06-25Fix link error with duplicated name files.Alejandro Marzini
svn-id: r50255
2010-06-24Fix compile on Mac OS X (and probably *nix systems).Matthew Hoops
svn-id: r50254
2010-06-24Added missing header.Alejandro Marzini
svn-id: r50253
2010-06-24Created macosx port from sdl backend.Alejandro Marzini
svn-id: r50228