Commit Graph

5527 Commits

Author SHA1 Message Date
Johannes Schickel
ed698701d7 SDL: Fix compilation with SDL2. 2015-05-20 00:27:23 +02:00
Johannes Schickel
c300944335 SDL: Add TODO about fullscreen modes to OpenGL SDL code. 2015-05-16 16:57:44 +02:00
Littleboy
40e019efd4 SDL: Restore the original video mode when unloading the Surface graphics manager
We set a custom video mode that might have a different BPP from the default. To ensure that other graphics managers will get the proper results when listing available video modes, we need to restore the initial BPP when unloading.

This fixes an issue when switching to OpenGL on Windows 8 and later. On those OSes, fullscreen OpenGL only has a 32bpp mode. It is correctly listed in the options but we call SLD_SetVideoMode later in the surface graphics manager. When we list the mode again after a switch, the internally selected BPP is still 16 and we fail to find any available fullscreen modes.
2015-05-16 01:29:15 -04:00
Littleboy
ed3a32a91a SDL: Check for NULL when listing available modes via SDL_ListModes
It can be returned when there are no dimensions available for the currently selected pixel format
2015-05-15 23:30:02 -04:00
Tarek Soliman
0aa512da12 MAEMO: Fix compilation.
Related to 71cc9e41e8
2015-04-20 12:12:34 -05:00
Martin Kiewitz
7c967e2f19 LOG: fix month in log file 2015-03-20 11:26:42 +01:00
Einar Johan Trøan Sømåen
07623530f3 SDL: Special case the call to SDL_CreateThread for SDL2, since SDL2 requires threads to be named.
- Fixes compilation on OS X with SDL2 enabled, SDL1 builds should be entirely unaffected.
2015-03-06 02:27:48 +01:00
Filippos Karapetis
6cb0a4c1b0 SDL: Fix compilation with SDL 2.0 under MSVC
In SDL 2.0, intrin.h is now included in SDL_cpuinfo.h, which includes
setjmp.h. SDL_cpuinfo.h is included from SDL.h and SDL_syswm.h.
Thus, we remove the exceptions for setjmp and longjmp before these two
includes.
2015-03-06 02:57:09 +02:00
Johannes Schickel
c4317a8da1 SDL: Fake key events for unassociated TEXTINPUT events. 2015-03-05 20:08:35 +01:00
Johannes Schickel
26fb7b2c8f SDL: Remove TEXTINPUT events we associate with KEYDOWN. 2015-03-05 20:08:34 +01:00
Matthew Hoops
5936f7c9d1 MACOSX: Fix compilation
Broken by 3f22c12
2015-03-05 08:02:54 -05:00
Johannes Schickel
4d13d44f8a Merge pull request #572 from lordhoto/sdl2-support
SDL: Add experimental support for SDL2
2015-03-05 01:10:34 +01:00
Johannes Schickel
066e71f61a SDL: Call setupIcon for each window creation with SDL2.
This should make sure that the logo is properly set on Win32 with SDL2.
2015-03-01 16:21:53 +01:00
Johannes Schickel
71cc9e41e8 WINCE: Fix compilation. 2015-02-18 05:24:45 +01:00
Johannes Schickel
3745ddbefd WIN32: Add experimental SDL2 support.
Based on changes by aquadran.
2015-02-16 02:13:11 +01:00
Johannes Schickel
3f22c12c56 SDL: Handle icon setup in SdlWindow. 2015-02-16 01:25:22 +01:00
Johannes Schickel
627d766325 SDL: Add basic abstraction class for the SDL window. 2015-02-16 01:03:29 +01:00
Hubert Maier
5eefa62899 AMIGAOS: Re-add a DosList feature
To keep consistency with the original code i re-added the DosList feature dol_Port (which was taken out due to a compiler error using SDK 53.24 and was named wrong anyway).
It offers a message port for the DosList.
2015-01-26 19:56:24 +02:00
Johannes Schickel
b00050439f SDL: Guard audio CD code to be SDL 1.2 only. 2015-01-25 21:51:54 +01:00
Johannes Schickel
99f4dafa72 SDL: Also print audio driver used when built with SDL2. 2015-01-25 21:23:26 +01:00
Johannes Schickel
8d57b766a9 SDL: Fix typo. 2015-01-25 21:11:18 +01:00
Johannes Schickel
8530997fff SDL: Add experimental support for SDL2.
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2015-01-25 20:23:25 +01:00
Johannes Schickel
d97889cea7 SDL: Cleanup graphics manager switching a bit. 2015-01-25 19:26:15 +01:00
Johannes Schickel
3a2db0135d SDL: Refactor WM specific functionality into SdlGraphicsManager. 2015-01-25 18:57:38 +01:00
Alyssa Milburn
cac7be425a ANDROID: Remove plugins/unpacker from makefile. 2015-01-18 12:04:15 +01:00
Thierry Crozat
1244597849 JANITORIAL: Update copyright year 2015-01-18 02:24:51 +00:00
Eugene Sandulenko
dc6c1a5cab Merge pull request #558 from klusark/patch-3
SDL: Warn if the selected joystick does not exist
2015-01-12 00:36:01 +01:00
Eugene Sandulenko
d1292c8e59 Merge pull request #560 from klusark/unpack
ANDROID: Remove unpacker and fix support for non arm
2015-01-11 21:58:32 +01:00
Eugene Sandulenko
8e0d7d7255 Merge pull request #559 from fedor4ever/master
VIDEO: Add Theora support to systems which use libtremor
2015-01-11 21:12:01 +01:00
Johannes Schickel
1124d1db31 OPENGL: Fix truncation issue resulting in wrong mouse coordinates. 2015-01-07 20:38:20 +01:00
Johannes Schickel
f879f8af04 OPENGL: Limit mouse cursor drawing to inside game screen when no overlay is visible. 2015-01-07 20:38:17 +01:00
Fedor Strizhnev
dd5f5588d9 SYMBIAN: Updated settings 2015-01-06 12:45:55 +03:00
Fedor Strizhnev
762910d8bb SYMBIAN: Updated settings and moved to config.mmh 2015-01-06 12:45:20 +03:00
Joel Teichroeb
59934881a1 ANDROID: Remove unpacker and fix support for non arm 2015-01-05 20:18:31 -08:00
Eugene Sandulenko
aeac0d821f Merge pull request #555 from fedor4ever/master
SYMBIAN: Add symbian support for access and prince engines
2015-01-04 19:59:06 +01:00
Eugene Sandulenko
f92e569570 Merge pull request #425 from klusark/android
ANDROID: Modernize build system
2015-01-04 19:53:41 +01:00
Joel Teichroeb
ee9b60676a SDL: Warn if the selected joystick does not exist 2015-01-04 09:39:55 -08:00
Fedor Strizhnev
e27f5f6988 Symbian: completely disabled MT32 2014-12-30 19:05:27 +03:00
Fedor Strizhnev
da18e796d0 SYMBIAN: Add symbian support for access and prince engines 2014-12-30 17:23:30 +03:00
Matthew Hoops
b577da29b5 ANDROID: Delay deleting a local ref until it's no longer used
Should fix bug #6741
2014-11-15 09:21:36 -05:00
Filippos Karapetis
d2c69a79fe BACKENDS: Remove trailing whitespace 2014-10-28 15:38:51 +02:00
Eugene Sandulenko
238b3e1ac2 GCW0: Hardcoded (for now) GCW0 controls 2014-10-27 00:03:32 +01:00
Eugene Sandulenko
9b8b737fad KEYMAPPER: Fix off-by-one error with keymapper action names 2014-10-26 22:20:57 +01:00
Eugene Sandulenko
293a0d0046 GCW0: Create target with unstripped binaries 2014-10-26 14:32:47 -04:00
David Turner
d5d2b39e08 Merge pull request #524 from AReim1982/WII-1.7.0-Beta-2
WII: missing ASCII codes for some keys
2014-10-26 16:45:05 +00:00
Eugene Sandulenko
d4c687ddc8 GCW0: Further work on the port 2014-10-26 07:00:36 -04:00
Alexander Reim
e738de70e5 WII: missing ASCII codes for some keys 2014-10-23 09:19:48 +02:00
Willem Jan Palenstijn
4b09957386 AMIGAOS4: Fix getParent() for non-directories
The previous attempt in d32816c0 was broken because it failed
to realize that _pFileLock is only set for directories.

This patch also tries to clarify this by making the root node logic
explicit in isRootNode().
2014-10-11 21:13:13 +02:00
Tobia Tesan
2ea3ae9c57 UNITY: Check for GLib version at runtime
g_type_init() is deprecated since 2.36
2014-10-06 16:50:32 +02:00
Tobia Tesan
e96cba8bf3 UNITY: Call g_type_init but define DISABLE_DEPRECATION_WARNINGS 2014-10-06 16:26:28 +02:00