Commit Graph
8933 Commits
Author SHA1 Message Date
Alexander Tkachev 2ac2816d68 CLOUD: Refactor SimpleJSON 2016-08-24 16:05:07 +06:00
Alexander Tkachev a7fb8c72ab CLOUD: SimpleJSON refactor
Resharper + manual methods & fields renaming.
2016-08-24 16:05:07 +06:00
Alexander Tkachev 79e6368b42 CLOUD: Add SimpleJSON library (module.mk hotfix)
Forgot to edit those.
2016-08-24 16:05:07 +06:00
Alexander Tkachev 8429c40362 CLOUD: Add SimpleJSON library as Common::JSON
This commit also adds CloudThread class, which work() method is called
every second by TimerManager.

Right now it prints JSON examples on the console, so that's why it's
introduced with SimpleJSON library.
2016-08-24 16:05:07 +06:00
Tarek Soliman ad8cd2e52d SDL: Fix build with MacPorts SDL2 2016-08-20 22:33:51 -05:00
Willem Jan Palenstijn 68a15c10be Merge pull request #790 from salty-horse/clang_fixes
ALL: Don't use 'defined' in macro definitions
2016-08-13 11:57:39 +02:00
Alyssa Milburn 13d0ec9bea POSIX: Add #ifdef guards for DATA_PATH.
Thanks to snover for pointing out they should be there.
2016-08-04 16:19:13 +02:00
Eugene Sandulenko cb195a813b DC: Fix compilation 2016-08-04 13:08:25 +02:00
Eugene Sandulenko a4d39b2385 N64: Added pos() method to another save class 2016-08-04 13:05:15 +02:00
Eugene Sandulenko d111b16adc N64: Fix warning 2016-08-04 12:49:44 +02:00
Eugene Sandulenko eedd1286ff N64: Fix build adter WriteStream::pos() addition 2016-08-04 12:48:52 +02:00
Alexander Tkachev 2597be210d BACKENDS: Fix DC's OutVMSave to have pos() 2016-08-04 17:45:49 +06:00
Eugene Sandulenko 45e82b55fc Merge pull request #795 from fuzzie/snap
POSIX: Add $SNAP to search path if available.
2016-08-02 00:06:41 +03:00
Alyssa Milburn 87818fe63a POSIX: Add $SNAP to search path if available.
This allows ScummVM to find data files while running in a snap (e.g.
from the new Ubuntu store).
2016-07-29 11:45:14 +02:00
Bastien Bouclet ad3ab61241 COMMON: Remove the EventRecorder dependency from OSystem
EventRecorder is in the gui lib which is not linked in the cxxtest suite.
2016-07-28 18:23:46 +02:00
Bastien Bouclet a6efdf6422 SDL: Disable keycode remapping when building for WinCE
WinCE does not have MapVirtualKey.
2016-07-25 23:09:32 +02:00
Filippos Karapetis c11cf08745 Merge pull request #782 from bgK/sdl-win32-keycode
SDL: Fix Windows SDL1 keycodes to use the active keyboard layout
2016-07-25 23:06:10 +03:00
Bastien Bouclet 914996b5a6 SDL: Fix Windows SDL1 keycodes to use the active keyboard layout 2016-07-25 13:10:51 +02:00
Vincent Pelletier 33036790cb SDL: Accept 32bits video mode.
Now that TinyGL supports 32bits final framebuffer.
In SDL1, let SDL decide between 16 and 32.
In SDL2, create 32bits texture & surface.
2016-07-24 02:35:53 +02:00
Ori Avtalion 4d120800fa ALL: Don't use 'defined' in macro definitions
This is undefined behavior and clang warns about it.
See <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html>.
2016-07-23 16:18:51 +03:00
Bastien Bouclet a0dad6c8c7 Revert "SDL: Use consistent mouse grabbing API when building with SDL2"
This reverts commit 74e99a8a62.
2016-07-22 21:18:39 +02:00
Bastien Bouclet 74e99a8a62 SDL: Use consistent mouse grabbing API when building with SDL2
SDL_SetWindowGrab is also used by SdlWindow::toggleMouseGrab.
Fixes the mouse cursor visibility in the GMM in Myst III.
2016-07-22 20:44:33 +02:00
Bastien Bouclet f8cce66926 SDL: Improve code organisation and documentation
No functional change
2016-07-14 12:04:06 +02:00
Bastien Bouclet 5b927c06f1 SDL: Ony perform framebuffer detection once on startup 2016-07-14 12:04:06 +02:00
Bastien Bouclet 2141277df9 SDL: Detect the desktop resolution earlier
So that nothing has a chance to change it beforehand.
2016-07-14 12:04:05 +02:00
Bastien Bouclet 8927dcdcf6 SDL: Rewrite OpenGL overlay handling to use TiledSurface 2016-07-14 12:03:38 +02:00
Bastien Bouclet 287f97228f BACKENDS: Make suggestSideTextures go through GraphicsManager 2016-07-14 12:02:55 +02:00
Bastien Bouclet 911e0e3915 BACKENDS: Remove launcherInitSize from GraphicsManager 2016-07-14 12:02:55 +02:00
Bastien Bouclet f9a7f37579 SDL: Remove the OpenGL suffix from some method names 2016-07-14 12:02:55 +02:00
Bastien Bouclet 52f2dfc869 SDL: Split the GraphicsManager into Surface and OpenGL 2016-07-14 12:02:51 +02:00
Colin Snover 1c0c540fa7 MACOS: Use 'unsigned int' instead of NSUInteger
NSUInteger apparently does not exist until macOS 10.5, but
buildbot targets 10.4.
2016-07-10 11:46:32 -05:00
Colin Snover c294e4fbf8 MACOS: Fix sign comparison 2016-07-10 10:50:05 -05:00
Martin Kiewitz f5ed14e93d 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 20:36:27 +02: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
Bastien Bouclet a381ef0530 SDL: Add forbidden symbol exceptions for building on OSX with SDL2
This is suspicious. Check me.
2016-06-23 21:18:03 +02:00
Bastien Bouclet 40e76b4cdd SDL: Add initial support for building with SDL2 2016-06-12 20:39:47 +02:00
Bastien Bouclet 9b0f37993c SDL: Don't use the screen buffer in OpenGL mode
It makes no sense, and SDL2 does not provide one.
2016-06-12 20:17:57 +02:00
Bastien Bouclet d4ce2d8c50 SDL: Attempt to fix build on AmigaOS 2016-06-12 20:14:59 +02:00
Bastien Bouclet 9c0950f76c SDL: Fix build for platforms with incomplete OpenGL headers 2016-06-12 20:08:05 +02:00
Bastien Bouclet fe4aac9ada Merge pull request #1250 from bgK/wip-multisampling
Multisampling for framebuffers
2016-06-12 19:53:14 +02:00
Bastien Bouclet 87ceda2324 SDL: Don't try to draw the SubScreen if it's null
Also simplify the closeOverlay method. This has the side effect of properly freeing
SubScreen when building without OpenGL.
2016-06-11 13:32:04 +02:00
Bastien Bouclet 5ae1e3a01c OPENGL: Honor the configured MSAA samples for FBOs 2016-06-11 13:12:37 +02:00
Dries Harnie be5202d11d OPENGL: Multisampling for framebuffers (SDL) 2016-06-11 13:12:37 +02:00
Bastien Bouclet 3e0136160d SDL: Don't enable screen level multisampling when rendering to a FBO 2016-06-11 13:12:37 +02:00
Bastien Bouclet 992106596c SDL: Rework OpenGL window creation
The new implementation builds a list of suitable OpenGL context properties,
sorted by preference.
The context creation goes through that list and stops at the first successfully
created context.
2016-06-11 13:12:30 +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