Johannes Schickel
9816e4f350
OPENGL: Remove support for ARGB8888.
...
This used to be used by Sword25. Since it is not supported by GLES and no
engine code uses it we drop support. Hopefully, this helps people to realize
they should not use that format in their engine.
2016-03-16 20:29:24 +01:00
Johannes Schickel
e11f4df111
OPENGL: Rename GLCALL to GL_CALL.
2016-03-16 20:29:24 +01:00
Johannes Schickel
4a781737c1
OPENGL: Resolve OpenGL functions on run-time.
...
Formerly we relied on static linkage. However, in the presense of modern
OpenGL (ES) implementations it is not easily identifable which library to link
against. For example, on Linux amd64 with nVidia drivers and SDL2 setup to
create a GLES 1.1 context one would need to link against libGL.so. However,
traditionally GLES 1.1 required to link against libGLESv1_CM.so. To prevent a
huge mess we simply resolve the OpenGL functions on run-time now and stop
linking against a static library (in most cases).
GLES support needs to be enabled manually on configure time for now.
Tizen changes have NOT been tested.
2016-03-16 20:29:24 +01:00
Johannes Schickel
b3b3d37e3b
OPENGL: Define GLCALL in opengl-sys.h.
...
debug.h is now always included and all calls should be made through GLCALL.
2016-03-16 20:29:24 +01:00
Johannes Schickel
8f3783da09
OPENGL: Add functionality to query OpenGL functions on runtime.
...
This can and will be used for future extension usage support.
Tizen changes have been untested.
2016-03-16 20:29:24 +01:00
Johannes Schickel
e5e234b864
OPENGL: Refactor GL extension handling slightly.
2016-03-16 20:29:24 +01:00
Johannes Schickel
afe8ea139c
MACOSX: Add comment about track ID search loop.
2016-03-15 14:25:42 +01:00
Johannes Schickel
7725e00e9a
LINUX: Guard Linux audio CD code.
2016-03-15 14:24:23 +01:00
Johannes Schickel
f75bc48141
MACOSX: Guard audio cd code by define check.
2016-03-15 14:24:23 +01:00
Johannes Schickel
ad678cf083
MACOSX: Replace manual uint parsing by strtol.
2016-03-15 14:24:23 +01:00
Johannes Schickel
6a127df564
WIN32: Cleanup header includes for AudioCD code.
2016-03-14 01:04:11 +01:00
Johannes Schickel
88f8ecde0b
WIN32: Supply required DDK headers for older MSVC.
...
Header file taken from MinGW's w32api 4.0.3.
2016-03-14 01:03:13 +01:00
Johannes Schickel
2872c7f9eb
WIN32: Fix compilation with MinGW-w64.
2016-03-13 20:44:04 +01:00
Johannes Schickel
045b583141
WIN32: Guard AudioCD code by WIN32 check.
2016-03-13 20:44:04 +01:00
Johannes Schickel
075bde796e
WIN32: Silence warning in AudioCD code.
2016-03-13 20:44:04 +01:00
Johannes Schickel
b9b3d4557c
WIN32: Fix AudioCD compilation.
2016-03-13 20:44:04 +01:00
Johannes Schickel
5e0b136992
BACKENDS: Fill buffer at start of AudioCD playback.
...
As suggested by clone2727.
2016-03-13 15:45:19 +01:00
Johannes Schickel
5340df3faf
POSIX: Cleanup AudioCD manager creation.
2016-03-13 14:20:20 +01:00
Johannes Schickel
8cd4b881e3
BACKENDS: Add ScummVM license header for AudioCD code.
...
As discussed with clone2727.
2016-03-13 14:16:13 +01:00
Johannes Schickel
b32f347531
SDL: Get rid of reference to SDL 1.3.
...
We only support SDL 1.2 and SDL 2.
2016-03-13 14:07:56 +01:00
Johannes Schickel
90899860b4
BACKENDS: Formatting fixes.
2016-03-13 14:06:20 +01:00
Matthew Hoops
c6c0f527a7
BACKENDS: Switch to CDROMREADRAW for Linux audio CD
...
CDROMREADAUDIO seems to crash the kernel when ejecting while playing. Let's try to avoid that.
2016-03-13 13:57:30 +01:00
Matthew Hoops
41a1dcb0bb
BACKENDS: Switch to a common base class for threaded audio CD streams
2016-03-13 13:57:24 +01:00
Matthew Hoops
aa6ff44440
BACKENDS: Only expose one set of functions for AudioCDManager
...
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13 13:57:19 +01:00
Matthew Hoops
dc0d4fcf30
BACKENDS: Add support for opening a CD on Mac OS X by path or drive
2016-03-13 13:57:13 +01:00
Matthew Hoops
4a6c7b5c83
BACKENDS: Add support for opening a CD on Windows by drive
2016-03-13 13:57:09 +01:00
Matthew Hoops
442f91c622
BACKENDS: Add support for opening a CD on Linux by path or drive
2016-03-13 13:57:05 +01:00
Matthew Hoops
1626fbd633
BACKENDS: Allow for specifying a drive via the cdrom option
2016-03-13 13:57:01 +01:00
Matthew Hoops
e39faa239a
BACKENDS: Use a second thread to assist in buffering Win32 CD audio
2016-03-13 13:56:56 +01:00
Matthew Hoops
2aa2a6b56c
BACKENDS: Add a Win32 audio CD player
2016-03-13 13:56:51 +01:00
Matthew Hoops
2ee85fcbd9
BACKENDS: Use a threading for buffering Linux CD audio
2016-03-13 13:56:46 +01:00
Matthew Hoops
91d695d4a2
BACKENDS: Detect the CD drive from the game's path on Linux
2016-03-13 13:56:39 +01:00
Matthew Hoops
a1a4fc0d51
BACKENDS: Add a Linux CD-ROM audio player
2016-03-13 13:56:28 +01:00
Matthew Hoops
47a82f2d1b
BACKENDS: Add a custom Mac OS X CD audio manager
...
Since Mac OS X Carbon/Cocoa API isn't stable (in that it's changed multiple times over the years). Maintaining two versions of the same code (one in some foreign language with overly long names) isn't very appealing to me.
2016-03-13 13:53:55 +01:00
Matthew Hoops
55a87c59b6
BACKENDS: Use a virtual function for creating the SDL audio CD manager
2016-03-13 13:53:40 +01:00
Matthew Hoops
30e68efac4
BACKENDS: Add a closeCD() function to the AudioCDManager
2016-03-13 13:53:35 +01:00
Matthew Hoops
fb6fe1332a
BACKENDS: Move to an openCD() without parameters as the public API
2016-03-13 13:52:24 +01:00
Johannes Schickel
4ee3623f5d
SDL: Fix compilation with SDL2 and MSVC2015.
2016-03-09 22:03:47 +01:00
Eugene Sandulenko
f5f41d7daa
GCW0: Remove hardcoded list of skipped engines.
...
Now we rely on highres feature of the backends
2016-03-09 16:33:52 +01:00
Eugene Sandulenko
8b3f27753e
GCW0: Disabled more 640x480-only engines
2016-03-05 13:05:21 +01:00
Johannes Schickel
1f217e3834
WIN32: Fix invalid array accesses when MIDI device listing fails.
2016-03-01 01:14:17 +01:00
Johannes Schickel
12046ea0d7
BACKENDS: Remove request to mail Fingolfin.
2016-02-28 07:48:12 +01:00
Tarek Soliman
ae0ca6c1c2
MAEMO: Update debian/changelog
2016-02-26 21:19:33 -06:00
Eugene Sandulenko
1d1e6ed274
GCW0: Packaging fixes
2016-02-26 21:17:27 +01:00
Eugene Sandulenko
0fe8260a98
GCW0: Update port building and provide port-specific README
...
Fluidsynth is too problematic, stutters with some games,
so disabling it for the time being.
2016-02-26 20:57:27 +01:00
Marcus Comstedt
9d2d0cafd8
DREAMCAST: Re-fix listing of savegames
...
The roles of the pattern and filename were reversed, so fixed that.
2016-02-26 19:20:45 +01:00
Vincent Bénony
587d5d5703
IOS: Fixes savegame deletion on sandboxed iOS devices
2016-02-26 09:50:39 +01:00
Johannes Schickel
d6d63a16e2
BACKENDS: Make DefaultSaveFileManager case insensitive.
...
For this we introduce a file cache inside DefaultSaveFileManager similar to
what we use inside FSDirectory. However, we only do small updates for newly
created saves (via openForSaving) or for removed saves (via removeSavefile).
Re-caching is done whenever the savepath changes.
Tizen changes have not been tested.
2016-02-25 22:15:45 +01:00
Johannes Schickel
47f82d439d
DREAMCAST: Fix listing of savefiles.
...
We introduced a new pattern '#' in 06641f29a7 .
Starting from that commit all backends were supposed to support it. Dreamcast
was missed. To support it in Dreamcast we now use Common::String::matchString
to do pattern matching.
2016-02-25 21:05:53 +01:00
Eugene Sandulenko
4411155869
GCW0: Trigger keyboard only on button down, not on up, otherwise it required holding
2016-02-24 23:31:37 +01:00