Commit Graph

6038 Commits

Author SHA1 Message Date
Colin Snover
c294e4fbf8 MACOS: Fix sign comparison 2016-07-10 10:50:05 -05:00
Martin Kiewitz
29c31f8308 Revert "SDL: Fix keyboard on macOS, fix directional keypad"
This reverts commit 9aa7174218.

For now.
2016-07-03 19:43:56 +02:00
Martin Kiewitz
9aa7174218 SDL: Fix keyboard on macOS, when using SDL2, fix directional keypad
This will hopefully fully fix keyboard issues for macOS / SDL2,
for example when pressing "alt-x".

Also reset .ascii to 0, when Num-Lock is NOT enabled and keypad
directional keys are pressed. This was fixed inside AGI+SCI
previously.

The latter shouldn't cause issues, but in case it does, the
affected engine should get fixed and use keycodes instead.
2016-07-03 19:08:24 +02:00
Ben Castricum
da55658a80 SDL: Fix mouse trailing part of bug #7141
Overlays are shown with _currentShakePos offset too, so no need to
compensate the mousepointer position for overlays. This compensation
was done inconsistently in draw/undraw mouse causing the mouse trails.
2016-07-01 08:26:03 +02:00
Kirben
5181b50cea WIN32: Fix taskbar detection under Windows 10 onwards. 2016-06-08 10:06:57 +10:00
Kirben
9925851670 WIN32: Fix taskbar detection under Windows 10 onwards. 2016-06-08 09:56:18 +10:00
Eugene Sandulenko
b01aa4141e ANDROID: Set version code to 16. 15 was 1.8.1 2016-05-31 17:13:33 +02:00
Eugene Sandulenko
4dba5f5604 Merge pull request #763 from bluegr/winsparkle
UPDATES: Add support for WinSparkle
2016-05-29 14:46:56 +02:00
Torbjörn Andersson
85e55d0c6e JANITORIAL: Remove unnecessary semicolons 2016-05-25 05:37:07 +02:00
Alyssa Milburn
a32c53f936 ANDROID: Build against android-23 platform.
We seem to need this for the new manifest elements.
2016-05-23 09:33:11 +02:00
Filippos Karapetis
8d78615ac8 UPDATES: Fix indentation 2016-05-23 10:13:17 +03:00
Matthew Garrett
832d7bb289 ANDROID: Add support for ScummVM menu on Android TV devices
Android TV devices don't have menu buttons. Remotes should have a play/pause
button (which may send individual play and pause events rather than a
combined event) and gamepads should have a Y button. Use these to open the
menu.
2016-05-22 15:23:44 -07:00
Matthew Garrett
497859ad90 ANDROID: Add support for Leanback Launcher on Android TV
Android TV needs some modifications to the manifest and a new icon in order
for apps to appear in the launcher.
2016-05-22 15:23:44 -07:00
Filippos Karapetis
8b3a08047c UPDATES: Add support for WinSparkle 2016-05-22 18:52:33 +03:00
Johannes Schickel
c925e5b35c SDL: Make TEXTINPUT handling more reliable for SDL2.
This reduces the likelihood of entering two characters per keypress in our guy
on Windows. In fact, during my brief testing with the filter widget in the
launcher I was not able to trigger the former behavior at all anymore.
2016-05-22 13:09:24 +02:00
Tarek Soliman
e689b70b63 MAEMO: Update debian/changelog
sync with 1.8.1 release
2016-05-20 20:16:54 -05:00
lubomyr
961976f17e ANDROIDSDL: add androidsdl backend 2016-05-19 20:33:27 +02:00
Eugene Sandulenko
2cd0a99e2b Merge pull request #745 from Cruel/3ds
3DS: New Backend
2016-05-16 10:05:00 +02:00
Eugene Sandulenko
6aec69231f JANITORIAL: Indentation fixes 2016-05-13 12:27:11 +02:00
Eugene Sandulenko
005030ee23 Merge pull request #755 from raziel-/patch-2
AMIGAOS: Preparations for use with AmiUpdate
2016-05-13 12:21:05 +02:00
Johannes Schickel
8ff5329b49 OPENGL: Assure color attributes for shader pipeline are always set. 2016-05-03 20:43:18 +02:00
Eugene Sandulenko
050a1cd605 OPENGL: Fix potential crash 2016-05-02 15:19:07 +02:00
Hubert Maier
0f11864e8a Fix identation again
I should stop c&p'ing
2016-04-29 17:13:44 +03:00
Hubert Maier
4bad45cfd6 Remove periods 2016-04-29 14:08:54 +03:00
Hubert Maier
3e756da308 Code Formatting fixes 2016-04-29 14:06:02 +03:00
Hubert Maier
d9d5ea40df AMIGAOS: Preparations for use with AmiUpdate
Adding a bit of code to make ScummVM AmiUpdate aware.
Everything else will be dealt with through a (yet to finish) AmigaOS installer script and the entries in AmiUpdate's database.

I'd like to ask for hints regarding
- Code Formatting
- Optimizations
- Comments
- Obivous errors
or
- Ill-designed code.

It's not much code, but i'm sure i still messed up glorious either way
2016-04-28 21:24:12 +03:00
Johannes Schickel
bb6bf4b1cb GCW0: Attempt to fix out-of-tree packaging. 2016-04-24 05:03:25 +02:00
Thomas Edvalson
1531b4ddbf 3DS: Add config class/dialog, c-pad cursor control, and option to disable screens 2016-04-22 16:43:59 -04:00
Thomas Edvalson
bfb9ecec35 3DS: Add README 2016-04-19 14:52:58 -04:00
Thomas Edvalson
e8dcfc3a4e 3DS: Fix code styling, add license header, remove unused portdefs.h 2016-04-19 03:22:32 -04:00
Eugene Sandulenko
350bcc68c0 GCW0: Mention location of scummvm.log file in README 2016-04-18 08:48:16 +02:00
Eugene Sandulenko
1b06b58bf0 GCW0: Split README by chapters 2016-04-13 23:26:38 +02:00
Eugene Sandulenko
13685d3893 GCW0: Better bracket replacements in README 2016-04-13 22:49:34 +02:00
Eugene Sandulenko
cd01e2d546 GCW0: Attempt to fix README sections 2016-04-12 09:22:35 +02:00
Thomas Edvalson
a0cc562f1f 3DS: Use linear GPU texture downscaling for better legibility in hi-res games 2016-04-11 15:21:58 -04:00
Thomas Edvalson
f5d73cac8a 3DS: Add CIA format build, add timer handler thread, fix APT service suspending/sleeping/exiting 2016-04-11 15:15:42 -04:00
Eugene Sandulenko
3e568910c8 GCW0: Disable triple buffering.
Too many artifacts. It is not possible with current ScummVM
drawing approaches.
2016-04-10 16:36:42 +02:00
Eugene Sandulenko
a7930f2af7 GCW0: Enable triple buffering 2016-04-10 15:09:14 +02:00
Eugene Sandulenko
39dc1dd2e1 GCW0: Enable building with all scalers disabled 2016-04-10 14:06:34 +02:00
Eugene Sandulenko
849ab0d9d3 GCW0: Clean up build script 2016-04-10 13:57:02 +02:00
Eugene Sandulenko
777e6fde39 ALL: Split SMALL_SCREEN_DEVICE into GUI_ENABLE_KEYSDIALOG and GUI_ONLY_FULLSCREEN 2016-04-10 13:02:27 +02:00
Eugene Sandulenko
3d256150e1 UPDATES: Check that we're running in a bundle, and skip Sparkle initialization otherwise
This was leading to an unhandled exception within Sparkle code
which was hanging the application. This feature is good only for development
purposes, as convenient users are supposed to run ScummVM from the
supplied bundle.
2016-04-10 11:02:54 +02:00
Eugene Sandulenko
aa5432b0e9 UPDATES: Use new constants for MacOS X 10.10 2016-04-10 10:50:59 +02:00
Eugene Sandulenko
600520902e UPDATES: Plug memory leak 2016-04-10 01:39:04 +02:00
Eugene Sandulenko
c18a12453e UPDATES: Implemented method getLastUpdateCheckTimeAndDate()
Currently it uses methods and constants deprecated in 10.10.
10.10+ -specific code will follow
2016-04-09 17:04:04 +02:00
Johannes Schickel
1cbab62211 DC: Fix compilation errors due to AudioCD changes. 2016-04-06 23:40:26 +02:00
Thomas Edvalson
e2b9572a83 3DS: Initial commit 2016-04-06 02:12:02 -04:00
Eugene Sandulenko
a743ec2e07 UPDATES: Implement and use method for normalizing interval value to accepted values 2016-04-01 21:29:29 +02:00
Eugene Sandulenko
33dc840d2f UPDATES: Normalize update intervals at setting 2016-03-31 15:34:50 +02:00
Eugene Sandulenko
82963f7446 UPDATES: Read values from config file in MacOS X update manager 2016-03-31 09:38:28 +02:00
Eugene Sandulenko
73784c6a84 UPDATES: Made interval set/get functions accept normal integers 2016-03-30 19:27:59 +02:00
Thierry Crozat
e917971681 OS X: Clean taskbar code
This involves moving the NSDockTilePlugIn code to backend/taskbar
and fixing style to follow our coding conventions. One make target
was also renamed. All in all there is no change in functionality with this
commit.
2016-03-25 20:26:01 +00:00
Thierry Crozat
50f9f19927 OS X: Fix access to NSArray items with older SDKs 2016-03-25 18:30:48 +00:00
Thierry Crozat
24ce588b86 OS X: Add missing includes for recently introduced taskbar code 2016-03-25 18:06:21 +00:00
Thierry Crozat
d519dd8ec3 OS X: Implement a Dock Tile Plugin to display recent games menu in dock
This allows to start a recently played game directly from the dock. The
ScummVM.app application should have been permanently added to the
dock and the menu is only present when ScummVM is not running. The
list of recently played game is written by the taskbar code in ScummVM.
The Dock Tile Plugin only reads that list to populate the menu.
2016-03-25 15:37:13 +00:00
Thierry Crozat
2671918c92 OS X: Implement saving recent games list to user preferences 2016-03-25 15:37:04 +00:00
Johannes Schickel
8161effc68 OPENGL: Add assertions to check for valid attribute state. 2016-03-23 22:37:16 +01:00
Johannes Schickel
2ebffd2da5 OPENGL: Fix black screen for some GL implementations with shaders.
For compatibility location 0 is used to decide whether fixed function style
vertex information is used in old GL contexts. In some cases drivers might
assign the color information to be passed through attribute 0. This caused
the array attribute status for location 0 to be disabled and resulted in
wrong vertex data to be used.
2016-03-23 22:30:25 +01:00
Johannes Schickel
114ef5817f Merge pull request #711 from lordhoto/opengl-revamp
OpenGLGraphicsManager: Revamp
2016-03-23 15:55:55 +01:00
Johannes Schickel
99bb62f0e9 LINUX: Use classic major/minor macros.
Makes our Linux Audio CD code work with implementations without gnu_dev_major
and gnu_dev_minor too.
2016-03-21 04:42:13 +01:00
Johannes Schickel
5336882555 Merge pull request #704 from lordhoto/clone2727-audiocd
Implement Custom Audio CD Support for Win32, Linux, and Mac OS X.
2016-03-21 01:48:38 +01:00
Johannes Schickel
10d4d30628 Merge pull request #682 from lordhoto/savefilemanager-case-insensitive
ALL: Make SaveFileManager case insensitive.
2016-03-16 21:35:01 +01:00
Johannes Schickel
6b2424b635 OPENGL: Log extensions available on debuglevel 5+. 2016-03-16 21:03:43 +01:00
Johannes Schickel
b7a269947f OPENGL: Flag texture dirty on allocation. 2016-03-16 20:29:31 +01:00
Johannes Schickel
17b1124a5a OPENGL: Do not keep uniform state for nonexistent uniforms. 2016-03-16 20:29:31 +01:00
Johannes Schickel
1e1272a8c4 OPENGL: Store logical texture dimensions in GLTexture. 2016-03-16 20:29:31 +01:00
Johannes Schickel
2b3340474e OPENGL: Introduce convenience wrappers for get*Location in Shader. 2016-03-16 20:29:31 +01:00
Johannes Schickel
39100b6132 OPENGL: Do not hardcode any uniform/attribute handling in Shader. 2016-03-16 20:29:31 +01:00
Johannes Schickel
baca885cfc OPENGL: Let Shader store the uniform state. 2016-03-16 20:29:31 +01:00
Johannes Schickel
6dacc96d1f OPENGL: Only set projection matrix once on pipeline activation. 2016-03-16 20:29:31 +01:00
Johannes Schickel
8b80e9d36c OPENGL: Properly deactivate old pipeline. 2016-03-16 20:29:31 +01:00
Johannes Schickel
3f9852eb20 OPENGL: Make shader pipelines use fixed shaders. 2016-03-16 20:29:31 +01:00
Johannes Schickel
26f106497a OPENGL: Implement CLUT8 look up as Pipeline. 2016-03-16 20:29:30 +01:00
Johannes Schickel
8a4938f82b OPENGL: Move pipeline code to pipelines/. 2016-03-16 20:29:30 +01:00
Johannes Schickel
bec2088d6c OPENGL: Only allow Pipeline to switch active Framebuffers. 2016-03-16 20:29:30 +01:00
Johannes Schickel
ed6689d4fc OPENGL: Do not allow direct access to Context::activePipeline. 2016-03-16 20:29:27 +01:00
Johannes Schickel
b17c035642 OPENGL: Implement texture drawing in Pipeline instead of Surface. 2016-03-16 20:29:27 +01:00
Johannes Schickel
0fe580d10c OPENGL: Make shader/framebuffer part of pipeline state. 2016-03-16 20:29:27 +01:00
Johannes Schickel
0b46af2f0e OPENGL: Don't prefix maxTextureSize variable for consistency. 2016-03-16 20:29:27 +01:00
Johannes Schickel
c4e65732be OPENGL: Introduce abstraction for framebuffer.
This allows us to use various framebuffer settings easily. Now the GPU
accelerated CLUT8 surface implementation does not need to query former
framebuffer state anymore.
2016-03-16 20:29:26 +01:00
Johannes Schickel
5498982a37 OPENGL: Introduce ShaderManager to handle builtin shaders. 2016-03-16 20:29:26 +01:00
Johannes Schickel
f5f1b6eba0 OPENGL: Introduce pipeline abstraction to cleanup code. 2016-03-16 20:29:26 +01:00
Johannes Schickel
08553a09cf OPENGL: Support GLSL based CLUT8 look up for GLES2+. 2016-03-16 20:29:26 +01:00
Johannes Schickel
bf2735cd53 OPENGL: Detect NPOT support for GLES.
For GLES1+ there exists GL_OES_texture_npot, which indicates that there is
NPOT support.

GLES2 always had (limited) NPOT support, which is all we require, thus we
always enable it.
2016-03-16 20:29:26 +01:00
Johannes Schickel
18306ee206 OPENGL: Simplify shader support checks. 2016-03-16 20:29:26 +01:00
Johannes Schickel
397ce9b947 OPENGL: Keep feature state for all contexts and log them. 2016-03-16 20:29:26 +01:00
Johannes Schickel
2319fcd228 OPENGL: Handle GLES2 and GL shaders uniformly.
GLES2 requires precision qualifiers to be set and allows use of precision
qualifiers. For GLES2 we define a default precision now. Since precision
qualifiers are not supported in the GLSL version we use for GL, we
introduce compatibility #defines.
2016-03-16 20:29:26 +01:00
Johannes Schickel
e66e9e44d3 OPENGL: Accelerate palette lookups with shaders.
This currently is limited to GL contexts.
2016-03-16 20:29:26 +01:00
Johannes Schickel
de3846923c OPENGL: Introduce simple abstraction for surfaces.
This is basically an interface extracted from Texture without any knowledge
about any actual implementation, except for copyRectToTexture, fill, and
dirty rect handling. These are convenient helpers.
2016-03-16 20:29:26 +01:00
Johannes Schickel
8b0cf0c5f7 OPENGL: Cleanup. Remove Texture::getHardwareFormat. 2016-03-16 20:29:26 +01:00
Johannes Schickel
618adec7b0 OPENGL: Move color key handling for CLUT8 to TextureCLUT8. 2016-03-16 20:29:26 +01:00
Johannes Schickel
db2917dde5 OPENGL: Fix texture format for BGR565. 2016-03-16 20:29:26 +01:00
Johannes Schickel
9844d89231 OPENGL: Move max texture size information to Context. 2016-03-16 20:29:26 +01:00
Johannes Schickel
b081fe63e8 OPENGL: Create new abstraction for GL texture objects. 2016-03-16 20:29:26 +01:00
Johannes Schickel
5eb0ac0c9e OPENGL: Remove (some) unused GL definitions. 2016-03-16 20:29:26 +01:00
Johannes Schickel
b8d79261ed OPENGLSDL: Request "standard" GL contexts.
Compatibility profiles only exist in modern OpenGL and we request an ancient
version.
2016-03-16 20:29:26 +01:00
Johannes Schickel
8a3eecb73a OPENGL: Unify shader implementation for GL and GLES2. 2016-03-16 20:29:25 +01:00
Johannes Schickel
fc52f73050 OPENGL: Slightly cleanup programmable pipeline handling. 2016-03-16 20:29:25 +01:00
Johannes Schickel
c7c870bf7f OPENGL: (Partly) move context specific handling to Context.
This does not include (most) shader setup, and projection matrices yet.
2016-03-16 20:29:25 +01:00
Johannes Schickel
5752f125e1 OPENGL: Make Context::reset explicitly reset state. 2016-03-16 20:29:25 +01:00
Johannes Schickel
1802c939a1 OPENGL: Slight simplifcation for opengl-func.h usage. 2016-03-16 20:29:25 +01:00
Johannes Schickel
b7e64c6eeb OPENGLSDL: Destroy GL context on exit with SDL2. 2016-03-16 20:29:25 +01:00
Johannes Schickel
d029f16799 OPENGL: Handle destruction gracefully when no context is setup. 2016-03-16 20:29:25 +01:00
Johannes Schickel
fee1aa5502 OPENGL: Add support for shaders with GL contexts. 2016-03-16 20:29:25 +01:00
Johannes Schickel
19abd8ccbb OPENGL: Reset context description on context destroy. 2016-03-16 20:29:25 +01:00
Johannes Schickel
1c61e017a0 OPENGL: Reset full context structure. 2016-03-16 20:29:25 +01:00
Johannes Schickel
fe88375ff3 OPENGL: Support GLES2 contexts. 2016-03-16 20:29:25 +01:00
Johannes Schickel
e931018673 OPENGL: Typo. 2016-03-16 20:29:25 +01:00
Johannes Schickel
c5ce812711 OPENGL: Simplify orthogonal projection setup. 2016-03-16 20:29:25 +01:00
Johannes Schickel
67e2790beb OPENGLSDL: Slight cleanup. 2016-03-16 20:29:25 +01:00
Johannes Schickel
af727afe0c OPENGL: Simplify context type setting. 2016-03-16 20:29:25 +01:00
Johannes Schickel
da062ad1ea OPENGLSDL: Try to use GL(ES) context SDL2 defaults to. 2016-03-16 20:29:25 +01:00
Johannes Schickel
2277144623 OPENGL: Support RGB555 for OpenGL ES output.
This mode should *not* be used by any new engines/code. If someone is going
to use it and says it works with the OpenGL output, please make them wear a
red uniform and beam them onto a remote planet.
2016-03-16 20:29:25 +01:00
Johannes Schickel
d6d3e17d53 OPENGL: Allow runtime specification of OpenGL mode.
Formerly, we required that the OpenGL mode was fixed at compile time. Now we
allow the code to work with whatever it is given at runtime.

It is still possible to force a context type on compile time.
2016-03-16 20:29:25 +01:00
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
Eugene Sandulenko
2131023913 GCW0: Made packager reenterable 2016-02-24 23:23:02 +01:00
Eugene Sandulenko
22121c5104 GCW0: Disabling more features on GCW0 2016-02-24 23:23:02 +01:00
Eugene Sandulenko
6285d2f565 GCW0: Add release build script 2016-02-24 20:09:48 +01:00
Eugene Sandulenko
fe7ca47ed3 GCW0: Include free soundfont into release package 2016-02-24 19:00:41 +01:00
Johannes Schickel
22a60e6c0b WIN32: Fix plugin provider build for 64bit target. 2016-02-23 22:31:30 +01:00
Johannes Schickel
fd688b73d7 SDL: Work around bug #7038 by limiting mode reset to Win32.
Bug is: "IRIX: X BadMatch when trying to start any 640x480 game".

40e019efd4 introduced resetting the pixel depth
when unloading modes for SDL output. This was required to make mode listing
for OpenGL work on Win8+.

This causes issues on non-Win32 platforms though. SDL might not give us a valid
a pixel depth, causing the resetting to fail. A particular example is X11 on
IRIX, when only 16bit output modes work. Initially SDL tells us that the pixel
depth is 32bit. Trying to set this up causes a crash though.

Since there is no way to validate SDL's return value, we simply limit the reset
to platforms where it is actually required, i.e. Win32.
2016-02-17 16:17:39 +01:00
Johannes Schickel
4145109937 AMIGAOS: Fix native build breakage caused by indented comments in amigaos.mk.
As pointed out by Raziel^.
2016-02-17 12:37:36 +01:00
Hubert Maier
89e9a36af5 AMIGAOS: Fix 'amigaosdist' for in-tree builds on AmigaOS.
AmigaOS's Rexx interpreter seems to have problems with './' in the path to the
Rexx script. We work around this by copying it to the cwd and using it from
there.

Manual merge of PR #669 "AMIGAOS: Fix amigaos.mk to make the rexx script work
on local builds".
2016-02-17 11:58:48 +01:00
Jakub Wilk
d9b00eb3e6 I18N: Fix language code for Swedish
The language code for Swedish is "sv", not "se".
2016-02-15 21:18:53 +00:00
Jakub Wilk
a69526452d I18N: Fix country code for Denmark
The country code for Denmark is DK, not DA.
2016-02-15 21:17:13 +00:00
Eugene Sandulenko
6c895643aa Merge pull request #667 from a-detiste/master
JANITORIAL: Typos detected with lintian & grep
2016-02-15 18:31:50 +01:00
Alexandre Detiste
6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Eugene Sandulenko
39991ad4a5 GCW0: Fix virtual keyboard 2016-02-14 23:06:11 +01:00
Johannes Schickel
655f4dfedb WIN32: Fix compilation with MinGW-w64 based Win32 compiler. 2016-02-12 19:22:47 +01:00
Tarek Soliman
d61e365956 MAEMO: Add configure and make extra args env vars
This allows running "make -j4" and similar as part of dpkg-buildpackage
without editing the makefile.
2016-02-09 22:38:04 -06:00
Johannes Schickel
1b21b8b906 AMIGAOS: Fix 'amigaosdist' target for out-of-tree builds. 2016-02-06 17:46:05 +01:00
Eugene Sandulenko
0930018045 RELEASE: This is 1.9.0git 2016-02-05 23:31:25 +01:00
Tarek Soliman
f28ced2e96 MAEMO: Fix default bindings
This code depended on the off by one
bug fixed in 9b8b737
2016-02-05 01:06:54 -06:00
Johannes Schickel
687f6067f5 POSIX: Use XDG specification for default save path.
This is what the XDG Base Directory Specification suggests to use. We still
use ~/.scummvm as default path in case the directory exists.

This tackles an aspect of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
2622cded72 POSIX: Move assureDirectoryExists to posix-fs{.h,.cpp}. 2016-02-02 09:16:40 +01:00
Johannes Schickel
dde89c36f5 POSIX: Move default config file location to '$XDG_CONFIG_HOME/scummvm/scummvm.ini'.
This is what the XDG Base Directory Specification suggests to use. We still
use the old location of '~/.scummvmrc' in case that is present.

This tackles an aspect of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
79acfd28e9 POSIX: Use modern path for log file.
This makes use use the XDG Base Directory Specification for the log file path.
This tackles one part of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
b4e360188f POSIX: Restructure code in OSystem_POSIX::createLogFile. 2016-02-02 09:16:40 +01:00
Johannes Schickel
589c3046aa POSIX: Make assureDirectoryExists create full path if needed.
This is kind of like 'mkdir -p' now. But the permissions are different from
standard POSIX behavior.
2016-02-02 08:45:58 +01:00
Johannes Schickel
d8394d3f77 POSIX: Factor directory creation code into its own function. 2016-02-02 08:45:58 +01:00
Tarek Soliman
be2af06131 MAEMO: Update debian/changelog 2016-02-01 22:40:48 -06:00
Eugene Sandulenko
68ff933206 Merge pull request #657 from lordhoto/scumm-alt-x
ALL: Handle Alt-x internally in SCUMM.
2016-02-01 10:35:13 +01:00
Tarek Soliman
7b521edac7 MAEMO: Package missing engine-data files 2016-01-31 23:04:54 -06:00
Tarek Soliman
6b4255d8e8 MAEMO: Split packaging of engine-data into multiple lines 2016-01-31 23:04:41 -06:00
Johannes Schickel
24c6d50301 SDL: Don't mix our key code with SDL's.
This case for F# keys was forgotten to update in 8530997fff.
2016-02-01 02:23:55 +01:00
Hubert Maier
1c1d3f35eb AMIGAOS: amigaos.mk - Revert rx command line
rx doesn't find the program if "./" or 	${srcdir} is kept in front.
Probably a limitation of abc-shell...or rx
2016-01-30 01:14:28 +02:00
Hubert Maier
171a39d698 AMIGAOS: amigaos.mk path fixes 2016-01-30 00:33:17 +02:00
Johannes Schickel
94cd15bb3e SDL: Do not quit on Alt-x.
This was originally added in cbd867329e to
support this LucasArts game hotkey. However, Alt-x is used by other
engines as hotkey. Most notably AGI's Leisure Suit Larry in the Land of the
Lounge Lizards uses it to skip the age protection. Since we handle Alt-x
internally in SCUMM now there is no need to keep this around in our backend
code.
2016-01-29 23:19:08 +01:00
Hubert Maier
30094b9d9a AMIGAOS: Fix the exe paths and delete the guide after installing 2016-01-29 19:00:31 +02:00
Hubert Maier
2893d28700 AMIGAOS: Update amigaos.mk to automatically create an AmigaGuide file from README 2016-01-29 18:17:42 +02:00
Vincent Bénony
9a5143e080 IOS: Updates the compilation instructions 2016-01-11 16:44:20 +01:00
Johannes Schickel
afd4b82a8a IPHONE: Make includes match our style. 2016-01-07 12:44:48 +01:00
Johannes Schickel
f8ef5e2476 IOS7: Make includes match our style. 2016-01-07 12:44:48 +01:00
Johannes Schickel
3130b22fcb IOS7: Make filename style consistent in itself. 2016-01-07 12:44:48 +01:00
Johannes Schickel
8fc03872c4 IOS7: Use #include instead of #import.
We always use #include. #import is a nice ObjC feature (in theory), but can
lead to odd results in corner cases.
2016-01-07 12:44:48 +01:00
Johannes Schickel
17a57443ae IOS7: Use standard include guard names. 2016-01-07 12:44:48 +01:00
Johannes Schickel
bcaa725184 IOS7: Use our standard GPL headers. 2016-01-07 12:44:48 +01:00
Johannes Schickel
54f5c95832 COMMON: Make FSNode(AbstractFSNode *) private again.
This also fixes a memory leak in OSystem_iOS7::addSysArchivesToSearchSet.
2016-01-07 11:25:02 +01:00
Johannes Schickel
ca3c5a702f BACKENDS: Make ChRootFilesystemFactory's constructor explicit. 2016-01-07 10:58:26 +01:00
Johannes Schickel
48df726c9e BACKENDS: Let ChRootFilesystemFactory's constructor take a const String reference. 2016-01-07 10:57:46 +01:00
Johannes Schickel
557d58af8d BACKENDS: Make ChRootFilesystemFactory delcaration more consistent.
The make* factory functions are public in the base class, thus keep the
visibility the same.
2016-01-07 10:55:01 +01:00
Johannes Schickel
adaa1bcd8f BACKENDS: Move FIXME closer to ChRootFilesystemFactory. 2016-01-07 10:53:28 +01:00
Johannes Schickel
d13300ca22 BACKENDS: Fix include style in chroot-fs-factory.cpp. 2016-01-07 10:52:19 +01:00
Vincent Bénony
b5ef98637c IOS: Renames a macro 2016-01-07 09:55:56 +01:00
Vincent Bénony
89002d5cf6 IOS: Formatting 2016-01-06 16:20:30 +01:00
Vincent Bénony
1c515e90e2 IOS: Formatting 2016-01-06 16:20:30 +01:00
Vincent Bénony
16605a3e10 IOS: Moves the helper function were it is used. 2016-01-06 16:20:29 +01:00
Vincent Bénony
793acc0f2d IOS: Adds a warning regarding the usage of the ChRootFS class 2016-01-06 16:20:29 +01:00
Vincent Bénony
aa77c0c92d IOS: Disable scalers 2016-01-06 16:20:28 +01:00
Vincent Bénony
a522c82f85 IOS: Removes a useless variable 2016-01-06 16:20:28 +01:00
Vincent Bénony
efdb5679ce IOS: Merge branch 'master' into ios-fix 2016-01-06 16:20:23 +01:00
Vincent Bénony
64f50761ec IOS: Merge master 2016-01-06 16:19:03 +01:00
Vincent Bénony
fae79955e5 IOS: Better emulation of the right mouse button 2016-01-06 16:17:39 +01:00
Vincent Bénony
1657b9d432 IOS: Update compilation instructions for FluidSynth 2016-01-06 16:17:39 +01:00
Vincent Bénony
71b2fa9b49 IOS: Fixes an issue with the mouse pointer when returning from Sam&Max 2016-01-06 16:17:38 +01:00
Vincent Bénony
c99456ecff IOS: Brings support for FluidSynth 2016-01-06 16:17:38 +01:00
Vincent Bénony
8d9b13059b IOS: Updates compilation instructions 2016-01-06 16:17:38 +01:00
Vincent Bénony
dcfe197317 IOS: Info on Linux toolchain, and compilation instructions 2016-01-06 16:17:38 +01:00
Vincent Bénony
cfcd3842ed IOS: Adds iPhone 6/6+ launch screens 2016-01-06 16:17:37 +01:00
Vincent Bénony
7324f87b9a IOS: Switches to OpenGL ES 2.0 to ease debugging with Xcode 2016-01-06 16:17:37 +01:00
Vincent Bénony
c4b8db5589 IOS: Typo 2016-01-06 16:17:37 +01:00
Vincent Bénony
9b51cafc04 IOS: Updates compilation instructions 2016-01-06 16:17:37 +01:00
Vincent Bénony
80afba232a IOS: Implements scalers 2016-01-06 16:17:37 +01:00
Vincent Bénony
56ca0b9dc2 IOS: Scales the GUI for the iPad Pro 2016-01-06 16:17:37 +01:00
Vincent Bénony
14a0a3d032 IOS: Better resolution handling 2016-01-06 16:17:36 +01:00
Vincent Bénony
dd950fdb22 IOS: Removes a global variable 2016-01-06 16:17:35 +01:00
Vincent Bénony
dad50ae0cc IOS: Fixes memory leak 2016-01-06 16:17:35 +01:00
Vincent Bénony
c813e5d87e IOS: Move declarations in the common header file 2016-01-06 16:17:35 +01:00
Vincent Bénony
e9378ccf3e IOS: Avoid subclassing UIApplication, and handle multitasking 2016-01-06 16:17:35 +01:00
Vincent Bénony
5b15f06b92 IOS: Wrong deallocator called 2016-01-06 16:17:34 +01:00
Vincent Bénony
699c350481 IOS: Renames iOS7 classes to avoid confusion 2016-01-06 16:17:34 +01:00
Vincent Bénony
873e38372b IOS: Removes new generic syntax to be able to compile with older clang toolchain 2016-01-06 16:17:33 +01:00
Vincent Bénony
67ffd4b2bd IOS: Updates compilation instructions 2016-01-06 16:17:33 +01:00
Vincent Bénony
638dc113f8 IOS: Create two targets for old iPhone (iOS <= 6) and new one (iOS >= 7)
The "iphone" backend is the support for the old iPhones.
The "ios7" backend is for the new iPhones.
2016-01-06 16:17:33 +01:00
Vincent Bénony
124d37247b IOS: Remove extra comma 2016-01-06 16:17:33 +01:00
Vincent Bénony
de6e78eecd IOS: Fixes a typo 2016-01-06 16:17:32 +01:00
Vincent Bénony
3b5d14b51a ISO: Updates instructions for command line compilation 2016-01-06 16:17:31 +01:00
Vincent Bénony
4713f76802 IOS: Clean the path of the Savegames directory 2016-01-06 16:17:31 +01:00
Vincent Bénony
e9934b8cc4 IOS: Fixes a crash on startup on iOS 7 2016-01-06 16:17:31 +01:00
Vincent Bénony
c1e664b6d6 IOS: Replaces spaces with tabs 2016-01-06 16:17:31 +01:00
Vincent Bénony
106e3a87bd IOS: Updates the compilation instructions 2016-01-06 16:17:31 +01:00