Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-11 | SDL: Remove misleading comments, based on incomplete information at MSDN. ↵ | Kirben | |
GetLocalInfo is supported on Windows 95 onwards, but MSDN fails to mention older Windows versions. | |||
2013-11-03 | SDL: Fix invalid memory access in getSystemLanguage. | Johannes Schickel | |
A call to setlocale can invalidate the string a previous setlocale call returned. Instead of saving a pointer we copy the returned string now. This, for example, fixes invalid memory access on my system. See de8da01b0e8a309b9ed3f5b0f152ebbcf8f4af37 for the commit introducing the invalid memory access. | |||
2013-11-03 | SDL: Remove side effect of setlocale() call to get Language. | D G Turner | |
This is to fix bug #3615148 - "ALL: sscanf("%f"), atof() etc. not portable due to Locale" The side effect of setlocale("") is to change the active locale from the default of "C" to the detected system locale, but this changes the behaviour of sscanf() and several other functions in a system dependent and non-portable way. This has caused bugs in the ZVISION engine when running Zork Nemesis. The solution is to restore the default "C" locale after the call to get the language. Thanks to criezy for working out this fix. | |||
2013-10-25 | AMIGAOS4: Make use of updated function names (SDK53.24) and remove unused code | Strangerke | |
Courtesy of Raziel^ | |||
2013-10-24 | SDL: Further small cleanup related to manager switching. | Johannes Schickel | |
2013-10-24 | SDL: Make activateManager/deactivateManager SdlGraphicsManager specific. | Johannes Schickel | |
We can do this now that we can use virtual inheritance and dynamic_cast because we enabled RTTI. | |||
2013-10-24 | SDL: Let SdlGraphicsManager inherit from GraphicsManager. | Johannes Schickel | |
2013-10-23 | SDL: Reduce code duplication a bit. | Johannes Schickel | |
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses overwriting this) we simply initialize it in OSystem_SDL::init. | |||
2013-10-23 | SDL: Fix default graphics mode for switchable case. | Johannes Schickel | |
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns the index in the table returned by getSupportedGraphicsModes. Now the correct ID is searched and then used. | |||
2013-10-23 | SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL. | Johannes Schickel | |
2013-10-23 | SDL: Only allow switching of SurfaceSDL <-> OpenGL when no custom manager is ↵ | Johannes Schickel | |
used. | |||
2013-10-23 | SDL: Make setupGraphicsModes non-virtual. | Johannes Schickel | |
The logic of switching the managers is pretty much fixed at the same level and cannot be easily overwritten. | |||
2013-10-23 | SDL: Simplify initial graphics manager selection for OpenGL. | Johannes Schickel | |
2013-10-23 | SDL: Get rid of _glModesCount. | Johannes Schickel | |
2013-10-23 | SDL: Get rid of loop in OSystem_SDL::setGraphicsMode. | Johannes Schickel | |
2013-10-23 | SDL: Clean up graphics mode handling for OpenGL backend. | Johannes Schickel | |
Instead of custom memory management Common::Array is used now. | |||
2013-10-23 | SDL: Always initialize video subsystem in initSDL. | Johannes Schickel | |
2013-10-23 | SDL: Clean up graphics manager switching slighty. | Johannes Schickel | |
Sadly this also requires us to extend GraphicsManager for this SDL specific feature. However, since that's only used in the SDL backend and Tizen it should be fine for now... | |||
2013-10-20 | Merge pull request #408 from lordhoto/opengl-replacement | Johannes Schickel | |
OpenGL revamp | |||
2013-10-19 | OPENGL/SDL: Add screenshot support. | Johannes Schickel | |
2013-10-19 | TIZEN: Add some further OpenGL related changes by Chris. | Johannes Schickel | |
2013-10-19 | OPENGL: Limit maximum Surface size to maximum texture size. | Johannes Schickel | |
This is mostly aimed at old graphics chips. For example, wjp's old laptop only supports 1024x1024 textures but has a 1280x800 screen. Switching to fullscreen would create a bigger overlay than supported. Now it will get limited to an smaller resolution and then scaled too. Alternatively we could think of tiling surfaces into textures. But then handling scaling would be more complicated since it might result in artifacts on texture tile borders. | |||
2013-10-19 | SDL: Send EVENT_SCREEN_CHANGED after receiving SDL_VIDEORESIZE when necessary. | Johannes Schickel | |
This fixes some ugly crashes when resizing the window in OpenGL mode. | |||
2013-10-19 | TIZEN: Adapt to new OpenGL code. | Johannes Schickel | |
Thanks to Chris Warren-Smith for testing this a bit. | |||
2013-10-19 | OPENGL: Implement dirty rect handling. | Johannes Schickel | |
2013-10-19 | SDL: Use OSD in OpenGL SDL backend. | Johannes Schickel | |
2013-10-19 | OPENGL: Add OSD support. | Johannes Schickel | |
2013-10-19 | SDL: Add a OpenGL SDL backend and hook it into the SDL backend. | Johannes Schickel | |
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL creation has been adapted since it uses a different constructor now. | |||
2013-10-19 | OPENGL: Add new generic OpenGL (ES) backend. | Johannes Schickel | |
This backend is based on ideas of the old OpenGL backend, of the Android GL backend and of the iPhone GL backend. | |||
2013-10-09 | ANDROID: Really fix compilation. | D G Turner | |
The vanilla android toolchain even is unhappy when unknown folders are present in the resources directory, so have moved the ouya specific resources out to another directory. | |||
2013-10-09 | ANDROID: Fix compilation. | D G Turner | |
The aapt throws an "invalid resource directory name" if the resource directory name is not known to the tools. Unfortunately, "values-television" is an OUYA specific addition and thus breaks with the standard vanilla Android toolchain. | |||
2013-10-08 | Merge pull request #372 from zeldin/ouya | David Turner | |
Basic OUYA support | |||
2013-10-05 | BACKENDS: Remove OpenGL and OpenGL SDL backend. | Johannes Schickel | |
This breaks our Tizen port. | |||
2013-09-22 | EVENTS: Initialize class variable. CID 1002944 | Eugene Sandulenko | |
2013-08-23 | TIZEN: Silence cppcheck warning in scanStringUntil() | Torbjörn Andersson | |
This is consistent with scanString(), and I have verified that the included test cases still work. | |||
2013-08-18 | ANDROID: Add some margins when screen is a TV | Marcus Comstedt | |
2013-08-17 | TIZEN: updates for tizen 2.2 SDK | Chris Warren-Smith | |
2013-08-16 | VKEYBD: Make code agnostic of OverlayColor. | Johannes Schickel | |
This removes the use of OverlayColor in vkeybd and supports both 16 and 32bit overlays. | |||
2013-08-13 | DC: Use const version of ConfigManager::getGameDomains. | Johannes Schickel | |
This should fix compilation for the DC port. | |||
2013-08-08 | ANDROID: Enter main menu on middle mouse press | Marcus Comstedt | |
2013-08-08 | ANDROID: Add support for joystick motion | Marcus Comstedt | |
2013-08-08 | ANDROID: Add gamepad button support | Marcus Comstedt | |
2013-08-07 | IPHONE: Fix accidental double free. | Johannes Schickel | |
This was a copy&paste error. I also adapted the comment to be more clear. | |||
2013-08-07 | ANDROID: Add OUYA icon and intent | Marcus Comstedt | |
2013-08-06 | VKEYBD: Do not access Surface::pixels anymore. | Johannes Schickel | |
2013-08-06 | N64: Do not access Surface::pixels anymore. | Johannes Schickel | |
2013-08-06 | DC: Do not access Surface::pixels directly. | Johannes Schickel | |
2013-08-06 | ANDROID: Do not access Surface::pixels directly. | Johannes Schickel | |
2013-08-06 | PSP: Do not access Surface::pixels directly. | Johannes Schickel | |
2013-08-06 | IPHONE: Do not access Surface::pixels directly. | Johannes Schickel | |