aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2011-08-18SDL: Fix typo.Johannes Schickel
2011-08-12OPENGL: Fix aspect ratio correction behavior.Johannes Schickel
Now only 320x200 and 640x400 will result in aspect ratio correction to be used if the user requested it. This should fix some strechting in Myst/Riven.
2011-08-12OPENGLSDL: Do not change requested window size on resize.Johannes Schickel
This should help fix a lock up on window managers, which will try to force the ScummVM window to a certain size, by just requesting the same size over and over again. Now we get black borders even in windowed mode when the aspect of the window does not match the aspect of the game screen (and we are not in "normal" mode), but that is usually the same in video players too, so shouldn't be too bad.
2011-08-11SDL: Previous commit broke compilation on MSVCPaul 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-11SDL: 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-10TIMER: Add a comment to explain why we remove the name in removeTimerProc.Johannes Schickel
2011-08-10TIMER: Remove all names associated with a callback, since all callbacks are ↵Johannes Schickel
removed. This makes the name removal consistent with the timer proc removal. It seems we only allow a specific timer proc being added once anymore though. So this should not change too much right now.
2011-08-10TIMER: Remove name of callback in removeTimerProc.Johannes Schickel
This should fix #3389673 "LOOM: CD-Version crashes at start". It also fixes the same error showing up for me in Monkey CD. The doc changes in 4c7958450f628937270f claims the name is used for the event recorder, but as far as I can tell it is not used right now. Thus depending on how it is used the behavior of SCUMM removing and adding the same timer aagain *might* cause problems. In any way we need to remove the name in removeTimerProc, else RTL + launching the same game again would be broken too.
2011-08-09BACKENDS: Fix compilation.Johannes Schickel
2011-08-09DINGUX: hopefully fix the cursor palette problemFabio Battaglia
The port wasn't keeping track of the CursorPalette feature correctly. This should fix it for good.
2011-08-09DINGUX: fix compilationFabio Battaglia
2011-08-09OPENGL: Add include guard to gltexture.hJohannes Schickel
2011-08-09OPENGL: Added a temporary hack to fix compilation under Windows, after the ↵Filippos Karapetis
latest changes to the SDL interface layer
2011-08-09SDL: Slight clean up in the surface based graphics manager.Johannes Schickel
2011-08-09SDL: Take advantage of SdlGraphicsManager.Johannes Schickel
This gets rid of the hacks, where SdlEventSource added events with custom type numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager. Furthermore it get rids of the uninituitive and hard to trace way of assigning the proper mouse coordinates to mouse related events. Formerly it passed the real screen coordinates through the even dispatching api to the graphics manager (at least hopefully ;-) and let that handle creating a new event with the proper coordinates. Now instead SdlEventSource handles the proper coordinate setup itself. Since this is a behavior change and I can not test all the SDL based small devices ports this commit might break compilation for them and more serve it might also break mouse position behavior. If any of that occurs I am sorry about it.
2011-08-09SDL: 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-09SDL: Add a new base class for graphics managers utilizing SDL.Johannes Schickel
2011-08-09BACKENDS: Add PaletteManager interface as comments to GraphicsManager.Johannes Schickel
This should be a little more comfortable about finding out what's needed to implement a new graphics manager.
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-08-07PSP: Pass the stream as reference to PngLoader.Christoph Mallon
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-08-07JANITORIAL: Add missing NL at EOF.Christoph Mallon
2011-08-06BACKENDS: Implement notifyError() and clearError() for Win32TaskbarManagerLittleboy
2011-08-06SDL: Don't rely on SDL keycodes and OSystem keycodes being the same.Bastien Bouclet
SDL 1.3 shuffles keycodes around ...
2011-08-06RECORDER: Added stub for delayMillis() processingEugene Sandulenko
2011-08-06JANITORIAL: Remove SVN keywordsEugene Sandulenko
2011-08-06TIMER: Implemented checks for duplicated timersEugene Sandulenko
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-08-02MACOSX: Turned update support off by default, simplified and cleaned the ↵Oystein Eftevaag
pull request
2011-08-02Merge pull request #52 from CeRiAl/macosx-sparkleOystein Eftevaag
MACOSX: Add Sparkle support
2011-07-20WINCE: Update port specific READMECeRiAl
2011-07-20WINCE: Change keymapping for AGI and Simon 1 & 2CeRiAl
2011-07-20WINCE: Move initialization of TimerManager to overloaded init() method.CeRiAl
2011-07-20WINCE: Update port specific READMECeRiAl
2011-07-19MACOSX/UPDATES: Add comments which describe what Sparkle isCeRiAl
2011-07-19MACOSX/UPDATES: Fix compilation for Mac OSX 10.4+CeRiAl
2011-07-19MACOSX/UPDATES: Streamline UpdateManagerCeRiAl
Moved UpdateManager related code from backends/modular-backend.* to common/system.*. Added switch --enable/disable-updates to be able to disable updates support generally.
2011-07-19MACOSX: Add Sparkle supportCeRiAl
2011-07-19JANITORIAL: Fix MSVC warningsLittleboy
- Conversion from double to float - Unary minus operator applied to unsigned type - ARRAYSIZE redefinition
2011-07-17DC: Directory handling fixesMarcus Comstedt
* Include directory nodes in FSList sent to detectGames - This is required for correct detection of toon. * Don't add / at the end of directories found in getChildren - It looks like that behaviour was removed from posix-fs a long time ago, and now there's apparently code depending on directories _not_ having a / at the end of their name... * Treat games detected in subdirs as duplicates - This is a workaround for a detection bug in toon; it will incorrectly detect the game in the MISC subdirectory as well. * Don't avoid directories called "install" in the game selector - I don't know if the original reason for ignoring "install" is still valid, but the code for doing do so was broken anyway.
2011-07-15WINCE: Change default values for "FM_high_quality" & "high_sample_rate"CeRiAl
Changed the default values from "false" to "true" as current devices are fast enough to handle this. It's still possible to change the values to "false" if the device isn't fast enough.
2011-07-13BACKENDS: Fix spelling of 'Mac OS X'Matthew Hoops
2011-07-13BACKENDS: Fix compilation on case-sensitive Mac OS XMatthew Hoops
2011-07-13BACKENDS: Fix a typoMatthew Hoops
2011-07-13BACKENDS: Remove unneeded define checkMatthew Hoops
2011-07-13BACKENDS: Rename appMenu_osx.* to appmenu_osx.*Matthew Hoops
2011-07-13BACKENDS: Fix compilation on Mac OS X without translation supportMatthew Hoops
2011-07-12Merge pull request #51 from CeRiAl/macosx-appmenu-i18nIsmail Khatib
MACOSX: Add i18n support for Mac OSX application menu
2011-07-12MACOSX: Fix application menu i18n compilation for Mac OSX 10.4+CeRiAl
2011-07-08OPENPANDORA: Add explicit location for 'themepath' to the loader script.David-John Willis