aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2011-09-24WebOS: Correct code convention and graphic errors.TomFrost
This is a mass commit for the following items: - Conversion of mixed and unaligned spaces/tabs to tabs - Moved static globals in webos_events to class members - Corrected variable naming convention to use underscores - Added a constructor to WebOSSdlEventSource to initialize variables. - Changed SDL getWidth and getHeight calls to getOverlayWidth and getOverlayHeight to support larger form factors (such as the HP TouchPad). - Removed unnecessary static getMillis() declaration and changed existing code to use the built-in getMillis().
2011-09-24WebOS: Enable scalers and Darwin compatibility.TomFrost
On Mac OS X (Darwin), there are minor differences in the 'sed' and 'install' tools that require slightly different usage. This distinction has been made in webos.mk, made possible by an additional flag in ./configure.
2011-09-03Merge branch 'master' of git://github.com/nexapps/scummvm into nexappsTomFrost
2011-08-22BADA: Strip trailing whitespaceSven Hesse
2011-08-22BADA: Strip off windows-style line endingsSven Hesse
2011-08-22BADA: Remove executable flag from filesSven Hesse
2011-08-21BADA: Remove incorrect BADA defined checkChris Warren-Smith
2011-08-21BADA: Fix to restore audio upon mobile call completionChris Warren-Smith
2011-08-21BADA: Cleanup unused screen interface implementationChris Warren-Smith
2011-08-21BADA: Moved timer manager to backends/timer/badaChris Warren-Smith
2011-08-21BADA: Fix to return correct integer valuesChris Warren-Smith
2011-08-21BADA: Fix for menu based quit handlingChris Warren-Smith
2011-08-21BADA: Hardcoded file system paths now defined as macrosChris Warren-Smith
2011-08-21BADA: Cleanup unused namespace declarationsChris Warren-Smith
2011-08-21BADA: Code formatting and style changes following reviewChris Warren-Smith
2011-08-21BADA: Review style changes. Fix for image skew in some gamesChris Warren-Smith
2011-08-21BADA: Review style changes. Cursor can now be positioned on top screen rowChris Warren-Smith
2011-08-21BADA: Increased audio thread priority to avoid sound skipping in some gamesChris Warren-Smith
2011-08-21BADA: Code formatting; replace tab before else with spaceChris Warren-Smith
2011-08-21BADA: Fix for lockup when game thread fails to respond to quit eventChris Warren-Smith
2011-08-21BADA: Prevent end-of-file state causing err() returning trueChris Warren-Smith
2011-08-21BADA: Fix formatting and non bada host compile errorChris Warren-Smith
2011-08-21BADA: Allow clean shutdown when encountering an errorChris Warren-Smith
2011-08-21BADA: Increased cache size for slightly improved startup timesChris Warren-Smith
2011-08-21BADA: Further control UI enhancementsChris Warren-Smith
2011-08-21BADA: Camera button can now set shortcutsChris Warren-Smith
2011-08-21BADA: Renamed the customised vkeybd layout to vkeybd_badaChris Warren-Smith
2011-08-21BADA: Initial BADA port implementationChris Warren-Smith
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-10WebOS: not handling keyboard dismiss in keydown breaks thingsDoron Rosenberg
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